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.001445/0.001445, 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.001043/0.001043, allocations: 163.7 kB / 24.86 MB, free: 9.285 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.8978/0.8978, allocations: 177.1 MB / 205.3 MB, free: 5.52 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.678/1.678, allocations: 359 MB / 0.6063 GB, free: 10.9 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.533e-06/1.533e-06, allocations: 0 / 0.7883 GB, free: 12.25 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.732e-05/1.886e-05, allocations: 3.312 kB / 0.7883 GB, free: 12.24 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1358/0.1358, allocations: 146.8 MB / 0.9317 GB, free: 8.938 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.003477/0.1393, allocations: 2.292 MB / 0.9339 GB, free: 6.645 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003065/0.1396, allocations: 27.75 kB / 0.9339 GB, free: 6.617 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0005071/0.1401, allocations: 214.3 kB / 0.9341 GB, free: 6.406 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001097/0.1412, allocations: 0.8544 MB / 0.935 GB, free: 5.547 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008453/0.142, allocations: 0.6468 MB / 0.9356 GB, free: 4.898 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001076/0.1431, allocations: 1.627 MB / 0.9372 GB, free: 3.262 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000741/0.1438, allocations: 0.9159 MB / 0.9381 GB, free: 2.336 MB / 0.8855 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008588/0.1447, allocations: 1.134 MB / 0.9392 GB, free: 1.199 MB / 0.8855 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006471/0.1454, allocations: 0.7753 MB / 0.9399 GB, free: 432 kB / 0.8855 GB Notification: Performance of NFPackage.collectConstants: time 0.0001006/0.1455, allocations: 96 kB / 0.94 GB, free: 336 kB / 0.8855 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000475/0.1459, allocations: 407.1 kB / 0.9404 GB, free: 15.93 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0004864/0.1464, allocations: 382.9 kB / 0.9408 GB, free: 15.55 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0002689/0.1467, allocations: 391.1 kB / 0.9412 GB, free: 15.17 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0008474/0.1475, allocations: 1.114 MB / 0.9422 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.1475, allocations: 4 kB / 0.9423 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of FrontEnd: time 9.81e-07/0.1475, allocations: 0 / 0.9423 GB, free: 14.05 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.586e-06/0.1475, allocations: 4 kB / 0.9423 GB, free: 14.05 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.001378/0.1489, allocations: 1.234 MB / 0.9435 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.022e-05/0.149, allocations: 8.031 kB / 0.9435 GB, free: 12.77 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007449/0.1497, allocations: 287.8 kB / 0.9437 GB, free: 12.48 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005322/0.1502, allocations: 0.5451 MB / 0.9443 GB, free: 11.91 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.486e-05/0.1503, allocations: 37 kB / 0.9443 GB, free: 11.87 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.481e-05/0.1503, allocations: 51.95 kB / 0.9444 GB, free: 11.82 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006919/0.151, allocations: 0.8158 MB / 0.9452 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.912e-05/0.151, allocations: 11.92 kB / 0.9452 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.76e-05/0.1511, allocations: 24 kB / 0.9452 GB, free: 10.86 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.376e-05/0.1511, allocations: 20 kB / 0.9452 GB, free: 10.84 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004383/0.1515, allocations: 426.3 kB / 0.9456 GB, free: 10.42 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.002852/0.1544, allocations: 4.175 MB / 0.9497 GB, free: 6.117 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000352/0.1548, allocations: 296.6 kB / 0.95 GB, free: 5.816 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002457/0.155, allocations: 241.1 kB / 0.9502 GB, free: 5.574 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003076/0.1553, allocations: 116.4 kB / 0.9503 GB, free: 5.461 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.604e-05/0.1553, allocations: 45.89 kB / 0.9504 GB, free: 5.406 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001163/0.1565, allocations: 0.6398 MB / 0.951 GB, free: 4.766 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=50): time 2.514e-06/0.1565, allocations: 0 / 0.951 GB, free: 4.766 MB / 0.9011 GB Notification: Performance of matching and sorting (n=50): time 0.006991/0.1635, allocations: 2.485 MB / 0.9534 GB, free: 2.266 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.008e-05/0.1635, allocations: 59.89 kB / 0.9535 GB, free: 2.195 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003953/0.1639, allocations: 0.6356 MB / 0.9541 GB, free: 1.543 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 5.267e-05/0.164, allocations: 37.7 kB / 0.9541 GB, free: 1.5 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003387/0.1643, allocations: 443.2 kB / 0.9546 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001142/0.1644, allocations: 190.4 kB / 0.9547 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001878/0.1646, allocations: 196 kB / 0.9549 GB, free: 0.6719 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1648, allocations: 0.5702 MB / 0.9555 GB, free: 92 kB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002066/0.165, allocations: 173.8 kB / 0.9556 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003524/0.1653, allocations: 0.547 MB / 0.9562 GB, free: 15.22 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006217/0.1659, allocations: 0.7491 MB / 0.9569 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.1659, allocations: 0 / 0.9569 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004598/0.1705, allocations: 1.854 MB / 0.9587 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/0.1706, allocations: 8 kB / 0.9587 GB, free: 12.46 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.1706, allocations: 8 kB / 0.9587 GB, free: 12.45 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005435/0.176, allocations: 2.106 MB / 0.9608 GB, free: 10.33 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.1763, allocations: 135.8 kB / 0.9609 GB, free: 10.2 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005675/0.1819, allocations: 5.506 MB / 0.9663 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003777/0.1823, allocations: 20 kB / 0.9663 GB, free: 4.43 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.219e-05/0.1824, allocations: 51.94 kB / 0.9664 GB, free: 4.379 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.0001999/0.1826, allocations: 212.2 kB / 0.9666 GB, free: 4.16 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000141/0.1827, allocations: 99.47 kB / 0.9667 GB, free: 4.062 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002216/0.1849, allocations: 1.3 MB / 0.9679 GB, free: 2.738 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.429e-06/0.1849, allocations: 7.984 kB / 0.9679 GB, free: 2.73 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.93e-06/0.185, allocations: 4 kB / 0.9679 GB, free: 2.727 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.749e-06/0.185, allocations: 0 / 0.9679 GB, free: 2.727 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002737/0.1877, allocations: 1.752 MB / 0.9697 GB, free: 0.9062 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.534e-06/0.1877, allocations: 8.188 kB / 0.9697 GB, free: 0.8984 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002164/0.1879, allocations: 87.89 kB / 0.9697 GB, free: 0.8125 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002515/0.1904, allocations: 1.334 MB / 0.971 GB, free: 15.47 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.383e-05/0.1905, allocations: 16 kB / 0.9711 GB, free: 15.45 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003146/0.1936, allocations: 4.347 MB / 0.9753 GB, free: 10.88 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.787e-06/0.1936, allocations: 7.938 kB / 0.9753 GB, free: 10.87 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002279/0.1959, allocations: 1.458 MB / 0.9767 GB, free: 9.359 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001832/0.1961, allocations: 139.3 kB / 0.9769 GB, free: 9.223 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.274e-05/0.1961, allocations: 15.98 kB / 0.9769 GB, free: 9.207 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002498/0.1964, allocations: 24.06 kB / 0.9769 GB, free: 9.184 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.154e-05/0.1965, allocations: 48.41 kB / 0.977 GB, free: 9.137 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.863e-05/0.1965, allocations: 19.98 kB / 0.977 GB, free: 9.117 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002249/0.1967, allocations: 378.8 kB / 0.9773 GB, free: 8.75 MB / 0.9323 GB Notification: Performance of sort global known variables: time 4e-08/0.1967, allocations: 0 / 0.9773 GB, free: 8.75 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0006542/0.1974, allocations: 307.7 kB / 0.9776 GB, free: 8.449 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.0002257/0.1976, allocations: 159.1 kB / 0.9778 GB, free: 8.285 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001547/0.1992, allocations: 1.226 MB / 0.979 GB, free: 7.023 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1992, allocations: 3.938 kB / 0.979 GB, free: 7.02 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0007879/0.2, allocations: 0.8121 MB / 0.9798 GB, free: 6.168 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009312/0.2009, allocations: 359.3 kB / 0.9801 GB, free: 5.824 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001786/0.2027, allocations: 1.507 MB / 0.9816 GB, free: 4.258 MB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001291/0.2028, allocations: 196.8 kB / 0.9818 GB, free: 4.043 MB / 0.9323 GB Notification: Performance of simCode: alias equations: time 0.0002863/0.2031, allocations: 126.2 kB / 0.9819 GB, free: 3.918 MB / 0.9323 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005024/0.2036, allocations: 338 kB / 0.9822 GB, free: 3.586 MB / 0.9323 GB Notification: Performance of SimCode: time 1.182e-06/0.2036, allocations: 0 / 0.9822 GB, free: 3.586 MB / 0.9323 GB Notification: Performance of Templates: time 0.0252/0.2288, allocations: 22.58 MB / 1.004 GB, free: 13.4 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.339556942693889]