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.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001956/0.001956, allocations: 113.9 kB / 18.94 MB, free: 2.93 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002565/0.002565, allocations: 190.6 kB / 22.22 MB, free: 5.105 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.449/1.449, allocations: 225.6 MB / 251 MB, free: 13.05 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.173/3.173, allocations: 496 MB / 0.7835 GB, free: 33.72 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo)
Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo)
Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo)
Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.00201/0.00201, allocations: 64.48 kB / 1.138 GB, free: 33.79 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3288/0.3308, allocations: 173.6 MB / 1.307 GB, free: 1.836 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.2368/0.5676, allocations: 193.7 MB / 1.496 GB, free: 15.38 MB / 1.201 GB
Notification: Performance of NFInst.instExpressions: time 0.006817/0.5744, allocations: 4.043 MB / 1.5 GB, free: 11.33 MB / 1.201 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0006574/0.5751, allocations: 23.81 kB / 1.5 GB, free: 11.31 MB / 1.201 GB
Notification: Performance of NFTyping.typeComponents: time 0.001312/0.5764, allocations: 493 kB / 1.501 GB, free: 10.82 MB / 1.201 GB
Notification: Performance of NFTyping.typeBindings: time 0.003844/0.5803, allocations: 1.602 MB / 1.502 GB, free: 9.215 MB / 1.201 GB
Notification: Performance of NFTyping.typeClassSections: time 0.003787/0.584, allocations: 1.415 MB / 1.504 GB, free: 7.801 MB / 1.201 GB
Notification: Performance of NFFlatten.flatten: time 0.002765/0.5868, allocations: 1.643 MB / 1.505 GB, free: 6.152 MB / 1.201 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.001298/0.5881, allocations: 0.8344 MB / 1.506 GB, free: 5.301 MB / 1.201 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.002274/0.5904, allocations: 1.121 MB / 1.507 GB, free: 4.176 MB / 1.201 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.5918, allocations: 0.8995 MB / 1.508 GB, free: 3.273 MB / 1.201 GB
Notification: Performance of NFPackage.collectConstants: time 0.0001761/0.592, allocations: 100 kB / 1.508 GB, free: 3.176 MB / 1.201 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.002749/0.5947, allocations: 1.403 MB / 1.51 GB, free: 1.77 MB / 1.201 GB
Notification: Performance of NFScalarize.scalarize: time 0.0004482/0.5952, allocations: 370.8 kB / 1.51 GB, free: 1.406 MB / 1.201 GB
Notification: Performance of NFVerifyModel.verify: time 0.0006748/0.5958, allocations: 0.5173 MB / 1.511 GB, free: 0.8867 MB / 1.201 GB
Notification: Performance of NFConvertDAE.convert: time 0.002863/0.5987, allocations: 1.663 MB / 1.512 GB, free: 15.21 MB / 1.217 GB
Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.5987, allocations: 0 / 1.512 GB, free: 15.21 MB / 1.217 GB
Notification: Performance of FrontEnd: time 2.014e-06/0.5987, allocations: 0 / 1.512 GB, free: 15.21 MB / 1.217 GB
Notification: Performance of Transformations before backend: time 1.752e-05/0.5987, allocations: 0 / 1.512 GB, free: 15.21 MB / 1.217 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.002825/0.6015, allocations: 1.196 MB / 1.513 GB, free: 13.98 MB / 1.217 GB
Notification: Performance of prepare preOptimizeDAE: time 3.853e-05/0.6016, allocations: 8.031 kB / 1.513 GB, free: 13.98 MB / 1.217 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.6033, allocations: 239.2 kB / 1.514 GB, free: 13.74 MB / 1.217 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001219/0.6045, allocations: 0.5538 MB / 1.514 GB, free: 13.16 MB / 1.217 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.772e-05/0.6045, allocations: 41 kB / 1.514 GB, free: 13.12 MB / 1.217 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.6047, allocations: 55.94 kB / 1.514 GB, free: 13.07 MB / 1.217 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001769/0.6064, allocations: 1.004 MB / 1.515 GB, free: 11.99 MB / 1.217 GB
Notification: Performance of preOpt findStateOrder (simulation): time 2.481e-05/0.6065, allocations: 3.938 kB / 1.515 GB, free: 11.98 MB / 1.217 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.789e-05/0.6065, allocations: 20 kB / 1.515 GB, free: 11.96 MB / 1.217 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.021e-05/0.6066, allocations: 27.98 kB / 1.515 GB, free: 11.94 MB / 1.217 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001867/0.6084, allocations: 1.007 MB / 1.516 GB, free: 10.93 MB / 1.217 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006129/0.6146, allocations: 4.094 MB / 1.52 GB, free: 6.672 MB / 1.217 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.001104/0.6157, allocations: 0.5652 MB / 1.521 GB, free: 6.098 MB / 1.217 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0008738/0.6166, allocations: 489.8 kB / 1.521 GB, free: 5.617 MB / 1.217 GB
Notification: Performance of preOpt evalFunc (simulation): time 0.0007929/0.6173, allocations: 140.3 kB / 1.521 GB, free: 5.48 MB / 1.217 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.043e-05/0.6174, allocations: 35 kB / 1.521 GB, free: 5.438 MB / 1.217 GB
Notification: Performance of preOpt simplifyInStream (simulation): time 0.002636/0.62, allocations: 0.6361 MB / 1.522 GB, free: 4.801 MB / 1.217 GB
Notification: Performance of pre-optimization done (n=50): time 4.438e-06/0.62, allocations: 0 / 1.522 GB, free: 4.801 MB / 1.217 GB
Notification: Performance of matching and sorting (n=50): time 0.01869/0.6387, allocations: 3.675 MB / 1.526 GB, free: 1.105 MB / 1.217 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.092e-05/0.6388, allocations: 63.72 kB / 1.526 GB, free: 1.031 MB / 1.217 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001069/0.6398, allocations: 0.7078 MB / 1.526 GB, free: 324 kB / 1.217 GB
Notification: Performance of collectPreVariables (initialization): time 0.0001125/0.6399, allocations: 37.7 kB / 1.526 GB, free: 280 kB / 1.217 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0003048/0.6403, allocations: 329 kB / 1.527 GB, free: 15.95 MB / 1.232 GB
Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.6405, allocations: 182.4 kB / 1.527 GB, free: 15.77 MB / 1.232 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002807/0.6407, allocations: 150 kB / 1.527 GB, free: 15.61 MB / 1.232 GB
Notification: Performance of setup shared object (initialization): time 0.0001567/0.6409, allocations: 326 kB / 1.527 GB, free: 15.29 MB / 1.232 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007411/0.6416, allocations: 392.8 kB / 1.528 GB, free: 14.91 MB / 1.232 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008267/0.6425, allocations: 488.9 kB / 1.528 GB, free: 14.41 MB / 1.232 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.6442, allocations: 0.9219 MB / 1.529 GB, free: 13.46 MB / 1.232 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/0.6442, allocations: 0 / 1.529 GB, free: 13.46 MB / 1.232 GB
Notification: Performance of matching and sorting (n=60) (initialization): time 0.01226/0.6564, allocations: 2.553 MB / 1.532 GB, free: 10.89 MB / 1.232 GB
Notification: Performance of prepare postOptimizeDAE: time 2.812e-05/0.6565, allocations: 6.344 kB / 1.532 GB, free: 10.89 MB / 1.232 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.6565, allocations: 4 kB / 1.532 GB, free: 10.88 MB / 1.232 GB
Notification: Performance of postOpt tearingSystem (initialization): time 0.009902/0.6664, allocations: 1.738 MB / 1.533 GB, free: 9.137 MB / 1.232 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00054/0.6669, allocations: 91.86 kB / 1.533 GB, free: 9.047 MB / 1.232 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01399/0.6809, allocations: 6.941 MB / 1.54 GB, free: 1.863 MB / 1.232 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000853/0.6818, allocations: 20.05 kB / 1.54 GB, free: 1.844 MB / 1.232 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001116/0.6819, allocations: 43.94 kB / 1.54 GB, free: 1.801 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.0004347/0.6823, allocations: 221.5 kB / 1.54 GB, free: 1.574 MB / 1.232 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002039/0.6825, allocations: 87.44 kB / 1.541 GB, free: 1.488 MB / 1.232 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005455/0.688, allocations: 1.728 MB / 1.542 GB, free: 15.74 MB / 1.248 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-05/0.688, allocations: 8 kB / 1.542 GB, free: 15.73 MB / 1.248 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.937e-06/0.688, allocations: 7.938 kB / 1.542 GB, free: 15.72 MB / 1.248 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.688, allocations: 3.984 kB / 1.542 GB, free: 15.72 MB / 1.248 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00656/0.6946, allocations: 2.491 MB / 1.545 GB, free: 13.15 MB / 1.248 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.156e-05/0.6946, allocations: 4 kB / 1.545 GB, free: 13.14 MB / 1.248 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004838/0.695, allocations: 91.81 kB / 1.545 GB, free: 13.05 MB / 1.248 GB
Notification: Performance of postOpt tearingSystem (simulation): time 0.003645/0.6987, allocations: 0.7979 MB / 1.546 GB, free: 12.25 MB / 1.248 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.26e-05/0.6988, allocations: 16 kB / 1.546 GB, free: 12.23 MB / 1.248 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007642/0.7064, allocations: 4.657 MB / 1.55 GB, free: 7.348 MB / 1.248 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/0.7064, allocations: 4 kB / 1.55 GB, free: 7.344 MB / 1.248 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006016/0.7124, allocations: 2.142 MB / 1.552 GB, free: 5.16 MB / 1.248 GB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005666/0.713, allocations: 163.3 kB / 1.552 GB, free: 5 MB / 1.248 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001265/0.7131, allocations: 12 kB / 1.552 GB, free: 4.988 MB / 1.248 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005668/0.7137, allocations: 23.98 kB / 1.552 GB, free: 4.965 MB / 1.248 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002009/0.7139, allocations: 52.28 kB / 1.552 GB, free: 4.914 MB / 1.248 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.25e-05/0.714, allocations: 20 kB / 1.552 GB, free: 4.895 MB / 1.248 GB
Notification: Performance of sorting global known variables: time 0.0007086/0.7147, allocations: 0.5068 MB / 1.553 GB, free: 4.395 MB / 1.248 GB
Notification: Performance of sort global known variables: time 9e-08/0.7147, allocations: 0 / 1.553 GB, free: 4.395 MB / 1.248 GB
Notification: Performance of remove unused functions: time 0.001015/0.7157, allocations: 279.8 kB / 1.553 GB, free: 4.121 MB / 1.248 GB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * Number of states: 4 (pow_m_flow.mExc,pow_V_flow.mExc,pow_1dat.mExc,pow_2dat.mExc)
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (49):
 * Single equations (assignments): 47
 * 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%), (4,4,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.000544/0.7162, allocations: 214.3 kB / 1.553 GB, free: 3.91 MB / 1.248 GB
Notification: Performance of simCode: created initialization part: time 0.003723/0.7199, allocations: 1.398 MB / 1.555 GB, free: 2.484 MB / 1.248 GB
Notification: Performance of simCode: created event and clocks part: time 4.569e-06/0.7199, allocations: 3.938 kB / 1.555 GB, free: 2.48 MB / 1.248 GB
Notification: Performance of simCode: created simulation system equations: time 0.001965/0.7219, allocations: 0.8674 MB / 1.556 GB, free: 1.59 MB / 1.248 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002101/0.724, allocations: 456.6 kB / 1.556 GB, free: 1.148 MB / 1.248 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003179/0.7272, allocations: 1.756 MB / 1.558 GB, free: 15.36 MB / 1.264 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007054/0.7279, allocations: 0.9828 MB / 1.559 GB, free: 14.35 MB / 1.264 GB
Notification: Performance of simCode: alias equations: time 0.0006019/0.7285, allocations: 154.6 kB / 1.559 GB, free: 14.19 MB / 1.264 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002085/0.7287, allocations: 67.41 kB / 1.559 GB, free: 14.12 MB / 1.264 GB
Notification: Performance of SimCode: time 1.492e-06/0.7287, allocations: 3.938 kB / 1.559 GB, free: 14.12 MB / 1.264 GB
Notification: Performance of Templates: time 0.04187/0.7706, allocations: 23.48 MB / 1.582 GB, free: 6.883 MB / 1.279 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/jenkins/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.93245337344706]