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.0009591/0.0009591, allocations: 87.58 kB / 20.45 MB, free: 4.121 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.0009487/0.0009487, allocations: 161.4 kB / 23.82 MB, free: 0.7539 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.9135/0.9135, allocations: 177.1 MB / 204.2 MB, free: 5.652 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.693/1.693, allocations: 359 MB / 0.6052 GB, free: 11.02 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 / 0.7871 GB, free: 12.54 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.888e-05/2.036e-05, allocations: 3.312 kB / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.Examples.PowerLaw): time 0.1275/0.1275, allocations: 149.6 MB / 0.9332 GB, free: 6.457 MB / 0.8855 GB Notification: Performance of NFInst.instExpressions: time 0.003623/0.1311, allocations: 2.298 MB / 0.9354 GB, free: 4.156 MB / 0.8855 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003991/0.1315, allocations: 31.75 kB / 0.9354 GB, free: 4.125 MB / 0.8855 GB Notification: Performance of NFTyping.typeComponents: time 0.0006088/0.1321, allocations: 222.3 kB / 0.9356 GB, free: 3.906 MB / 0.8855 GB Notification: Performance of NFTyping.typeBindings: time 0.001382/0.1335, allocations: 0.8505 MB / 0.9365 GB, free: 3.051 MB / 0.8855 GB Notification: Performance of NFTyping.typeClassSections: time 0.001085/0.1346, allocations: 0.6468 MB / 0.9371 GB, free: 2.402 MB / 0.8855 GB Notification: Performance of NFFlatten.flatten: time 0.001497/0.1361, allocations: 1.631 MB / 0.9387 GB, free: 0.7617 MB / 0.8855 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00101/0.1371, allocations: 0.916 MB / 0.9396 GB, free: 15.83 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001252/0.1384, allocations: 1.126 MB / 0.9407 GB, free: 14.7 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008637/0.1392, allocations: 0.7793 MB / 0.9414 GB, free: 13.92 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 0.0001302/0.1393, allocations: 96 kB / 0.9415 GB, free: 13.83 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005921/0.1399, allocations: 403.2 kB / 0.9419 GB, free: 13.43 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 0.0002964/0.1402, allocations: 386.9 kB / 0.9423 GB, free: 13.05 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 0.0006029/0.1408, allocations: 387.1 kB / 0.9427 GB, free: 12.68 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.001095/0.1419, allocations: 1.118 MB / 0.9438 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.1419, allocations: 4 kB / 0.9438 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.783e-06/0.1419, allocations: 0 / 0.9438 GB, free: 11.55 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.406e-06/0.1419, allocations: 0 / 0.9438 GB, free: 11.55 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.001765/0.1437, allocations: 1.223 MB / 0.945 GB, free: 10.29 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.762e-05/0.1437, allocations: 12.03 kB / 0.945 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.1448, allocations: 291.8 kB / 0.9452 GB, free: 9.992 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007295/0.1455, allocations: 0.5646 MB / 0.9458 GB, free: 9.398 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.168e-05/0.1456, allocations: 33 kB / 0.9458 GB, free: 9.363 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.798e-05/0.1457, allocations: 51.95 kB / 0.9459 GB, free: 9.312 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.1468, allocations: 0.8804 MB / 0.9467 GB, free: 8.324 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.187e-05/0.1468, allocations: 7.938 kB / 0.9467 GB, free: 8.316 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.478e-05/0.1468, allocations: 16 kB / 0.9468 GB, free: 8.301 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.8e-05/0.1469, allocations: 31.97 kB / 0.9468 GB, free: 8.27 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008523/0.1477, allocations: 0.513 MB / 0.9473 GB, free: 7.754 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.003465/0.1512, allocations: 4.28 MB / 0.9515 GB, free: 3.336 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004235/0.1516, allocations: 332.7 kB / 0.9518 GB, free: 3 MB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003249/0.1519, allocations: 285 kB / 0.9521 GB, free: 2.715 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003139/0.1523, allocations: 120.4 kB / 0.9522 GB, free: 2.598 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.1523, allocations: 37.89 kB / 0.9522 GB, free: 2.551 MB / 0.9011 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001107/0.1534, allocations: 0.6476 MB / 0.9528 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=50): time 1.674e-06/0.1534, allocations: 0 / 0.9528 GB, free: 1.902 MB / 0.9011 GB Notification: Performance of matching and sorting (n=50): time 0.007217/0.1606, allocations: 2.614 MB / 0.9554 GB, free: 15.27 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.604e-05/0.1606, allocations: 59.91 kB / 0.9555 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004484/0.1611, allocations: 0.6322 MB / 0.9561 GB, free: 14.55 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 5.107e-05/0.1611, allocations: 37.7 kB / 0.9561 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 0.00045/0.1616, allocations: 443.2 kB / 0.9565 GB, free: 14.07 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001227/0.1617, allocations: 190.4 kB / 0.9567 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/0.1619, allocations: 192.1 kB / 0.9569 GB, free: 13.69 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 0.0001476/0.162, allocations: 0.5586 MB / 0.9574 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002882/0.1623, allocations: 217.8 kB / 0.9576 GB, free: 12.9 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000442/0.1628, allocations: 0.5939 MB / 0.9582 GB, free: 12.16 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007829/0.1636, allocations: 0.8272 MB / 0.959 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.928e-06/0.1636, allocations: 0 / 0.959 GB, free: 11.2 MB / 0.9167 GB Notification: Performance of matching and sorting (n=84) (initialization): time 0.004773/0.1683, allocations: 1.947 MB / 0.9609 GB, free: 9.23 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/0.1683, allocations: 8 kB / 0.9609 GB, free: 9.223 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.295e-06/0.1684, allocations: 12.06 kB / 0.961 GB, free: 9.211 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005482/0.1738, allocations: 2.114 MB / 0.963 GB, free: 7.086 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002698/0.1741, allocations: 131.8 kB / 0.9631 GB, free: 6.957 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00592/0.18, allocations: 5.658 MB / 0.9687 GB, free: 1.035 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000324/0.1803, allocations: 23.98 kB / 0.9687 GB, free: 1.012 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.316e-05/0.1804, allocations: 59.94 kB / 0.9687 GB, free: 0.9531 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.0001849/0.1806, allocations: 208.2 kB / 0.9689 GB, free: 0.7383 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001343/0.1807, allocations: 95.52 kB / 0.969 GB, free: 0.6445 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002515/0.1832, allocations: 1.382 MB / 0.9704 GB, free: 15.24 MB / 0.9323 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.839e-06/0.1833, allocations: 8 kB / 0.9704 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.1833, allocations: 4 kB / 0.9704 GB, free: 15.23 MB / 0.9323 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.562e-06/0.1833, allocations: 7.984 kB / 0.9704 GB, free: 15.22 MB / 0.9323 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002671/0.1859, allocations: 1.939 MB / 0.9723 GB, free: 13.21 MB / 0.9323 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.028e-06/0.1859, allocations: 4 kB / 0.9723 GB, free: 13.2 MB / 0.9323 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002096/0.1861, allocations: 79.89 kB / 0.9724 GB, free: 13.12 MB / 0.9323 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002357/0.1885, allocations: 1.354 MB / 0.9737 GB, free: 11.76 MB / 0.9323 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.269e-05/0.1885, allocations: 15.94 kB / 0.9737 GB, free: 11.75 MB / 0.9323 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003454/0.192, allocations: 4.442 MB / 0.9781 GB, free: 7.059 MB / 0.9323 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.192, allocations: 4 kB / 0.9781 GB, free: 7.055 MB / 0.9323 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002282/0.1943, allocations: 1.591 MB / 0.9796 GB, free: 5.41 MB / 0.9323 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000178/0.1945, allocations: 143.3 kB / 0.9797 GB, free: 5.27 MB / 0.9323 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.175e-05/0.1945, allocations: 12 kB / 0.9798 GB, free: 5.258 MB / 0.9323 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002357/0.1948, allocations: 23.92 kB / 0.9798 GB, free: 5.234 MB / 0.9323 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.782e-05/0.1948, allocations: 52.34 kB / 0.9798 GB, free: 5.184 MB / 0.9323 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.751e-05/0.1949, allocations: 20 kB / 0.9799 GB, free: 5.164 MB / 0.9323 GB Notification: Performance of sorting global known variables: time 0.0002634/0.1951, allocations: 407 kB / 0.9802 GB, free: 4.77 MB / 0.9323 GB Notification: Performance of sort global known variables: time 8e-08/0.1951, allocations: 0 / 0.9802 GB, free: 4.77 MB / 0.9323 GB Notification: Performance of remove unused functions: time 0.0005756/0.1957, allocations: 311.7 kB / 0.9805 GB, free: 4.465 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.0002375/0.196, allocations: 161.5 kB / 0.9807 GB, free: 4.301 MB / 0.9323 GB Notification: Performance of simCode: created initialization part: time 0.001669/0.1976, allocations: 1.3 MB / 0.982 GB, free: 2.965 MB / 0.9323 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1976, allocations: 0 / 0.982 GB, free: 2.965 MB / 0.9323 GB Notification: Performance of simCode: created simulation system equations: time 0.0008136/0.1984, allocations: 0.8589 MB / 0.9828 GB, free: 2.066 MB / 0.9323 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008776/0.1993, allocations: 363.6 kB / 0.9831 GB, free: 1.719 MB / 0.9323 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0021/0.2014, allocations: 1.531 MB / 0.9846 GB, free: 136 kB / 0.9323 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.2015, allocations: 196.9 kB / 0.9848 GB, free: 15.91 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.0002895/0.2018, allocations: 154.1 kB / 0.985 GB, free: 15.76 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.202, allocations: 64.47 kB / 0.985 GB, free: 15.7 MB / 0.948 GB Notification: Performance of SimCode: time 8.72e-07/0.202, allocations: 0 / 0.985 GB, free: 15.7 MB / 0.948 GB Notification: Performance of Templates: time 0.02122/0.2232, allocations: 21.85 MB / 1.006 GB, free: 10.21 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.4145498890429735]