Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.001022/0.001022, allocations: 80.8 kB / 20.75 MB, free: 3.738 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.001054/0.001054, allocations: 161 kB / 24.16 MB, free: 332 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.009/1.009, allocations: 177.2 MB / 204.6 MB, free: 5.289 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.037/2.037, allocations: 377.9 MB / 0.624 GB, free: 8.375 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.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|V_flow",fileNamePrefix="Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.523e-06/1.523e-06, allocations: 0 / 0.76 GB, free: 6.613 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.392e-05/1.544e-05, allocations: 3.719 kB / 0.7601 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001737/0.001752, allocations: 1.389 MB / 0.7614 GB, free: 5.23 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0004624/0.002215, allocations: 285.2 kB / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.288e-05/0.002247, allocations: 0 / 0.7617 GB, free: 4.957 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.862e-05/0.002266, allocations: 5.656 kB / 0.7617 GB, free: 4.953 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001044/0.002371, allocations: 15.53 kB / 0.7617 GB, free: 4.941 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002565/0.002627, allocations: 65.02 kB / 0.7618 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 8.084e-05/0.002708, allocations: 40.16 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.652e-05/0.002744, allocations: 0.5469 kB / 0.7618 GB, free: 4.852 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001297/0.002874, allocations: 38.41 kB / 0.7618 GB, free: 4.816 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.529e-05/0.002919, allocations: 11.92 kB / 0.7618 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.002935, allocations: 4.906 kB / 0.7619 GB, free: 4.801 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001566/0.003091, allocations: 88.44 kB / 0.7619 GB, free: 4.715 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.203e-05/0.003103, allocations: 3.984 kB / 0.7619 GB, free: 4.711 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.522e-05/0.003118, allocations: 9.078 kB / 0.7619 GB, free: 4.703 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.000136/0.003254, allocations: 91.7 kB / 0.762 GB, free: 4.613 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.893e-06/0.003256, allocations: 3.938 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003257, allocations: 0.8438 kB / 0.762 GB, free: 4.609 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.00326, allocations: 0 / 0.762 GB, free: 4.609 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002406/0.003501, allocations: 258 kB / 0.7623 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 2.826e-05/0.003529, allocations: 8.031 kB / 0.7623 GB, free: 4.328 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.379e-05/0.003553, allocations: 4.938 kB / 0.7623 GB, free: 4.324 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.679e-05/0.00362, allocations: 115.2 kB / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.855e-06/0.003627, allocations: 384 / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.262e-06/0.003634, allocations: 384 / 0.7624 GB, free: 4.188 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.863e-05/0.003702, allocations: 63.95 kB / 0.7625 GB, free: 4.113 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.693e-06/0.003709, allocations: 8.562 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.282e-06/0.003715, allocations: 0.75 kB / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.618e-06/0.00372, allocations: 0 / 0.7625 GB, free: 4.105 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.915e-05/0.003739, allocations: 12.67 kB / 0.7625 GB, free: 4.094 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.942e-05/0.003818, allocations: 61.05 kB / 0.7626 GB, free: 4.02 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.444e-05/0.003873, allocations: 28.52 kB / 0.7626 GB, free: 3.984 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.304e-05/0.003886, allocations: 12.86 kB / 0.7626 GB, free: 3.969 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003411/0.004227, allocations: 144.1 kB / 0.7627 GB, free: 3.836 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.419e-05/0.004251, allocations: 34.55 kB / 0.7628 GB, free: 3.793 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 2.064e-06/0.004253, allocations: 3.984 kB / 0.7628 GB, free: 3.789 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 9.163e-05/0.004345, allocations: 45.62 kB / 0.7628 GB, free: 3.738 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.369e-05/0.004369, allocations: 55.34 kB / 0.7629 GB, free: 3.672 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.349e-05/0.004422, allocations: 110.7 kB / 0.763 GB, free: 3.551 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.868e-06/0.004432, allocations: 25.7 kB / 0.763 GB, free: 3.52 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.248e-05/0.004454, allocations: 80.14 kB / 0.7631 GB, free: 3.438 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.00448, allocations: 21.28 kB / 0.7631 GB, free: 3.418 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.004504, allocations: 21.61 kB / 0.7631 GB, free: 3.391 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.782e-05/0.004581, allocations: 310.8 kB / 0.7634 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.39e-06/0.004587, allocations: 0 / 0.7634 GB, free: 3.078 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.346e-06/0.004595, allocations: 9.266 kB / 0.7634 GB, free: 3.07 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.938e-05/0.004615, allocations: 8.859 kB / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.004616, allocations: 0 / 0.7634 GB, free: 3.059 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.513e-05/0.004662, allocations: 42.28 kB / 0.7635 GB, free: 3.012 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.058e-05/0.004672, allocations: 8 kB / 0.7635 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.004676, allocations: 0.625 kB / 0.7635 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.004686, allocations: 0 / 0.7635 GB, free: 3.004 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.529e-05/0.004722, allocations: 8.656 kB / 0.7635 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.128e-06/0.004726, allocations: 3.938 kB / 0.7635 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.182e-05/0.004738, allocations: 5.266 kB / 0.7635 GB, free: 2.988 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.033e-06/0.004745, allocations: 8 kB / 0.7635 GB, free: 2.98 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 (3): * Single equations (assignments): 3 * 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.29e-05/0.004798, allocations: 108.3 kB / 0.7636 GB, free: 2.867 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.452e-06/0.004804, allocations: 4 kB / 0.7636 GB, free: 2.863 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.342e-05/0.004878, allocations: 49.94 kB / 0.7636 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.004879, allocations: 0 / 0.7636 GB, free: 2.809 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.004882, allocations: 6.906 kB / 0.7637 GB, free: 2.805 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.004886, allocations: 3.984 kB / 0.7637 GB, free: 2.801 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.889e-05/0.004945, allocations: 69.89 kB / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.91e-07/0.004945, allocations: 0 / 0.7637 GB, free: 2.715 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.289e-05/0.004958, allocations: 4 kB / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.00496, allocations: 0 / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.758e-06/0.004964, allocations: 0 / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.004964, allocations: 0 / 0.7637 GB, free: 2.711 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.004968, allocations: 7.984 kB / 0.7637 GB, free: 2.703 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.615e-05/0.005024, allocations: 70.55 kB / 0.7638 GB, free: 2.617 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.523e-05/0.005049, allocations: 7.953 kB / 0.7638 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.706e-06/0.005058, allocations: 0 / 0.7638 GB, free: 2.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.031e-05/0.005078, allocations: 4 kB / 0.7638 GB, free: 2.605 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.374e-05/0.005092, allocations: 9.312 kB / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.005096, allocations: 0 / 0.7638 GB, free: 2.598 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 1.509e-05/0.005111, allocations: 17.44 kB / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5e-08/0.005111, allocations: 0 / 0.7638 GB, free: 2.578 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001234/0.005234, allocations: 36.41 kB / 0.7639 GB, free: 2.543 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 (3): * Single equations (assignments): 3 * 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.0001248/0.005359, allocations: 112.9 kB / 0.764 GB, free: 2.426 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.024e-05/0.005409, allocations: 17.41 kB / 0.764 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.005413, allocations: 5.344 kB / 0.764 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/0.005423, allocations: 12.84 kB / 0.764 GB, free: 2.387 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.216e-05/0.005505, allocations: 9.828 kB / 0.764 GB, free: 2.379 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003304/0.005836, allocations: 131.8 kB / 0.7642 GB, free: 2.227 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.718e-05/0.005863, allocations: 55.36 kB / 0.7642 GB, free: 2.152 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.604e-05/0.005889, allocations: 6.438 kB / 0.7642 GB, free: 2.148 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.821e-05/0.005927, allocations: 57.44 kB / 0.7643 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of SimCode: time 6.11e-07/0.005928, allocations: 0 / 0.7643 GB, free: 2.094 MB / 0.7136 GB Notification: Performance of Templates: time 0.00215/0.008077, allocations: 0.9179 MB / 0.7652 GB, free: 1.219 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.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.16994570242241]