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.0009834/0.0009834, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001083/0.001083, allocations: 165 kB / 23.82 MB, free: 0.7461 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.9318/0.9318, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.814/1.814, allocations: 377.8 MB / 0.6236 GB, free: 8.559 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.513e-06/1.513e-06, allocations: 0 / 0.8115 GB, free: 0.6094 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.633e-05/1.784e-05, allocations: 3.078 kB / 0.8115 GB, free: 0.6055 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.00164/0.001658, allocations: 1.318 MB / 0.8128 GB, free: 15.3 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.000261/0.001919, allocations: 116.5 kB / 0.8129 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.153e-05/0.00195, allocations: 0 / 0.8129 GB, free: 15.19 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.388e-05/0.001974, allocations: 4.594 kB / 0.8129 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 7.685e-05/0.002051, allocations: 0.875 kB / 0.8129 GB, free: 15.18 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002106/0.002262, allocations: 40.69 kB / 0.813 GB, free: 15.14 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.42e-05/0.002316, allocations: 11.94 kB / 0.813 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.251e-05/0.002358, allocations: 5.688 kB / 0.813 GB, free: 15.13 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.807e-05/0.002396, allocations: 15.92 kB / 0.813 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.001e-05/0.002446, allocations: 0 / 0.813 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.002461, allocations: 0 / 0.813 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001167/0.002577, allocations: 57.45 kB / 0.8131 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.457e-05/0.002592, allocations: 0 / 0.8131 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.789e-05/0.00261, allocations: 0 / 0.8131 GB, free: 15.06 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.002733, allocations: 43.88 kB / 0.8131 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.084e-06/0.002735, allocations: 1.75 kB / 0.8131 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of FrontEnd: time 7.81e-07/0.002735, allocations: 0 / 0.8131 GB, free: 15.02 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.00274, allocations: 0 / 0.8131 GB, free: 15.02 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.0003579/0.003097, allocations: 356.3 kB / 0.8134 GB, free: 14.63 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/0.003141, allocations: 17.05 kB / 0.8135 GB, free: 14.62 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.003181, allocations: 4.938 kB / 0.8135 GB, free: 14.61 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.04e-05/0.003272, allocations: 108.6 kB / 0.8136 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.003283, allocations: 5.875 kB / 0.8136 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.003292, allocations: 384 / 0.8136 GB, free: 14.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.183e-05/0.003364, allocations: 38.2 kB / 0.8136 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.003373, allocations: 6.25 kB / 0.8136 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.345e-06/0.003381, allocations: 0 / 0.8136 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.261e-06/0.003388, allocations: 0 / 0.8136 GB, free: 14.43 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.086e-05/0.003409, allocations: 7.984 kB / 0.8136 GB, free: 14.42 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001193/0.003528, allocations: 104.6 kB / 0.8137 GB, free: 14.29 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.686e-05/0.003575, allocations: 35.09 kB / 0.8138 GB, free: 14.24 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.821e-05/0.003593, allocations: 8.219 kB / 0.8138 GB, free: 14.23 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003/0.003893, allocations: 96.81 kB / 0.8139 GB, free: 14.14 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.147e-05/0.003914, allocations: 37.89 kB / 0.8139 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.003915, allocations: 0.7188 kB / 0.8139 GB, free: 14.09 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001276/0.004043, allocations: 43.02 kB / 0.8139 GB, free: 14.04 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.449e-05/0.004067, allocations: 51.41 kB / 0.814 GB, free: 13.98 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.396e-05/0.004141, allocations: 161.9 kB / 0.8141 GB, free: 13.8 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.536e-06/0.00415, allocations: 25.7 kB / 0.8142 GB, free: 13.77 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/0.004182, allocations: 127.7 kB / 0.8143 GB, free: 13.64 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.28e-05/0.004205, allocations: 11.88 kB / 0.8143 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.29e-05/0.004228, allocations: 24.31 kB / 0.8143 GB, free: 13.6 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001084/0.004336, allocations: 496.1 kB / 0.8148 GB, free: 13.11 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.628e-06/0.004346, allocations: 4 kB / 0.8148 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.307e-06/0.004355, allocations: 5.156 kB / 0.8148 GB, free: 13.1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.446e-05/0.00438, allocations: 15.69 kB / 0.8148 GB, free: 13.08 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.004382, allocations: 4.969 kB / 0.8148 GB, free: 13.07 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.596e-05/0.004428, allocations: 33.7 kB / 0.8148 GB, free: 13.04 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.00444, allocations: 6.219 kB / 0.8149 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.004445, allocations: 0 / 0.8149 GB, free: 13.03 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.565e-05/0.004461, allocations: 7.922 kB / 0.8149 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.093e-05/0.004512, allocations: 4 kB / 0.8149 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.59e-06/0.004518, allocations: 0 / 0.8149 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.243e-05/0.00453, allocations: 0 / 0.8149 GB, free: 13.02 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.749e-06/0.004535, allocations: 7.156 kB / 0.8149 GB, free: 13.02 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 6.637e-05/0.004601, allocations: 164.5 kB / 0.815 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.569e-06/0.004606, allocations: 192 / 0.815 GB, free: 12.84 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.304e-05/0.004679, allocations: 45 kB / 0.8151 GB, free: 12.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.004682, allocations: 7.922 kB / 0.8151 GB, free: 12.79 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.14e-06/0.004687, allocations: 8 kB / 0.8151 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.004689, allocations: 0 / 0.8151 GB, free: 12.78 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.986e-05/0.004749, allocations: 109.7 kB / 0.8152 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.004751, allocations: 4 kB / 0.8152 GB, free: 12.64 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.587e-05/0.004767, allocations: 3.984 kB / 0.8152 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.004768, allocations: 0.5312 kB / 0.8152 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.632e-06/0.004775, allocations: 4 kB / 0.8152 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.71e-07/0.004775, allocations: 0.5312 kB / 0.8152 GB, free: 12.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.063e-06/0.004777, allocations: 4.5 kB / 0.8152 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.603e-05/0.004833, allocations: 77.34 kB / 0.8153 GB, free: 12.53 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.783e-06/0.00484, allocations: 4 kB / 0.8153 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.235e-06/0.004848, allocations: 0 / 0.8153 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-06/0.004855, allocations: 0.9688 kB / 0.8153 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.461e-05/0.004869, allocations: 3.938 kB / 0.8153 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.004872, allocations: 5.094 kB / 0.8153 GB, free: 12.52 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.275e-05/0.004905, allocations: 123.2 kB / 0.8154 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004905, allocations: 0 / 0.8154 GB, free: 12.39 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001357/0.005041, allocations: 20.58 kB / 0.8154 GB, free: 12.38 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.00027/0.005311, allocations: 112.1 kB / 0.8155 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.425e-05/0.005375, allocations: 16.77 kB / 0.8156 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.322e-06/0.005377, allocations: 3.938 kB / 0.8156 GB, free: 12.23 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.405e-06/0.005385, allocations: 11.69 kB / 0.8156 GB, free: 12.21 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001417/0.005527, allocations: 13.02 kB / 0.8156 GB, free: 12.2 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000409/0.005936, allocations: 115.4 kB / 0.8157 GB, free: 12.06 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.862e-05/0.005964, allocations: 56.41 kB / 0.8157 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.957e-05/0.005984, allocations: 1.031 kB / 0.8157 GB, free: 11.99 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.224e-05/0.006006, allocations: 16.5 kB / 0.8158 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of SimCode: time 4.31e-07/0.006007, allocations: 0.5938 kB / 0.8158 GB, free: 11.97 MB / 0.7292 GB Notification: Performance of Templates: time 0.002145/0.008152, allocations: 0.6618 MB / 0.8164 GB, free: 11.33 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.836690635886043]