Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008963/0.0008963, allocations: 80.81 kB / 19.94 MB, free: 4.547 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.0009031/0.0009031, allocations: 173 kB / 23.36 MB, free: 1.133 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.8996/0.8996, allocations: 177.1 MB / 203.8 MB, free: 5.488 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.216/2.216, allocations: 438.8 MB / 0.6827 GB, free: 13.55 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Airflow.Multizone.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.313e-06/1.313e-06, allocations: 0 / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.076e-05/1.207e-05, allocations: 4.703 kB / 0.8386 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1231/0.1231, allocations: 149 MB / 0.9841 GB, free: 8.625 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002685/0.1258, allocations: 2.497 MB / 0.9865 GB, free: 6.121 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002511/0.126, allocations: 23.81 kB / 0.9865 GB, free: 6.098 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004732/0.1265, allocations: 226.3 kB / 0.9867 GB, free: 5.875 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.001059/0.1276, allocations: 0.9244 MB / 0.9876 GB, free: 4.945 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007736/0.1283, allocations: 0.6235 MB / 0.9882 GB, free: 4.32 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.001267/0.1296, allocations: 1.646 MB / 0.9899 GB, free: 2.668 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007047/0.1303, allocations: 0.8939 MB / 0.9907 GB, free: 1.754 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000853/0.1311, allocations: 1.13 MB / 0.9918 GB, free: 0.6211 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006582/0.1318, allocations: 0.7676 MB / 0.9926 GB, free: 15.85 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 0.0001067/0.1319, allocations: 100 kB / 0.9927 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004669/0.1324, allocations: 435.1 kB / 0.9931 GB, free: 15.33 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 0.0002365/0.1326, allocations: 386.9 kB / 0.9935 GB, free: 14.95 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 0.0002849/0.1329, allocations: 399.1 kB / 0.9938 GB, free: 14.56 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000869/0.1338, allocations: 1.164 MB / 0.995 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.685e-06/0.1338, allocations: 0 / 0.995 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of FrontEnd: time 7.32e-07/0.1338, allocations: 0 / 0.995 GB, free: 13.39 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 7.674e-06/0.1338, allocations: 7.938 kB / 0.995 GB, free: 13.38 MB / 0.9636 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.001278/0.1351, allocations: 1.074 MB / 0.996 GB, free: 12.28 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 2.755e-05/0.1351, allocations: 8.031 kB / 0.996 GB, free: 12.27 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00139/0.1365, allocations: 0.5036 MB / 0.9965 GB, free: 11.77 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007264/0.1372, allocations: 468.8 kB / 0.997 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.159e-05/0.1372, allocations: 37 kB / 0.997 GB, free: 11.25 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.855e-05/0.1373, allocations: 55.95 kB / 0.9971 GB, free: 11.19 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008008/0.1381, allocations: 0.8359 MB / 0.9979 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.1381, allocations: 11.94 kB / 0.9979 GB, free: 10.25 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.798e-05/0.1382, allocations: 24 kB / 0.9979 GB, free: 10.23 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.459e-05/0.1382, allocations: 19.98 kB / 0.9979 GB, free: 10.21 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004809/0.1387, allocations: 401.2 kB / 0.9983 GB, free: 9.816 MB / 0.9636 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.002545/0.1413, allocations: 2.955 MB / 1.001 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004207/0.1417, allocations: 335.1 kB / 1.002 GB, free: 6.426 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002512/0.1419, allocations: 228.4 kB / 1.002 GB, free: 6.203 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000177/0.1421, allocations: 64.44 kB / 1.002 GB, free: 6.141 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.119e-05/0.1421, allocations: 39.06 kB / 1.002 GB, free: 6.09 MB / 0.9636 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001167/0.1433, allocations: 0.667 MB / 1.002 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=50): time 2.003e-06/0.1433, allocations: 0 / 1.002 GB, free: 5.422 MB / 0.9636 GB Notification: Performance of matching and sorting (n=50): time 0.006829/0.1501, allocations: 2.288 MB / 1.005 GB, free: 3.121 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.361e-05/0.1501, allocations: 63.89 kB / 1.005 GB, free: 3.047 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003229/0.1505, allocations: 0.5466 MB / 1.005 GB, free: 2.492 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 6.093e-05/0.1505, allocations: 37.7 kB / 1.005 GB, free: 2.449 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001235/0.1507, allocations: 309.8 kB / 1.006 GB, free: 2.141 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.1508, allocations: 186.4 kB / 1.006 GB, free: 1.957 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002035/0.151, allocations: 162.4 kB / 1.006 GB, free: 1.793 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 9.743e-05/0.1511, allocations: 398.5 kB / 1.006 GB, free: 1.395 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002216/0.1513, allocations: 168.7 kB / 1.007 GB, free: 1.227 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003118/0.1516, allocations: 438.9 kB / 1.007 GB, free: 0.6875 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005959/0.1522, allocations: 0.6633 MB / 1.008 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.1522, allocations: 0 / 1.008 GB, free: 15.92 MB / 0.9792 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004257/0.1565, allocations: 1.652 MB / 1.009 GB, free: 14.25 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.84e-05/0.1565, allocations: 14.28 kB / 1.009 GB, free: 14.24 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.1565, allocations: 8 kB / 1.009 GB, free: 14.23 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005572/0.1621, allocations: 2.096 MB / 1.011 GB, free: 12.12 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00038/0.1624, allocations: 159.7 kB / 1.011 GB, free: 11.97 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004612/0.1671, allocations: 4.098 MB / 1.015 GB, free: 7.676 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004211/0.1675, allocations: 51.95 kB / 1.015 GB, free: 7.625 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.605e-05/0.1675, allocations: 47.92 kB / 1.016 GB, free: 7.578 MB / 0.9792 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.000189/0.1677, allocations: 156.4 kB / 1.016 GB, free: 7.414 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001285/0.1679, allocations: 67.86 kB / 1.016 GB, free: 7.348 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002045/0.1699, allocations: 1.205 MB / 1.017 GB, free: 6.129 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.396e-06/0.1699, allocations: 4 kB / 1.017 GB, free: 6.125 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.677e-06/0.1699, allocations: 4 kB / 1.017 GB, free: 6.121 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.22e-06/0.1699, allocations: 3.984 kB / 1.017 GB, free: 6.117 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002703/0.1726, allocations: 1.63 MB / 1.019 GB, free: 4.426 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.906e-06/0.1726, allocations: 0 / 1.019 GB, free: 4.426 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003273/0.173, allocations: 115.8 kB / 1.019 GB, free: 4.312 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002313/0.1753, allocations: 1.386 MB / 1.02 GB, free: 2.918 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.81e-05/0.1753, allocations: 15.98 kB / 1.02 GB, free: 2.902 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002605/0.1779, allocations: 3.237 MB / 1.023 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.1779, allocations: 4 kB / 1.023 GB, free: 15.48 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002066/0.18, allocations: 1.367 MB / 1.024 GB, free: 14.06 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004168/0.1804, allocations: 99.38 kB / 1.025 GB, free: 13.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.708e-05/0.1805, allocations: 19.98 kB / 1.025 GB, free: 13.95 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003391/0.1808, allocations: 52.02 kB / 1.025 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.423e-05/0.1809, allocations: 52.34 kB / 1.025 GB, free: 13.84 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.357e-05/0.1809, allocations: 15.98 kB / 1.025 GB, free: 13.83 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.0001722/0.1811, allocations: 256.6 kB / 1.025 GB, free: 13.58 MB / 0.9948 GB Notification: Performance of sort global known variables: time 2e-08/0.1811, allocations: 0 / 1.025 GB, free: 13.58 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0005867/0.1817, allocations: 315.7 kB / 1.025 GB, free: 13.27 MB / 0.9948 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 (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%), (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.0002024/0.1819, allocations: 132.2 kB / 1.025 GB, free: 13.13 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001498/0.1834, allocations: 1.073 MB / 1.026 GB, free: 12.03 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 9.467e-06/0.1834, allocations: 8 kB / 1.026 GB, free: 12.02 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007448/0.1841, allocations: 0.6975 MB / 1.027 GB, free: 11.29 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008345/0.185, allocations: 378.2 kB / 1.027 GB, free: 10.93 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00171/0.1867, allocations: 1.423 MB / 1.029 GB, free: 9.461 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001188/0.1868, allocations: 188.9 kB / 1.029 GB, free: 9.25 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.000335/0.1871, allocations: 134.2 kB / 1.029 GB, free: 9.117 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005586/0.1877, allocations: 289.1 kB / 1.029 GB, free: 8.836 MB / 0.9948 GB Notification: Performance of SimCode: time 7.41e-07/0.1877, allocations: 0 / 1.029 GB, free: 8.836 MB / 0.9948 GB Notification: Performance of Templates: time 0.02373/0.2114, allocations: 24.35 MB / 1.053 GB, free: 0.8594 MB / 1.01 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.900103599298745]