Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008431/0.0008431, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0007858/0.0007858, allocations: 165.9 kB / 22.45 MB, free: 2.109 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8727/0.8727, allocations: 177.2 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.744/1.744, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart,fileNamePrefix="Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.003e-06/2.003e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.23e-05, allocations: 4.812 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart): time 0.00256/0.002582, allocations: 1.471 MB / 1.001 GB, free: 12 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0003207/0.002903, allocations: 188 kB / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.286e-05/0.002936, allocations: 0 / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.00296, allocations: 0 / 1.001 GB, free: 11.82 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 0.0001975/0.003157, allocations: 19.84 kB / 1.001 GB, free: 11.8 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.003299, allocations: 61.55 kB / 1.001 GB, free: 11.74 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 8.295e-05/0.003382, allocations: 55.84 kB / 1.001 GB, free: 11.68 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.772e-05/0.003469, allocations: 11.98 kB / 1.001 GB, free: 11.67 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 6.489e-05/0.003534, allocations: 39.91 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.355e-05/0.003598, allocations: 15.97 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.526e-05/0.003623, allocations: 8 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 9.808e-06/0.003633, allocations: 4 kB / 1.002 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.003656, allocations: 23.91 kB / 1.002 GB, free: 11.58 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 3.372e-05/0.00369, allocations: 8 kB / 1.002 GB, free: 11.57 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 9.504e-05/0.003785, allocations: 67.77 kB / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.003787, allocations: 0 / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.001e-06/0.003788, allocations: 0 / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.238e-06/0.003792, allocations: 0 / 1.002 GB, free: 11.51 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004253/0.004217, allocations: 288.5 kB / 1.002 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.858e-05/0.004256, allocations: 9.344 kB / 1.002 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.878e-05/0.004285, allocations: 30.75 kB / 1.002 GB, free: 11.15 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.876e-05/0.004313, allocations: 12.83 kB / 1.002 GB, free: 11.14 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.083e-05/0.004394, allocations: 105.8 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.004407, allocations: 4.375 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.566e-06/0.004415, allocations: 4.375 kB / 1.002 GB, free: 11 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.004552, allocations: 136.2 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.869e-06/0.004562, allocations: 4.188 kB / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.004572, allocations: 384 / 1.002 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.004577, allocations: 4.125 kB / 1.002 GB, free: 10.83 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.211e-05/0.004619, allocations: 19.94 kB / 1.002 GB, free: 10.81 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003529/0.004972, allocations: 255.9 kB / 1.002 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.367e-05/0.005066, allocations: 42.56 kB / 1.002 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.297e-05/0.005099, allocations: 16.8 kB / 1.002 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.002e-05/0.005109, allocations: 4 kB / 1.003 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001332/0.005242, allocations: 71.42 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=5): time 1.843e-06/0.005244, allocations: 3.984 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5): time 0.0001652/0.005409, allocations: 73.67 kB / 1.003 GB, free: 10.28 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.005462, allocations: 114.8 kB / 1.003 GB, free: 10.14 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.783e-05/0.00552, allocations: 105.8 kB / 1.003 GB, free: 10.03 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.297e-05/0.005533, allocations: 25.7 kB / 1.003 GB, free: 10 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.81e-05/0.005571, allocations: 92.09 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.005587, allocations: 7.891 kB / 1.003 GB, free: 9.898 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.344e-05/0.005621, allocations: 33.64 kB / 1.003 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 6.871e-05/0.005689, allocations: 314.8 kB / 1.003 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.416e-05/0.005714, allocations: 15.98 kB / 1.003 GB, free: 9.527 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.343e-05/0.005767, allocations: 93.97 kB / 1.003 GB, free: 9.414 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.492e-05/0.005812, allocations: 28.86 kB / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.005814, allocations: 0 / 1.003 GB, free: 9.383 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7) (initialization): time 7.887e-05/0.005893, allocations: 81.67 kB / 1.004 GB, free: 9.297 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.005905, allocations: 8 kB / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.757e-06/0.005909, allocations: 0 / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.589e-06/0.005918, allocations: 0 / 1.004 GB, free: 9.289 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.885e-05/0.005977, allocations: 11.92 kB / 1.004 GB, free: 9.277 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.005982, allocations: 4 kB / 1.004 GB, free: 9.273 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.174e-05/0.006044, allocations: 11.92 kB / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.432e-06/0.006051, allocations: 0 / 1.004 GB, free: 9.262 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conTim.k,$PRE.conTim.k,conTim.tNext,$PRE.conTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.166e-05/0.006112, allocations: 113.8 kB / 1.004 GB, free: 9.141 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.708e-06/0.006122, allocations: 15.89 kB / 1.004 GB, free: 9.125 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.814e-05/0.00614, allocations: 7.812 kB / 1.004 GB, free: 9.113 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.006142, allocations: 4 kB / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.006146, allocations: 0 / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.006149, allocations: 0 / 1.004 GB, free: 9.109 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.897e-05/0.006228, allocations: 136.7 kB / 1.004 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.006229, allocations: 0 / 1.004 GB, free: 8.934 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.258e-05/0.006241, allocations: 4 kB / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.006243, allocations: 0.5 kB / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.006249, allocations: 0 / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.00625, allocations: 0 / 1.004 GB, free: 8.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.006252, allocations: 12 kB / 1.004 GB, free: 8.918 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.178e-05/0.006344, allocations: 101 kB / 1.004 GB, free: 8.801 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 2.584e-05/0.006369, allocations: 7.953 kB / 1.004 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.006382, allocations: 3.984 kB / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.503e-05/0.006427, allocations: 9.562 kB / 1.004 GB, free: 8.781 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.006453, allocations: 7.984 kB / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.006458, allocations: 4 kB / 1.004 GB, free: 8.77 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.079e-05/0.006489, allocations: 87.27 kB / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6.1e-08/0.006489, allocations: 0 / 1.004 GB, free: 8.684 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001304/0.00662, allocations: 15.94 kB / 1.004 GB, free: 8.668 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,conTim.tNext,conTim.k) * Number of discrete states: 2 (conTim.k,conTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000263/0.006883, allocations: 0.6358 MB / 1.005 GB, free: 8.004 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.601e-05/0.006979, allocations: 28 kB / 1.005 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.00698, allocations: 7.938 kB / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 2.768e-05/0.007008, allocations: 19.92 kB / 1.005 GB, free: 7.949 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001119/0.00712, allocations: 4 kB / 1.005 GB, free: 7.945 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001017/0.008137, allocations: 1.219 MB / 1.006 GB, free: 6.641 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.713e-05/0.008174, allocations: 67.33 kB / 1.006 GB, free: 6.555 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.139e-05/0.008206, allocations: 12 kB / 1.006 GB, free: 6.543 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.532e-05/0.008241, allocations: 12.5 kB / 1.006 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of SimCode: time 4.91e-07/0.008242, allocations: 0 / 1.006 GB, free: 6.531 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01572/0.02397, allocations: 2.563 MB / 1.009 GB, free: 4.188 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.621/6.645, allocations: 0 / 1.009 GB, free: 4.188 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat --tempDir=temp_Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart_fmu --startTime=4.71744e+07 --stopTime=1.26144e+08 --stepSize=31587.8 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.fmu > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_ConvertTimePositiveStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.ConvertTimePositiveStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.62871095072478]