Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0009169/0.0009169, allocations: 82.64 kB / 20.68 MB, free: 3.816 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.0009368/0.0009368, allocations: 181 kB / 24.09 MB, free: 416 kB / 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.8958/0.8958, allocations: 177.1 MB / 204.5 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.704/1.704, allocations: 359 MB / 0.6055 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Airflow.Multizone.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.483e-06/1.483e-06, allocations: 0.6562 kB / 0.7875 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.148e-05/2.296e-05, allocations: 3.219 kB / 0.7875 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1214/0.1215, allocations: 146.8 MB / 0.9309 GB, free: 8.953 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.002329/0.1238, allocations: 2.285 MB / 0.9331 GB, free: 6.664 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000253/0.124, allocations: 23.81 kB / 0.9332 GB, free: 6.641 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0004903/0.1245, allocations: 222.3 kB / 0.9334 GB, free: 6.422 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.0009757/0.1255, allocations: 0.8583 MB / 0.9342 GB, free: 5.559 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007507/0.1263, allocations: 0.6391 MB / 0.9348 GB, free: 4.918 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001155/0.1274, allocations: 1.639 MB / 0.9364 GB, free: 3.27 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007086/0.1281, allocations: 0.9122 MB / 0.9373 GB, free: 2.344 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007997/0.1289, allocations: 1.122 MB / 0.9384 GB, free: 1.219 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006127/0.1295, allocations: 0.787 MB / 0.9392 GB, free: 440 kB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.1296, allocations: 92 kB / 0.9393 GB, free: 348 kB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004247/0.1301, allocations: 407.2 kB / 0.9397 GB, free: 15.94 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002188/0.1303, allocations: 378.9 kB / 0.94 GB, free: 15.57 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002477/0.1305, allocations: 391.1 kB / 0.9404 GB, free: 15.19 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0007986/0.1313, allocations: 1.117 MB / 0.9415 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.1313, allocations: 0 / 0.9415 GB, free: 14.07 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.042e-06/0.1313, allocations: 7.938 kB / 0.9415 GB, free: 14.06 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.422e-06/0.1313, allocations: 0 / 0.9415 GB, free: 14.06 MB / 0.9011 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.001437/0.1328, allocations: 1.226 MB / 0.9427 GB, free: 12.79 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.423e-05/0.1328, allocations: 16.02 kB / 0.9427 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007039/0.1335, allocations: 287.8 kB / 0.943 GB, free: 12.5 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005195/0.134, allocations: 0.5412 MB / 0.9435 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.418e-05/0.1341, allocations: 37 kB / 0.9436 GB, free: 11.88 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.852e-05/0.1341, allocations: 67.88 kB / 0.9436 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006757/0.1348, allocations: 0.8158 MB / 0.9444 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.431e-05/0.1348, allocations: 0 / 0.9444 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.755e-05/0.1349, allocations: 24 kB / 0.9444 GB, free: 10.87 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.671e-05/0.1349, allocations: 23.98 kB / 0.9445 GB, free: 10.85 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004277/0.1353, allocations: 430.3 kB / 0.9449 GB, free: 10.43 MB / 0.9011 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.002533/0.1379, allocations: 4.164 MB / 0.9489 GB, free: 6.133 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005685/0.1384, allocations: 296.6 kB / 0.9492 GB, free: 5.832 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002301/0.1387, allocations: 237.1 kB / 0.9495 GB, free: 5.594 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002828/0.1389, allocations: 132.3 kB / 0.9496 GB, free: 5.465 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.026e-05/0.139, allocations: 41.89 kB / 0.9496 GB, free: 5.414 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001103/0.1401, allocations: 0.6438 MB / 0.9502 GB, free: 4.77 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=50): time 1.763e-06/0.1401, allocations: 3.938 kB / 0.9502 GB, free: 4.766 MB / 0.9011 GB Notification: Performance of matching and sorting (n=50): time 0.006599/0.1467, allocations: 2.496 MB / 0.9527 GB, free: 2.25 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.1467, allocations: 59.89 kB / 0.9527 GB, free: 2.18 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003732/0.1471, allocations: 0.6201 MB / 0.9533 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 4.641e-05/0.1471, allocations: 37.7 kB / 0.9534 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001927/0.1473, allocations: 447.2 kB / 0.9538 GB, free: 1.055 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001194/0.1474, allocations: 190.4 kB / 0.954 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001827/0.1476, allocations: 196 kB / 0.9542 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001579/0.1478, allocations: 0.5663 MB / 0.9547 GB, free: 92 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.148, allocations: 177.9 kB / 0.9549 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003379/0.1483, allocations: 0.5469 MB / 0.9554 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007376/0.149, allocations: 0.7491 MB / 0.9562 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.149, allocations: 0 / 0.9562 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004276/0.1533, allocations: 1.854 MB / 0.958 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.789e-05/0.1533, allocations: 8 kB / 0.958 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.907e-06/0.1533, allocations: 12.12 kB / 0.958 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005112/0.1585, allocations: 2.11 MB / 0.9601 GB, free: 10.32 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002549/0.1587, allocations: 139.7 kB / 0.9602 GB, free: 10.19 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005462/0.1642, allocations: 5.503 MB / 0.9656 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003219/0.1645, allocations: 24 kB / 0.9656 GB, free: 4.418 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.817e-05/0.1646, allocations: 51.94 kB / 0.9656 GB, free: 4.367 MB / 0.9167 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.0001782/0.1647, allocations: 204.3 kB / 0.9658 GB, free: 4.156 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001255/0.1649, allocations: 91.47 kB / 0.9659 GB, free: 4.066 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00206/0.1669, allocations: 1.296 MB / 0.9672 GB, free: 2.746 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.698e-06/0.1669, allocations: 11.98 kB / 0.9672 GB, free: 2.734 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/0.1669, allocations: 7.984 kB / 0.9672 GB, free: 2.727 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.971e-06/0.1669, allocations: 4 kB / 0.9672 GB, free: 2.723 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00241/0.1693, allocations: 1.748 MB / 0.9689 GB, free: 0.9062 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.426e-06/0.1694, allocations: 4 kB / 0.9689 GB, free: 0.9023 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.1695, allocations: 83.89 kB / 0.969 GB, free: 0.8203 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002368/0.1719, allocations: 1.346 MB / 0.9703 GB, free: 15.46 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.916e-05/0.1719, allocations: 15.94 kB / 0.9703 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002822/0.1748, allocations: 4.365 MB / 0.9746 GB, free: 10.86 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.1748, allocations: 0 / 0.9746 GB, free: 10.86 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00196/0.1767, allocations: 1.45 MB / 0.976 GB, free: 9.352 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001777/0.1769, allocations: 139.3 kB / 0.9761 GB, free: 9.215 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.213e-05/0.177, allocations: 19.98 kB / 0.9762 GB, free: 9.195 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002211/0.1772, allocations: 12 kB / 0.9762 GB, free: 9.184 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.164e-05/0.1773, allocations: 52.41 kB / 0.9762 GB, free: 9.133 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.663e-05/0.1773, allocations: 19.98 kB / 0.9762 GB, free: 9.113 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002007/0.1775, allocations: 378.8 kB / 0.9766 GB, free: 8.746 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4e-08/0.1775, allocations: 0 / 0.9766 GB, free: 8.746 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0007328/0.1782, allocations: 315.7 kB / 0.9769 GB, free: 8.438 MB / 0.9323 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.0002208/0.1784, allocations: 162.9 kB / 0.9771 GB, free: 8.27 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001456/0.1799, allocations: 1.217 MB / 0.9782 GB, free: 7.012 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1799, allocations: 0 / 0.9782 GB, free: 7.012 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007124/0.1806, allocations: 0.821 MB / 0.979 GB, free: 6.156 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000856/0.1815, allocations: 360.9 kB / 0.9794 GB, free: 5.812 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001655/0.1831, allocations: 1.511 MB / 0.9809 GB, free: 4.242 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001149/0.1832, allocations: 192.8 kB / 0.9811 GB, free: 4.031 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002534/0.1835, allocations: 118.2 kB / 0.9812 GB, free: 3.914 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000454/0.1839, allocations: 334 kB / 0.9815 GB, free: 3.586 MB / 0.9323 GB Notification: Performance of SimCode: time 9.82e-07/0.1839, allocations: 0 / 0.9815 GB, free: 3.586 MB / 0.9323 GB Notification: Performance of Templates: time 0.02107/0.205, allocations: 22.1 MB / 1.003 GB, free: 13.84 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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.237444766331464]