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.001643/0.001643, allocations: 80.8 kB / 20.75 MB, free: 3.742 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.002421/0.002421, allocations: 161 kB / 24.16 MB, free: 336 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 1.054/1.054, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 2.022/2.022, allocations: 377.9 MB / 0.624 GB, free: 8.387 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.794e-06/1.794e-06, allocations: 0 / 0.76 GB, free: 6.594 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.571e-05/2.75e-05, allocations: 4.141 kB / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw): time 0.002434/0.002461, allocations: 1.357 MB / 0.7614 GB, free: 5.242 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002642/0.002726, allocations: 115.8 kB / 0.7615 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.622e-05/0.002752, allocations: 0 / 0.7615 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.579e-05/0.002768, allocations: 0 / 0.7615 GB, free: 5.133 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.842e-05/0.002846, allocations: 7.094 kB / 0.7615 GB, free: 5.129 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001606/0.003007, allocations: 29.97 kB / 0.7615 GB, free: 5.102 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 7.855e-05/0.003085, allocations: 23.03 kB / 0.7615 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 5.605e-05/0.003141, allocations: 0 / 0.7615 GB, free: 5.086 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.532e-05/0.003197, allocations: 9.25 kB / 0.7616 GB, free: 5.078 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.664e-05/0.003253, allocations: 8.641 kB / 0.7616 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.003267, allocations: 0 / 0.7616 GB, free: 5.07 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001424/0.003409, allocations: 60.52 kB / 0.7616 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.223e-05/0.003422, allocations: 2.391 kB / 0.7616 GB, free: 5.012 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.506e-05/0.003437, allocations: 8.656 kB / 0.7616 GB, free: 5.004 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.0001095/0.003546, allocations: 49.08 kB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 2.414e-06/0.003549, allocations: 0 / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.51e-07/0.003549, allocations: 1 kB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.908e-06/0.003553, allocations: 0 / 0.7617 GB, free: 4.957 MB / 0.7136 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.0002837/0.003837, allocations: 229.4 kB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.487e-05/0.003872, allocations: 8.578 kB / 0.7619 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.46e-05/0.003896, allocations: 1.688 kB / 0.7619 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.718e-05/0.003994, allocations: 118 kB / 0.762 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.004003, allocations: 1.125 kB / 0.762 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.901e-06/0.004009, allocations: 384 / 0.762 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.367e-05/0.004073, allocations: 37.22 kB / 0.7621 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.004082, allocations: 3.938 kB / 0.7621 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.053e-06/0.004089, allocations: 0 / 0.7621 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.004093, allocations: 0 / 0.7621 GB, free: 4.52 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.713e-05/0.004111, allocations: 7.938 kB / 0.7621 GB, free: 4.512 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.877e-05/0.004199, allocations: 61.03 kB / 0.7621 GB, free: 4.438 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.136e-05/0.004241, allocations: 20.42 kB / 0.7621 GB, free: 4.41 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.104e-05/0.004252, allocations: 5.516 kB / 0.7622 GB, free: 4.402 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002784/0.00453, allocations: 89.83 kB / 0.7622 GB, free: 4.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.004551, allocations: 34.56 kB / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.232e-06/0.004552, allocations: 0 / 0.7623 GB, free: 4.277 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 9.717e-05/0.004649, allocations: 37.62 kB / 0.7623 GB, free: 4.234 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.907e-05/0.004678, allocations: 61.64 kB / 0.7624 GB, free: 4.164 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6e-05/0.004738, allocations: 106.7 kB / 0.7625 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.307e-06/0.004748, allocations: 25.7 kB / 0.7625 GB, free: 4.016 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.247e-05/0.00477, allocations: 84.12 kB / 0.7626 GB, free: 3.93 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.456e-05/0.004795, allocations: 5.516 kB / 0.7626 GB, free: 3.926 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.465e-05/0.004819, allocations: 17.7 kB / 0.7626 GB, free: 3.902 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 8.26e-05/0.004902, allocations: 314.8 kB / 0.7629 GB, free: 3.586 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.975e-06/0.00491, allocations: 4 kB / 0.7629 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-06/0.004917, allocations: 1.281 kB / 0.7629 GB, free: 3.582 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.561e-05/0.004943, allocations: 13.5 kB / 0.7629 GB, free: 3.566 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.004944, allocations: 4.531 kB / 0.7629 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.687e-05/0.004991, allocations: 34.55 kB / 0.7629 GB, free: 3.523 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.005004, allocations: 4 kB / 0.763 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.005009, allocations: 0.6562 kB / 0.763 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.172e-05/0.005021, allocations: 0 / 0.763 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.365e-05/0.005065, allocations: 5.266 kB / 0.763 GB, free: 3.516 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.137e-06/0.005069, allocations: 7 kB / 0.763 GB, free: 3.512 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.672e-05/0.005085, allocations: 3.984 kB / 0.763 GB, free: 3.508 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.005091, allocations: 4 kB / 0.763 GB, free: 3.504 MB / 0.7136 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.336e-05/0.005145, allocations: 105.8 kB / 0.7631 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.568e-06/0.005149, allocations: 0 / 0.7631 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.716e-05/0.005227, allocations: 48.94 kB / 0.7631 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.005229, allocations: 0.6562 kB / 0.7631 GB, free: 3.34 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.005233, allocations: 11.06 kB / 0.7631 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.005236, allocations: 0 / 0.7631 GB, free: 3.332 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.422e-05/0.00529, allocations: 61.91 kB / 0.7632 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.005291, allocations: 0 / 0.7632 GB, free: 3.254 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.664e-05/0.005308, allocations: 4 kB / 0.7632 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.005309, allocations: 0.6562 kB / 0.7632 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.547e-06/0.005313, allocations: 0 / 0.7632 GB, free: 3.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.005314, allocations: 3.984 kB / 0.7632 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.005315, allocations: 0 / 0.7632 GB, free: 3.246 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.66e-05/0.005372, allocations: 69.94 kB / 0.7633 GB, free: 3.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 8.636e-06/0.005381, allocations: 3.984 kB / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.362e-06/0.005387, allocations: 1.562 kB / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.386e-06/0.005395, allocations: 0 / 0.7633 GB, free: 3.156 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.109e-05/0.005406, allocations: 4.531 kB / 0.7633 GB, free: 3.152 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.083e-06/0.005408, allocations: 4 kB / 0.7633 GB, free: 3.148 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.021e-05/0.005419, allocations: 5.672 kB / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.1e-08/0.005419, allocations: 0 / 0.7633 GB, free: 3.141 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000114/0.005533, allocations: 26.25 kB / 0.7633 GB, free: 3.117 MB / 0.7136 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.0001435/0.005676, allocations: 96.34 kB / 0.7634 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.356e-05/0.00573, allocations: 12.84 kB / 0.7634 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.005733, allocations: 0 / 0.7634 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 7.825e-06/0.005741, allocations: 11.64 kB / 0.7634 GB, free: 2.984 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001168/0.005857, allocations: 7.938 kB / 0.7634 GB, free: 2.977 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003762/0.006234, allocations: 108.7 kB / 0.7635 GB, free: 2.844 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.12e-05/0.006265, allocations: 59.34 kB / 0.7636 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.227e-05/0.006287, allocations: 4 kB / 0.7636 GB, free: 2.766 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.61e-05/0.006333, allocations: 51.38 kB / 0.7636 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of SimCode: time 7.31e-07/0.006334, allocations: 4 kB / 0.7636 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of Templates: time 0.00227/0.008604, allocations: 0.744 MB / 0.7644 GB, free: 2.004 MB / 0.7136 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 -s gbode -gbm=radauIIA3 -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: 5.212857866194099]