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.000972/0.000972, allocations: 77.97 kB / 20.68 MB, free: 3.809 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.001127/0.001127, allocations: 177 kB / 24.08 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.9247/0.9247, allocations: 177.1 MB / 204.5 MB, free: 5.516 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.735/1.735, allocations: 377.9 MB / 0.624 GB, free: 8.387 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.552e-06/1.552e-06, allocations: 0 / 0.812 GB, free: 1.441 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.607e-05/1.762e-05, allocations: 2.312 kB / 0.812 GB, free: 1.438 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.118/0.118, allocations: 146.8 MB / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of NFInst.instExpressions: time 0.002929/0.1209, allocations: 2.295 MB / 0.9576 GB, free: 11.82 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003677/0.1213, allocations: 27.81 kB / 0.9577 GB, free: 11.79 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 0.0005008/0.1218, allocations: 218.2 kB / 0.9579 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 0.001128/0.1229, allocations: 0.8427 MB / 0.9587 GB, free: 10.73 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.001156/0.1241, allocations: 0.6352 MB / 0.9593 GB, free: 10.09 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 0.001427/0.1255, allocations: 1.631 MB / 0.9609 GB, free: 8.457 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008158/0.1263, allocations: 0.9122 MB / 0.9618 GB, free: 7.527 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001022/0.1273, allocations: 1.119 MB / 0.9629 GB, free: 6.406 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006625/0.128, allocations: 0.7675 MB / 0.9636 GB, free: 5.637 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 0.0001091/0.1281, allocations: 96 kB / 0.9637 GB, free: 5.543 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005273/0.1286, allocations: 407.1 kB / 0.9641 GB, free: 5.145 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 0.0002356/0.1289, allocations: 382.9 kB / 0.9645 GB, free: 4.77 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 0.0002717/0.1291, allocations: 387.1 kB / 0.9648 GB, free: 4.391 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.0008594/0.13, allocations: 1.118 MB / 0.9659 GB, free: 3.266 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.13, allocations: 0 / 0.9659 GB, free: 3.266 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.051e-06/0.13, allocations: 0 / 0.9659 GB, free: 3.266 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 7.905e-06/0.13, allocations: 4 kB / 0.9659 GB, free: 3.262 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.00158/0.1316, allocations: 1.23 MB / 0.9671 GB, free: 1.992 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 3.335e-05/0.1316, allocations: 8.031 kB / 0.9671 GB, free: 1.984 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007138/0.1323, allocations: 291.8 kB / 0.9674 GB, free: 1.699 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005115/0.1328, allocations: 0.545 MB / 0.968 GB, free: 1.129 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.473e-05/0.1329, allocations: 40.98 kB / 0.968 GB, free: 1.09 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.672e-05/0.1329, allocations: 51.95 kB / 0.968 GB, free: 1.039 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006619/0.1336, allocations: 0.8197 MB / 0.9688 GB, free: 112 kB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.695e-05/0.1336, allocations: 7.984 kB / 0.9689 GB, free: 104 kB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.605e-05/0.1337, allocations: 20 kB / 0.9689 GB, free: 84 kB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.56e-05/0.1337, allocations: 27.92 kB / 0.9689 GB, free: 56 kB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004294/0.1341, allocations: 422.4 kB / 0.9693 GB, free: 15.64 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.00275/0.1369, allocations: 4.175 MB / 0.9734 GB, free: 11.34 MB / 0.9323 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003144/0.1372, allocations: 283.5 kB / 0.9736 GB, free: 11.05 MB / 0.9323 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002232/0.1374, allocations: 237.1 kB / 0.9739 GB, free: 10.81 MB / 0.9323 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002853/0.1377, allocations: 136.4 kB / 0.974 GB, free: 10.68 MB / 0.9323 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.1377, allocations: 41.89 kB / 0.974 GB, free: 10.63 MB / 0.9323 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001102/0.1388, allocations: 0.6398 MB / 0.9747 GB, free: 9.988 MB / 0.9323 GB Notification: Performance of pre-optimization done (n=50): time 1.603e-06/0.1388, allocations: 0 / 0.9747 GB, free: 9.988 MB / 0.9323 GB Notification: Performance of matching and sorting (n=50): time 0.006608/0.1454, allocations: 2.496 MB / 0.9771 GB, free: 7.477 MB / 0.9323 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.427e-05/0.1455, allocations: 59.91 kB / 0.9772 GB, free: 7.406 MB / 0.9323 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003693/0.1458, allocations: 0.6279 MB / 0.9778 GB, free: 6.762 MB / 0.9323 GB Notification: Performance of collectPreVariables (initialization): time 4.588e-05/0.1459, allocations: 33.7 kB / 0.9778 GB, free: 6.723 MB / 0.9323 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001859/0.1461, allocations: 439.2 kB / 0.9782 GB, free: 6.285 MB / 0.9323 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001116/0.1462, allocations: 190.4 kB / 0.9784 GB, free: 6.098 MB / 0.9323 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000175/0.1463, allocations: 196 kB / 0.9786 GB, free: 5.898 MB / 0.9323 GB Notification: Performance of setup shared object (initialization): time 0.0001441/0.1465, allocations: 0.5701 MB / 0.9792 GB, free: 5.316 MB / 0.9323 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001888/0.1467, allocations: 173.8 kB / 0.9793 GB, free: 5.148 MB / 0.9323 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003381/0.147, allocations: 0.5509 MB / 0.9799 GB, free: 4.449 MB / 0.9323 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008357/0.1479, allocations: 0.7451 MB / 0.9806 GB, free: 3.566 MB / 0.9323 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.706e-06/0.1479, allocations: 0 / 0.9806 GB, free: 3.566 MB / 0.9323 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004345/0.1522, allocations: 1.854 MB / 0.9824 GB, free: 1.691 MB / 0.9323 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.1522, allocations: 8 kB / 0.9824 GB, free: 1.684 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/0.1522, allocations: 8 kB / 0.9824 GB, free: 1.676 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006761/0.159, allocations: 2.114 MB / 0.9845 GB, free: 15.55 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003423/0.1593, allocations: 139.7 kB / 0.9846 GB, free: 15.41 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007103/0.1664, allocations: 5.508 MB / 0.99 GB, free: 9.668 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004435/0.1669, allocations: 27.98 kB / 0.99 GB, free: 9.641 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.017e-05/0.167, allocations: 51.94 kB / 0.9901 GB, free: 9.59 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.0002061/0.1672, allocations: 200.5 kB / 0.9903 GB, free: 9.383 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001745/0.1673, allocations: 99.47 kB / 0.9903 GB, free: 9.285 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0028/0.1701, allocations: 1.304 MB / 0.9916 GB, free: 7.961 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.219e-06/0.1701, allocations: 4 kB / 0.9916 GB, free: 7.957 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.1701, allocations: 7.984 kB / 0.9916 GB, free: 7.949 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.1702, allocations: 0 / 0.9916 GB, free: 7.949 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003249/0.1734, allocations: 1.756 MB / 0.9933 GB, free: 6.125 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/0.1734, allocations: 4 kB / 0.9934 GB, free: 6.121 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.1737, allocations: 87.89 kB / 0.9934 GB, free: 6.035 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003338/0.177, allocations: 1.342 MB / 0.9947 GB, free: 4.684 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.074e-05/0.1771, allocations: 16 kB / 0.9948 GB, free: 4.668 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003763/0.1808, allocations: 4.359 MB / 0.999 GB, free: 88 kB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1808, allocations: 64 / 0.999 GB, free: 88 kB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00272/0.1835, allocations: 1.461 MB / 1 GB, free: 14.57 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002335/0.1838, allocations: 139.3 kB / 1.001 GB, free: 14.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.543e-05/0.1839, allocations: 15.98 kB / 1.001 GB, free: 14.42 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003149/0.1842, allocations: 16 kB / 1.001 GB, free: 14.4 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001152/0.1843, allocations: 44.41 kB / 1.001 GB, free: 14.36 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.281e-05/0.1843, allocations: 19.98 kB / 1.001 GB, free: 14.34 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.0002756/0.1846, allocations: 382.7 kB / 1.001 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of sort global known variables: time 8e-08/0.1846, allocations: 0 / 1.001 GB, free: 13.96 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.001004/0.1856, allocations: 307.7 kB / 1.001 GB, free: 13.66 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.0002687/0.1859, allocations: 167 kB / 1.001 GB, free: 13.49 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.001973/0.1878, allocations: 1.217 MB / 1.003 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1878, allocations: 0 / 1.003 GB, free: 12.23 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0009653/0.1888, allocations: 0.8248 MB / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00114/0.19, allocations: 351.3 kB / 1.004 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.192, allocations: 1.499 MB / 1.005 GB, free: 9.477 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001493/0.1922, allocations: 196.8 kB / 1.005 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.0003438/0.1925, allocations: 130.1 kB / 1.006 GB, free: 9.137 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005763/0.1931, allocations: 338 kB / 1.006 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of SimCode: time 9.91e-07/0.1931, allocations: 0 / 1.006 GB, free: 8.805 MB / 0.9636 GB Notification: Performance of Templates: time 0.02735/0.2204, allocations: 22.1 MB / 1.028 GB, free: 3.062 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.277245789766312]