Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.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.001764/0.001764, allocations: 97.11 kB / 19.7 MB, free: 2.129 MB / 14.72 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.002304/0.002304, allocations: 209.9 kB / 23 MB, free: 4.934 MB / 14.72 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 1.555/1.555, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.438/3.438, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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: translateModel(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3361,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") translateModel(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom,tolerance=1e-06,outputFormat="mat",numberOfIntervals=3361,variableFilter="time|TAmb.y|onOffCon.u|pyt.yR.2.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002014/0.002014, allocations: 70.05 kB / 1.155 GB, free: 25.1 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4457/0.4477, allocations: 176.1 MB / 1.327 GB, free: 0.9375 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom): time 0.004213/0.452, allocations: 1.818 MB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003422/0.4554, allocations: 1.714 MB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001568/0.4555, allocations: 7.938 kB / 1.331 GB, free: 13.38 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.000248/0.4558, allocations: 23.8 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.000171/0.456, allocations: 23.78 kB / 1.331 GB, free: 13.34 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.001017/0.457, allocations: 259.2 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0004184/0.4574, allocations: 255.4 kB / 1.331 GB, free: 12.83 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001791/0.4576, allocations: 49.64 kB / 1.331 GB, free: 12.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002842/0.4579, allocations: 107.7 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.4581, allocations: 87.66 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.994e-05/0.4581, allocations: 16 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000503/0.4586, allocations: 243.6 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.4587, allocations: 75.81 kB / 1.332 GB, free: 12.26 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001142/0.4588, allocations: 79.58 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0007262/0.4596, allocations: 406.5 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.4596, allocations: 0 / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.673e-06/0.4596, allocations: 0 / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.4596, allocations: 0 / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 42 * Number of variables: 42 Notification: Performance of Generate backend data structure: time 0.001134/0.4607, allocations: 0.4929 MB / 1.333 GB, free: 11.26 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.414e-05/0.4608, allocations: 12.03 kB / 1.333 GB, free: 11.25 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002114/0.461, allocations: 36.78 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004691/0.4615, allocations: 199.7 kB / 1.333 GB, free: 10.99 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.327e-05/0.4615, allocations: 20.38 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.689e-05/0.4615, allocations: 23.94 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004316/0.462, allocations: 209.1 kB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/0.462, allocations: 0 / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.036e-05/0.462, allocations: 11.98 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/0.462, allocations: 4 kB / 1.333 GB, free: 10.72 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002793/0.4623, allocations: 119.9 kB / 1.333 GB, free: 10.6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.4637, allocations: 491.6 kB / 1.334 GB, free: 10.09 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000387/0.4641, allocations: 190.6 kB / 1.334 GB, free: 9.895 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001742/0.4642, allocations: 92.75 kB / 1.334 GB, free: 9.801 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.4643, allocations: 11.94 kB / 1.334 GB, free: 9.789 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003091/0.4646, allocations: 168.7 kB / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of pre-optimization done (n=27): time 2.054e-06/0.4646, allocations: 0 / 1.334 GB, free: 9.613 MB / 1.029 GB Notification: Performance of matching and sorting (n=27): time 0.0007903/0.4654, allocations: 380.4 kB / 1.334 GB, free: 9.238 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.503e-05/0.4654, allocations: 71.33 kB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001868/0.4656, allocations: 174.7 kB / 1.335 GB, free: 8.973 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.995e-05/0.4657, allocations: 49.69 kB / 1.335 GB, free: 8.918 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001052/0.4658, allocations: 125 kB / 1.335 GB, free: 8.789 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 9.203e-05/0.4659, allocations: 91.36 kB / 1.335 GB, free: 8.699 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001322/0.466, allocations: 82.12 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001658/0.4662, allocations: 338.8 kB / 1.335 GB, free: 8.273 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002354/0.4664, allocations: 112.8 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.4668, allocations: 279.2 kB / 1.336 GB, free: 7.824 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005521/0.4673, allocations: 367.9 kB / 1.336 GB, free: 7.406 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.153e-06/0.4673, allocations: 4 kB / 1.336 GB, free: 7.402 MB / 1.029 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007249/0.4681, allocations: 428.8 kB / 1.336 GB, free: 6.977 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.914e-05/0.4681, allocations: 8 kB / 1.336 GB, free: 6.969 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.4681, allocations: 4 kB / 1.336 GB, free: 6.965 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.274e-05/0.4681, allocations: 8.469 kB / 1.336 GB, free: 6.957 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002208/0.4683, allocations: 63.84 kB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.146e-05/0.4683, allocations: 11.98 kB / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000158/0.4685, allocations: 35.78 kB / 1.337 GB, free: 6.848 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.09e-05/0.4685, allocations: 16 kB / 1.337 GB, free: 6.832 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 34 (pyt.firstTrigger,$PRE.pyt.firstTrigger,pyt.yR[2],$PRE.pyt.yR[2],pyt.uRIntPre[1],$PRE.pyt.uRIntPre[1],pyt.uRIntPre[2],$PRE.pyt.uRIntPre[2],pyt.uRIntPre[3],$PRE.pyt.uRIntPre[3],pyt.uRIntPre[4],$PRE.pyt.uRIntPre[4],pyt.uRWri_temp[1],$PRE.pyt.uRWri_temp[1],pyt.uRWri[1],$PRE.pyt.uRWri[1],pyt.uRWri_temp[4],$PRE.pyt.uRWri_temp[4],pyt.uRWri[4],$PRE.pyt.uRWri[4],pyt.sampleTrigger,$whenCondition1,pyt.uRWri_temp[2],$PRE.pyt.uRWri_temp[2],pyt.uRWri[2],$PRE.pyt.uRWri[2],onOffCon.y,$PRE.onOffCon.y,pyt.uRWri_temp[3],$PRE.pyt.uRWri_temp[3],pyt.uRWri[3],$PRE.pyt.uRWri[3],pyt.yR[1],$PRE.pyt.yR[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 51 * 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 0.0002085/0.4687, allocations: 180.3 kB / 1.337 GB, free: 6.645 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.733e-05/0.4688, allocations: 35.77 kB / 1.337 GB, free: 6.609 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.773e-05/0.4688, allocations: 14.66 kB / 1.337 GB, free: 6.598 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.4688, allocations: 4 kB / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.4688, allocations: 0 / 1.337 GB, free: 6.594 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 3.149e-05/0.4689, allocations: 23.78 kB / 1.337 GB, free: 6.57 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.143e-05/0.4689, allocations: 15.98 kB / 1.337 GB, free: 6.555 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.469, allocations: 12.17 kB / 1.337 GB, free: 6.543 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.536e-05/0.4691, allocations: 19.97 kB / 1.337 GB, free: 6.523 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0006664/0.4698, allocations: 415 kB / 1.337 GB, free: 6.113 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008872/0.4707, allocations: 0.6202 MB / 1.338 GB, free: 5.477 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001955/0.4709, allocations: 95.94 kB / 1.338 GB, free: 5.383 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001056/0.471, allocations: 128.2 kB / 1.338 GB, free: 5.258 MB / 1.029 GB Notification: Performance of Backend: time 4.3e-07/0.471, allocations: 0 / 1.338 GB, free: 5.258 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001591/0.4725, allocations: 499.7 kB / 1.339 GB, free: 4.84 MB / 1.029 GB Notification: Performance of SimCode: time 0.001109/0.4737, allocations: 0.8645 MB / 1.339 GB, free: 3.93 MB / 1.029 GB Notification: Performance of Templates: time 0.008981/0.4826, allocations: 3.875 MB / 1.343 GB, free: 112 kB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.sim & ./Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Python_3_8_Examples_SimpleRoom.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.Python_3_8.Examples.SimpleRoom.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: 9.958372057997622]