Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.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.001579/0.001579, 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.001764/0.001764, allocations: 211.8 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.108/3.108, allocations: 0.49 GB / 0.7959 GB, free: 35.41 MB / 0.6231 GB " [Timeout remaining time 177] 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.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|pow_2dat.V_flow|pow_1dat.V_flow|pow_V_flow.V_flow|pow_m_flow.V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw") [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.002045/0.002045, allocations: 70.28 kB / 1.155 GB, free: 25.24 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3322, allocations: 176.1 MB / 1.327 GB, free: 1.016 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2145/0.5467, allocations: 170.5 MB / 1.494 GB, free: 5.91 MB / 1.186 GB Notification: Performance of NFInst.instExpressions: time 0.006695/0.5534, allocations: 3.803 MB / 1.497 GB, free: 2.102 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007225/0.5541, allocations: 23.81 kB / 1.497 GB, free: 2.078 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.001274/0.5554, allocations: 453.1 kB / 1.498 GB, free: 1.633 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.004025/0.5594, allocations: 1.559 MB / 1.499 GB, free: 68 kB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.003774/0.5632, allocations: 1.398 MB / 1.501 GB, free: 14.67 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.002429/0.5656, allocations: 1.631 MB / 1.502 GB, free: 13.03 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001152/0.5668, allocations: 0.8422 MB / 1.503 GB, free: 12.18 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001988/0.5687, allocations: 1.125 MB / 1.504 GB, free: 11.05 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.57, allocations: 0.9111 MB / 1.505 GB, free: 10.13 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.0001634/0.5702, allocations: 96 kB / 1.505 GB, free: 10.04 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002284/0.5725, allocations: 1.102 MB / 1.506 GB, free: 8.934 MB / 1.201 GB Notification: Performance of NFScalarize.scalarize: time 0.0004751/0.5729, allocations: 374.8 kB / 1.507 GB, free: 8.566 MB / 1.201 GB Notification: Performance of NFVerifyModel.verify: time 0.0005166/0.5735, allocations: 454.2 kB / 1.507 GB, free: 8.121 MB / 1.201 GB Notification: Performance of NFConvertDAE.convert: time 0.002547/0.576, allocations: 1.643 MB / 1.509 GB, free: 6.473 MB / 1.201 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.576, allocations: 0 / 1.509 GB, free: 6.473 MB / 1.201 GB Notification: Performance of FrontEnd: time 1.472e-06/0.576, allocations: 0 / 1.509 GB, free: 6.473 MB / 1.201 GB Notification: Performance of Transformations before backend: time 1.16e-05/0.576, allocations: 0 / 1.509 GB, free: 6.473 MB / 1.201 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.003142/0.5792, allocations: 1.192 MB / 1.51 GB, free: 5.242 MB / 1.201 GB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.5792, allocations: 8.031 kB / 1.51 GB, free: 5.234 MB / 1.201 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00176/0.581, allocations: 239.2 kB / 1.51 GB, free: 5 MB / 1.201 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.5821, allocations: 0.5538 MB / 1.511 GB, free: 4.414 MB / 1.201 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.721e-05/0.5821, allocations: 37 kB / 1.511 GB, free: 4.379 MB / 1.201 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001336/0.5822, allocations: 55.98 kB / 1.511 GB, free: 4.324 MB / 1.201 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.584, allocations: 1.05 MB / 1.512 GB, free: 3.195 MB / 1.201 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.584, allocations: 7.938 kB / 1.512 GB, free: 3.188 MB / 1.201 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.007e-05/0.5841, allocations: 23.98 kB / 1.512 GB, free: 3.164 MB / 1.201 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.707e-05/0.5842, allocations: 28 kB / 1.512 GB, free: 3.137 MB / 1.201 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0018/0.586, allocations: 1.003 MB / 1.513 GB, free: 2.133 MB / 1.201 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005678/0.5916, allocations: 3.596 MB / 1.516 GB, free: 14.43 MB / 1.217 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001122/0.5928, allocations: 0.5614 MB / 1.517 GB, free: 13.86 MB / 1.217 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008493/0.5936, allocations: 493.8 kB / 1.517 GB, free: 13.37 MB / 1.217 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007675/0.5944, allocations: 136.3 kB / 1.517 GB, free: 13.24 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.217e-05/0.5944, allocations: 39 kB / 1.517 GB, free: 13.19 MB / 1.217 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002519/0.5969, allocations: 0.6167 MB / 1.518 GB, free: 12.57 MB / 1.217 GB Notification: Performance of pre-optimization done (n=50): time 4.107e-06/0.5969, allocations: 0 / 1.518 GB, free: 12.57 MB / 1.217 GB Notification: Performance of matching and sorting (n=50): time 0.01856/0.6155, allocations: 3.652 MB / 1.522 GB, free: 8.906 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.6155, allocations: 63.78 kB / 1.522 GB, free: 8.832 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007698/0.6163, allocations: 0.5665 MB / 1.522 GB, free: 8.254 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0001067/0.6164, allocations: 33.7 kB / 1.522 GB, free: 8.215 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002754/0.6167, allocations: 333.1 kB / 1.522 GB, free: 7.883 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001991/0.6169, allocations: 186.4 kB / 1.523 GB, free: 7.699 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002698/0.6172, allocations: 150 kB / 1.523 GB, free: 7.547 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 0.0001943/0.6174, allocations: 374.8 kB / 1.523 GB, free: 7.172 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006656/0.618, allocations: 396.8 kB / 1.524 GB, free: 6.785 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007879/0.6188, allocations: 0.5237 MB / 1.524 GB, free: 6.223 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001526/0.6203, allocations: 0.9219 MB / 1.525 GB, free: 5.273 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.6203, allocations: 0 / 1.525 GB, free: 5.273 MB / 1.217 GB Notification: Performance of matching and sorting (n=60) (initialization): time 0.01209/0.6324, allocations: 2.541 MB / 1.527 GB, free: 2.715 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.365e-05/0.6325, allocations: 8 kB / 1.527 GB, free: 2.707 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.6325, allocations: 4 kB / 1.527 GB, free: 2.703 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01014/0.6426, allocations: 1.726 MB / 1.529 GB, free: 0.9688 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005139/0.6431, allocations: 91.88 kB / 1.529 GB, free: 0.8789 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0137/0.6568, allocations: 6.832 MB / 1.536 GB, free: 9.832 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007938/0.6576, allocations: 16.06 kB / 1.536 GB, free: 9.816 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001086/0.6577, allocations: 51.86 kB / 1.536 GB, free: 9.766 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(5,3,92.0%), (5,3,92.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003981/0.6581, allocations: 213.7 kB / 1.536 GB, free: 9.547 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001919/0.6583, allocations: 79.53 kB / 1.536 GB, free: 9.469 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005426/0.6637, allocations: 1.707 MB / 1.538 GB, free: 7.75 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.6638, allocations: 3.984 kB / 1.538 GB, free: 7.746 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-06/0.6638, allocations: 0 / 1.538 GB, free: 7.746 MB / 1.232 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005903/0.6643, allocations: 147.3 kB / 1.538 GB, free: 7.602 MB / 1.232 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001145/0.6645, allocations: 12 kB / 1.538 GB, free: 7.59 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005425/0.665, allocations: 19.98 kB / 1.538 GB, free: 7.57 MB / 1.232 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001693/0.6652, allocations: 60.52 kB / 1.538 GB, free: 7.512 MB / 1.232 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003523/0.6687, allocations: 1.318 MB / 1.539 GB, free: 6.18 MB / 1.232 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002453/0.6711, allocations: 1.482 MB / 1.541 GB, free: 4.676 MB / 1.232 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006371/0.6718, allocations: 377 kB / 1.541 GB, free: 4.305 MB / 1.232 GB Notification: Performance of sorting global known variables: time 0.0005804/0.6724, allocations: 399.1 kB / 1.542 GB, free: 3.918 MB / 1.232 GB Notification: Performance of Backend: time 3.4e-07/0.6724, allocations: 4 kB / 1.542 GB, free: 3.914 MB / 1.232 GB Notification: Performance of simCode: created initialization part: time 0.00448/0.6768, allocations: 1.4 MB / 1.543 GB, free: 2.477 MB / 1.232 GB Notification: Performance of SimCode: time 0.003216/0.6801, allocations: 2.165 MB / 1.545 GB, free: 284 kB / 1.232 GB Notification: Performance of Templates: time 0.03471/0.7148, allocations: 21.98 MB / 1.567 GB, free: 10.55 MB / 1.264 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.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.50919378799881]