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.0009154/0.0009154, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.0009541/0.0009541, allocations: 166 kB / 24.87 MB, free: 9.258 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.9567/0.9567, allocations: 177.1 MB / 205.3 MB, free: 5.512 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.808/1.808, allocations: 377.9 MB / 0.6247 GB, free: 8.41 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.703e-06/1.703e-06, allocations: 0 / 0.8128 GB, free: 1.465 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.139e-05/2.309e-05, allocations: 6.25 kB / 0.8128 GB, free: 1.457 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1448/0.1448, allocations: 146.8 MB / 0.9562 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002915/0.1477, allocations: 2.303 MB / 0.9584 GB, free: 11.83 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002532/0.148, allocations: 27.75 kB / 0.9584 GB, free: 11.8 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0004626/0.1485, allocations: 218.3 kB / 0.9586 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001014/0.1495, allocations: 0.8427 MB / 0.9595 GB, free: 10.74 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008017/0.1503, allocations: 0.6391 MB / 0.9601 GB, free: 10.1 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001167/0.1514, allocations: 1.623 MB / 0.9617 GB, free: 8.473 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008012/0.1522, allocations: 0.9121 MB / 0.9626 GB, free: 7.543 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001141/0.1534, allocations: 1.122 MB / 0.9637 GB, free: 6.418 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006824/0.1541, allocations: 0.7637 MB / 0.9644 GB, free: 5.652 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001074/0.1542, allocations: 99.98 kB / 0.9645 GB, free: 5.555 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004623/0.1546, allocations: 403.1 kB / 0.9649 GB, free: 5.16 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002645/0.1549, allocations: 382.9 kB / 0.9652 GB, free: 4.785 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002893/0.1552, allocations: 383.1 kB / 0.9656 GB, free: 4.41 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0009424/0.1561, allocations: 1.125 MB / 0.9667 GB, free: 3.277 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1561, allocations: 0 / 0.9667 GB, free: 3.277 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1561, allocations: 8 kB / 0.9667 GB, free: 3.27 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 9.818e-06/0.1561, allocations: 0 / 0.9667 GB, free: 3.27 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.001564/0.1577, allocations: 1.219 MB / 0.9679 GB, free: 2.012 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.639e-05/0.1577, allocations: 8.031 kB / 0.9679 GB, free: 2.004 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008398/0.1586, allocations: 295.8 kB / 0.9682 GB, free: 1.715 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006619/0.1592, allocations: 0.5451 MB / 0.9687 GB, free: 1.145 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.109e-05/0.1593, allocations: 40.92 kB / 0.9688 GB, free: 1.105 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.617e-05/0.1594, allocations: 55.95 kB / 0.9688 GB, free: 1.051 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000796/0.1602, allocations: 0.8197 MB / 0.9696 GB, free: 124 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.061e-05/0.1602, allocations: 7.938 kB / 0.9696 GB, free: 116 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.748e-05/0.1602, allocations: 16 kB / 0.9696 GB, free: 100 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.918e-05/0.1603, allocations: 27.98 kB / 0.9697 GB, free: 72 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005015/0.1608, allocations: 430.3 kB / 0.9701 GB, free: 15.65 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.00333/0.1641, allocations: 4.167 MB / 0.9742 GB, free: 11.35 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003594/0.1645, allocations: 287.1 kB / 0.9744 GB, free: 11.06 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002687/0.1647, allocations: 241 kB / 0.9747 GB, free: 10.82 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000327/0.1651, allocations: 120.4 kB / 0.9748 GB, free: 10.7 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.949e-05/0.1651, allocations: 37.89 kB / 0.9748 GB, free: 10.66 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001207/0.1663, allocations: 0.6438 MB / 0.9754 GB, free: 10.01 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=50): time 1.994e-06/0.1663, allocations: 0 / 0.9754 GB, free: 10.01 MB / 0.9323 GB Notification: Performance of matching and sorting (n=50): time 0.007556/0.1738, allocations: 2.496 MB / 0.9779 GB, free: 7.5 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.42e-05/0.1739, allocations: 55.91 kB / 0.9779 GB, free: 7.434 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004225/0.1743, allocations: 0.6317 MB / 0.9785 GB, free: 6.785 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 5.463e-05/0.1744, allocations: 37.7 kB / 0.9786 GB, free: 6.742 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002115/0.1746, allocations: 443.2 kB / 0.979 GB, free: 6.301 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001296/0.1747, allocations: 190.4 kB / 0.9792 GB, free: 6.113 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/0.1749, allocations: 188.1 kB / 0.9794 GB, free: 5.922 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001661/0.1751, allocations: 0.5701 MB / 0.9799 GB, free: 5.34 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001985/0.1753, allocations: 173.8 kB / 0.9801 GB, free: 5.172 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003749/0.1756, allocations: 0.5509 MB / 0.9806 GB, free: 4.473 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006285/0.1763, allocations: 0.7491 MB / 0.9814 GB, free: 3.586 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.1763, allocations: 0 / 0.9814 GB, free: 3.586 MB / 0.9323 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004558/0.1808, allocations: 1.854 MB / 0.9832 GB, free: 1.711 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.879e-05/0.1808, allocations: 8 kB / 0.9832 GB, free: 1.703 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.1808, allocations: 8.125 kB / 0.9832 GB, free: 1.695 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005866/0.1867, allocations: 2.11 MB / 0.9852 GB, free: 15.57 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002865/0.187, allocations: 131.8 kB / 0.9854 GB, free: 15.45 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005752/0.1928, allocations: 5.52 MB / 0.9908 GB, free: 9.684 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004508/0.1932, allocations: 19.98 kB / 0.9908 GB, free: 9.664 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.679e-05/0.1933, allocations: 55.94 kB / 0.9908 GB, free: 9.609 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.0002464/0.1935, allocations: 200.3 kB / 0.991 GB, free: 9.402 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.1937, allocations: 95.47 kB / 0.9911 GB, free: 9.309 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/0.1962, allocations: 1.296 MB / 0.9924 GB, free: 7.992 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.516e-06/0.1962, allocations: 7.938 kB / 0.9924 GB, free: 7.984 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.1962, allocations: 4 kB / 0.9924 GB, free: 7.98 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.081e-06/0.1962, allocations: 7.984 kB / 0.9924 GB, free: 7.973 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002731/0.199, allocations: 1.76 MB / 0.9941 GB, free: 6.145 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.199, allocations: 0 / 0.9941 GB, free: 6.145 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002155/0.1992, allocations: 83.89 kB / 0.9942 GB, free: 6.062 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002498/0.2017, allocations: 1.334 MB / 0.9955 GB, free: 4.719 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.374e-05/0.2017, allocations: 16 kB / 0.9955 GB, free: 4.703 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003378/0.2051, allocations: 4.359 MB / 0.9998 GB, free: 124 kB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.2051, allocations: 7.938 kB / 0.9998 GB, free: 116 kB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00217/0.2073, allocations: 1.458 MB / 1.001 GB, free: 14.6 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.2075, allocations: 135.3 kB / 1.001 GB, free: 14.47 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.889e-05/0.2075, allocations: 15.94 kB / 1.001 GB, free: 14.45 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002513/0.2078, allocations: 19.98 kB / 1.001 GB, free: 14.43 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.396e-05/0.2079, allocations: 52.41 kB / 1.001 GB, free: 14.38 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.707e-05/0.2079, allocations: 16 kB / 1.001 GB, free: 14.36 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002158/0.2081, allocations: 386.8 kB / 1.002 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.2081, allocations: 0 / 1.002 GB, free: 13.99 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.00066/0.2088, allocations: 303.7 kB / 1.002 GB, free: 13.69 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.0002245/0.209, allocations: 163 kB / 1.002 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001599/0.2106, allocations: 1.217 MB / 1.003 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.2106, allocations: 0 / 1.003 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0007956/0.2114, allocations: 0.825 MB / 1.004 GB, free: 11.4 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009224/0.2123, allocations: 350.8 kB / 1.005 GB, free: 11.07 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002111/0.2144, allocations: 1.498 MB / 1.006 GB, free: 9.508 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001245/0.2145, allocations: 192.8 kB / 1.006 GB, free: 9.301 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0002822/0.2148, allocations: 126.1 kB / 1.006 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004828/0.2153, allocations: 334 kB / 1.007 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of SimCode: time 7.71e-07/0.2153, allocations: 0 / 1.007 GB, free: 8.848 MB / 0.9636 GB Notification: Performance of Templates: time 0.02255/0.2379, allocations: 22.59 MB / 1.029 GB, free: 2.668 MB / 0.9792 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.682384186889976]