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.000946/0.000946, allocations: 83.59 kB / 20.45 MB, free: 4.117 MB / 18.57 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.0009818/0.0009818, allocations: 169 kB / 23.82 MB, free: 0.7461 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.8506/0.8506, allocations: 177.1 MB / 204.2 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.713/1.713, allocations: 377.8 MB / 0.6236 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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: Performance of FrontEnd - loaded program: time 1.944e-06/1.944e-06, allocations: 0 / 0.8115 GB, free: 1.734 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.504e-05/2.698e-05, allocations: 2.844 kB / 0.8115 GB, free: 1.73 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1207/0.1207, allocations: 149.6 MB / 0.9576 GB, free: 11.63 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.003576/0.1243, allocations: 2.305 MB / 0.9599 GB, free: 9.324 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000576/0.1249, allocations: 27.75 kB / 0.9599 GB, free: 9.297 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0006149/0.1255, allocations: 218.3 kB / 0.9601 GB, free: 9.082 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.00144/0.1269, allocations: 0.8388 MB / 0.9609 GB, free: 8.238 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.1281, allocations: 0.643 MB / 0.9616 GB, free: 7.594 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001549/0.1297, allocations: 1.631 MB / 0.9631 GB, free: 5.957 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001066/0.1307, allocations: 0.9083 MB / 0.964 GB, free: 5.031 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001384/0.1321, allocations: 1.126 MB / 0.9651 GB, free: 3.902 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001162/0.1333, allocations: 0.7636 MB / 0.9659 GB, free: 3.133 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001916/0.1335, allocations: 96 kB / 0.966 GB, free: 3.039 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006977/0.1342, allocations: 407.2 kB / 0.9664 GB, free: 2.641 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002801/0.1345, allocations: 382.9 kB / 0.9667 GB, free: 2.266 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0003543/0.1348, allocations: 387.1 kB / 0.9671 GB, free: 1.887 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.001233/0.136, allocations: 1.114 MB / 0.9682 GB, free: 0.7695 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.977e-06/0.136, allocations: 0 / 0.9682 GB, free: 0.7695 MB / 0.9167 GB Notification: Performance of FrontEnd: time 9.32e-07/0.1361, allocations: 4 kB / 0.9682 GB, free: 0.7656 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 1.785e-05/0.1361, allocations: 0 / 0.9682 GB, free: 0.7656 MB / 0.9167 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.001664/0.1377, allocations: 1.23 MB / 0.9694 GB, free: 15.5 MB / 0.9323 GB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.1378, allocations: 8.031 kB / 0.9694 GB, free: 15.49 MB / 0.9323 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008642/0.1386, allocations: 283.8 kB / 0.9697 GB, free: 15.21 MB / 0.9323 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006779/0.1393, allocations: 0.5607 MB / 0.9702 GB, free: 14.62 MB / 0.9323 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.8e-05/0.1393, allocations: 41 kB / 0.9702 GB, free: 14.59 MB / 0.9323 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.855e-05/0.1394, allocations: 51.95 kB / 0.9703 GB, free: 14.54 MB / 0.9323 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009043/0.1403, allocations: 0.8745 MB / 0.9712 GB, free: 13.55 MB / 0.9323 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.001e-05/0.1403, allocations: 3.938 kB / 0.9712 GB, free: 13.54 MB / 0.9323 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.167e-05/0.1404, allocations: 24 kB / 0.9712 GB, free: 13.52 MB / 0.9323 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.092e-05/0.1404, allocations: 23.98 kB / 0.9712 GB, free: 13.5 MB / 0.9323 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006848/0.1411, allocations: 0.513 MB / 0.9717 GB, free: 12.98 MB / 0.9323 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003228/0.1443, allocations: 4.284 MB / 0.9759 GB, free: 8.562 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004632/0.1448, allocations: 336.9 kB / 0.9762 GB, free: 8.219 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003248/0.1451, allocations: 285 kB / 0.9765 GB, free: 7.938 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003585/0.1455, allocations: 116.4 kB / 0.9766 GB, free: 7.824 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.636e-05/0.1455, allocations: 37.89 kB / 0.9766 GB, free: 7.777 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001168/0.1467, allocations: 0.6438 MB / 0.9773 GB, free: 7.133 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=50): time 3.216e-06/0.1467, allocations: 0 / 0.9773 GB, free: 7.133 MB / 0.9323 GB Notification: Performance of matching and sorting (n=50): time 0.007167/0.1538, allocations: 2.621 MB / 0.9798 GB, free: 4.496 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002654/0.1541, allocations: 55.91 kB / 0.9799 GB, free: 4.43 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004806/0.1546, allocations: 0.6399 MB / 0.9805 GB, free: 3.773 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.877e-05/0.1547, allocations: 33.7 kB / 0.9805 GB, free: 3.734 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002066/0.1549, allocations: 443.3 kB / 0.9809 GB, free: 3.293 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001136/0.155, allocations: 178.4 kB / 0.9811 GB, free: 3.117 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.1552, allocations: 200.1 kB / 0.9813 GB, free: 2.914 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.1553, allocations: 0.5625 MB / 0.9819 GB, free: 2.34 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002835/0.1556, allocations: 217.8 kB / 0.9821 GB, free: 2.129 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004332/0.156, allocations: 0.59 MB / 0.9826 GB, free: 1.387 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007806/0.1568, allocations: 0.8233 MB / 0.9834 GB, free: 436 kB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.1568, allocations: 4 kB / 0.9834 GB, free: 432 kB / 0.9323 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004748/0.1616, allocations: 1.947 MB / 0.9854 GB, free: 14.45 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.1616, allocations: 8 kB / 0.9854 GB, free: 14.44 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.1616, allocations: 11.83 kB / 0.9854 GB, free: 14.43 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005645/0.1672, allocations: 2.114 MB / 0.9874 GB, free: 12.31 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003367/0.1676, allocations: 135.8 kB / 0.9876 GB, free: 12.18 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006099/0.1737, allocations: 5.651 MB / 0.9931 GB, free: 6.266 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004868/0.1742, allocations: 27.98 kB / 0.9931 GB, free: 6.238 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.105e-05/0.1742, allocations: 55.94 kB / 0.9932 GB, free: 6.184 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (70): * Single equations (assignments): 68 * 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.0002545/0.1745, allocations: 208.2 kB / 0.9934 GB, free: 5.969 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001547/0.1746, allocations: 99.53 kB / 0.9935 GB, free: 5.871 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002561/0.1772, allocations: 1.382 MB / 0.9948 GB, free: 4.469 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.185e-06/0.1772, allocations: 15.92 kB / 0.9948 GB, free: 4.453 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.45e-06/0.1772, allocations: 7.938 kB / 0.9948 GB, free: 4.445 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.1772, allocations: 0 / 0.9948 GB, free: 4.445 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002849/0.1801, allocations: 1.935 MB / 0.9967 GB, free: 2.43 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.148e-06/0.1801, allocations: 0 / 0.9967 GB, free: 2.43 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002297/0.1803, allocations: 87.89 kB / 0.9968 GB, free: 2.344 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002503/0.1828, allocations: 1.35 MB / 0.9981 GB, free: 0.9844 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.498e-05/0.1828, allocations: 20.06 kB / 0.9981 GB, free: 0.9648 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0036/0.1864, allocations: 4.443 MB / 1.002 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.1864, allocations: 7.938 kB / 1.002 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002441/0.1889, allocations: 1.587 MB / 1.004 GB, free: 10.63 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002544/0.1891, allocations: 139.3 kB / 1.004 GB, free: 10.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.968e-05/0.1892, allocations: 16 kB / 1.004 GB, free: 10.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002634/0.1895, allocations: 23.86 kB / 1.004 GB, free: 10.46 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001361/0.1896, allocations: 56.47 kB / 1.004 GB, free: 10.4 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.003e-05/0.1896, allocations: 24 kB / 1.004 GB, free: 10.38 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002898/0.1899, allocations: 410.9 kB / 1.005 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.1899, allocations: 0 / 1.005 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0007289/0.1907, allocations: 303.7 kB / 1.005 GB, free: 9.68 MB / 0.9636 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.0002661/0.1909, allocations: 159 kB / 1.005 GB, free: 9.512 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001909/0.1928, allocations: 1.288 MB / 1.006 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.1928, allocations: 4 kB / 1.006 GB, free: 8.188 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0008857/0.1937, allocations: 0.8668 MB / 1.007 GB, free: 7.285 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009503/0.1947, allocations: 359.9 kB / 1.008 GB, free: 6.941 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002288/0.197, allocations: 1.517 MB / 1.009 GB, free: 5.363 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001428/0.1971, allocations: 192.8 kB / 1.009 GB, free: 5.156 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.000377/0.1975, allocations: 150.1 kB / 1.009 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.1976, allocations: 68.47 kB / 1.009 GB, free: 4.941 MB / 0.9636 GB Notification: Performance of SimCode: time 1.232e-06/0.1976, allocations: 4 kB / 1.009 GB, free: 4.938 MB / 0.9636 GB Notification: Performance of Templates: time 0.023/0.2206, allocations: 21.87 MB / 1.031 GB, free: 15.44 MB / 0.9948 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_Examples_PowerLaw.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.25926317833364]