Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.BaseClasses.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.001336/0.001336, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001571/0.001571, allocations: 169 kB / 24.28 MB, free: 276 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.9605/0.9605, allocations: 177.1 MB / 204.6 MB, free: 5.609 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.766/1.766, allocations: 377.8 MB / 0.6239 GB, free: 8.516 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.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 0.8115 GB, free: 0.8984 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.598e-05/1.74e-05, allocations: 3.219 kB / 0.8115 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.001446/0.001463, allocations: 1.317 MB / 0.8128 GB, free: 15.59 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002199/0.001683, allocations: 109.2 kB / 0.8129 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.572e-05/0.001709, allocations: 0 / 0.8129 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.869e-05/0.001727, allocations: 5.344 kB / 0.8129 GB, free: 15.48 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.376e-05/0.001791, allocations: 11.91 kB / 0.8129 GB, free: 15.47 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001751/0.001966, allocations: 33.16 kB / 0.813 GB, free: 15.44 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.175e-05/0.002018, allocations: 19.86 kB / 0.813 GB, free: 15.42 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.356e-05/0.002052, allocations: 3.984 kB / 0.813 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.259e-05/0.002084, allocations: 10.06 kB / 0.813 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.764e-05/0.002132, allocations: 7.984 kB / 0.813 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.27e-05/0.002144, allocations: 0 / 0.813 GB, free: 15.4 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001033/0.002248, allocations: 47.94 kB / 0.813 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.102e-05/0.002259, allocations: 0.5312 kB / 0.813 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.592e-05/0.002275, allocations: 4 kB / 0.813 GB, free: 15.35 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.995e-05/0.002375, allocations: 52.77 kB / 0.8131 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.933e-06/0.002377, allocations: 0 / 0.8131 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of FrontEnd: time 4.41e-07/0.002377, allocations: 1.062 kB / 0.8131 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.597e-06/0.002381, allocations: 0 / 0.8131 GB, free: 15.3 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003111/0.002692, allocations: 360.3 kB / 0.8134 GB, free: 14.91 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.157e-05/0.002723, allocations: 8.906 kB / 0.8134 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.002756, allocations: 0.9375 kB / 0.8134 GB, free: 14.9 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.001e-05/0.002846, allocations: 113.6 kB / 0.8136 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.789e-06/0.002855, allocations: 384 / 0.8136 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.554e-06/0.002863, allocations: 384 / 0.8136 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.437e-05/0.002927, allocations: 42.72 kB / 0.8136 GB, free: 14.72 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.002934, allocations: 5.25 kB / 0.8136 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.664e-06/0.002942, allocations: 0 / 0.8136 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.432e-06/0.002948, allocations: 0 / 0.8136 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.093e-05/0.002969, allocations: 4.625 kB / 0.8136 GB, free: 14.71 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001031/0.003072, allocations: 112.6 kB / 0.8137 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.076e-05/0.003113, allocations: 32.34 kB / 0.8137 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.602e-05/0.003129, allocations: 11.75 kB / 0.8138 GB, free: 14.51 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002896/0.003419, allocations: 84.83 kB / 0.8138 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.086e-05/0.003439, allocations: 41.33 kB / 0.8139 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.442e-06/0.003441, allocations: 1.531 kB / 0.8139 GB, free: 14.38 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001124/0.003553, allocations: 41.62 kB / 0.8139 GB, free: 14.33 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.426e-05/0.003578, allocations: 51.41 kB / 0.814 GB, free: 14.27 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.787e-05/0.003645, allocations: 159.3 kB / 0.8141 GB, free: 14.1 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.325e-06/0.003654, allocations: 25.7 kB / 0.8141 GB, free: 14.07 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.185e-05/0.003686, allocations: 134.9 kB / 0.8143 GB, free: 13.93 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.008e-05/0.003706, allocations: 9.109 kB / 0.8143 GB, free: 13.92 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.319e-05/0.003729, allocations: 23.38 kB / 0.8143 GB, free: 13.89 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.003832, allocations: 492.1 kB / 0.8148 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-06/0.00384, allocations: 0 / 0.8148 GB, free: 13.4 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.237e-06/0.003849, allocations: 12.41 kB / 0.8148 GB, free: 13.39 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.436e-05/0.003873, allocations: 17.09 kB / 0.8148 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.452e-06/0.003875, allocations: 0 / 0.8148 GB, free: 13.37 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.085e-05/0.003916, allocations: 38.5 kB / 0.8148 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.003926, allocations: 8 kB / 0.8148 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-06/0.003931, allocations: 0.7188 kB / 0.8148 GB, free: 13.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.003942, allocations: 3.938 kB / 0.8148 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.695e-05/0.003979, allocations: 5.375 kB / 0.8149 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.897e-06/0.003983, allocations: 0 / 0.8149 GB, free: 13.31 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.326e-05/0.003996, allocations: 7.984 kB / 0.8149 GB, free: 13.3 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-06/0.003999, allocations: 1.156 kB / 0.8149 GB, free: 13.3 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.919e-05/0.004059, allocations: 164.5 kB / 0.815 GB, free: 13.13 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.39e-06/0.004064, allocations: 4 kB / 0.815 GB, free: 13.12 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.702e-05/0.004131, allocations: 41.8 kB / 0.8151 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.004134, allocations: 4.531 kB / 0.8151 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.004138, allocations: 3.984 kB / 0.8151 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.716e-06/0.00414, allocations: 0.9062 kB / 0.8151 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.451e-05/0.004195, allocations: 112.6 kB / 0.8152 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.004195, allocations: 0.8438 kB / 0.8152 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.079e-05/0.004206, allocations: 4 kB / 0.8152 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.004207, allocations: 0 / 0.8152 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.31e-06/0.004213, allocations: 1.281 kB / 0.8152 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.004213, allocations: 0 / 0.8152 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.004216, allocations: 3.938 kB / 0.8152 GB, free: 12.92 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.087e-05/0.004266, allocations: 81.06 kB / 0.8153 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 5.34e-06/0.004272, allocations: 0.875 kB / 0.8153 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.025e-06/0.00428, allocations: 0 / 0.8153 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.154e-06/0.004287, allocations: 4 kB / 0.8153 GB, free: 12.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.0043, allocations: 9.484 kB / 0.8153 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.132e-06/0.004301, allocations: 0 / 0.8153 GB, free: 12.81 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.16e-05/0.004332, allocations: 127.2 kB / 0.8154 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.004333, allocations: 0 / 0.8154 GB, free: 12.68 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001295/0.004462, allocations: 16.94 kB / 0.8154 GB, free: 12.67 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001116/0.004574, allocations: 114.5 kB / 0.8155 GB, free: 12.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.006e-05/0.004634, allocations: 15.69 kB / 0.8155 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.004635, allocations: 3.938 kB / 0.8155 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.087e-06/0.004644, allocations: 15.62 kB / 0.8156 GB, free: 12.5 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001359/0.00478, allocations: 19.91 kB / 0.8156 GB, free: 12.48 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003593/0.005139, allocations: 114.8 kB / 0.8157 GB, free: 12.34 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.806e-05/0.005167, allocations: 57.3 kB / 0.8157 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.818e-05/0.005185, allocations: 0 / 0.8157 GB, free: 12.27 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.644e-05/0.005202, allocations: 8.5 kB / 0.8158 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of SimCode: time 5.71e-07/0.005202, allocations: 1.094 kB / 0.8158 GB, free: 12.26 MB / 0.7292 GB Notification: Performance of Templates: time 0.001944/0.007146, allocations: 0.6624 MB / 0.8164 GB, free: 11.63 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_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: 4.730288502993062]