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.0008149/0.0008149, allocations: 91.67 kB / 20.46 MB, free: 4.129 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.0008806/0.0008806, allocations: 168.9 kB / 23.82 MB, free: 0.7656 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.8772/0.8772, allocations: 177.1 MB / 204.2 MB, free: 5.215 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.748/1.748, allocations: 377.8 MB / 0.6236 GB, free: 8.555 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.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.423e-06/1.423e-06, allocations: 0 / 0.8115 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.207e-05/1.35e-05, allocations: 8.922 kB / 0.8115 GB, free: 1.707 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001391/0.001404, allocations: 1.337 MB / 0.8128 GB, free: 384 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0003662/0.00177, allocations: 296.7 kB / 0.8131 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.391e-05/0.001794, allocations: 1.469 kB / 0.8131 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 1.789e-05/0.001812, allocations: 0 / 0.8131 GB, free: 88 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.128e-05/0.001893, allocations: 13.61 kB / 0.8131 GB, free: 76 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.002118, allocations: 75.66 kB / 0.8132 GB, free: 0 / 0.7605 GB Notification: Performance of NFFlatten.flatten: time 7.266e-05/0.002191, allocations: 41.67 kB / 0.8132 GB, free: 15.96 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.294e-05/0.002224, allocations: 8 kB / 0.8133 GB, free: 15.95 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.002325, allocations: 29.25 kB / 0.8133 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 3.711e-05/0.002362, allocations: 15.98 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.219e-05/0.002374, allocations: 1.906 kB / 0.8133 GB, free: 15.91 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001124/0.002487, allocations: 75.91 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.308e-05/0.0025, allocations: 3.938 kB / 0.8134 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.701e-05/0.002517, allocations: 8 kB / 0.8134 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.00265, allocations: 94.03 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.764e-06/0.002652, allocations: 0 / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of FrontEnd: time 5.41e-07/0.002653, allocations: 4 kB / 0.8135 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 2.945e-06/0.002655, allocations: 0 / 0.8135 GB, free: 15.73 MB / 0.7761 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.0002592/0.002915, allocations: 376.4 kB / 0.8138 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.088e-05/0.002946, allocations: 8.031 kB / 0.8138 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.296e-05/0.002978, allocations: 9.609 kB / 0.8139 GB, free: 15.31 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.569e-05/0.003044, allocations: 108.6 kB / 0.814 GB, free: 15.18 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.917e-06/0.003053, allocations: 8.844 kB / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.165e-06/0.003061, allocations: 2.031 kB / 0.814 GB, free: 15.17 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.806e-05/0.003139, allocations: 63.95 kB / 0.814 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.041e-06/0.003145, allocations: 3.938 kB / 0.814 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.324e-06/0.003153, allocations: 4 kB / 0.814 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.36e-06/0.003158, allocations: 0.6562 kB / 0.814 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.724e-05/0.003185, allocations: 7.984 kB / 0.814 GB, free: 15.08 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001008/0.003286, allocations: 125.9 kB / 0.8142 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.509e-05/0.003351, allocations: 39 kB / 0.8142 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.791e-05/0.003369, allocations: 11.75 kB / 0.8142 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003998/0.003769, allocations: 155.8 kB / 0.8144 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.126e-05/0.00379, allocations: 33.39 kB / 0.8144 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.003791, allocations: 0 / 0.8144 GB, free: 14.67 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.000111/0.003902, allocations: 53.62 kB / 0.8144 GB, free: 14.61 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.249e-05/0.003925, allocations: 51.41 kB / 0.8145 GB, free: 14.55 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.924e-05/0.003984, allocations: 170.7 kB / 0.8147 GB, free: 14.37 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 9.838e-06/0.003994, allocations: 29.64 kB / 0.8147 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 2.766e-05/0.004022, allocations: 129.1 kB / 0.8148 GB, free: 14.2 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.055e-05/0.004042, allocations: 15.88 kB / 0.8148 GB, free: 14.19 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.6e-05/0.004068, allocations: 27.33 kB / 0.8148 GB, free: 14.15 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 9.03e-05/0.004158, allocations: 492.1 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.039e-05/0.004169, allocations: 4 kB / 0.8153 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.937e-06/0.004178, allocations: 3.984 kB / 0.8153 GB, free: 13.65 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.521e-05/0.004203, allocations: 21.78 kB / 0.8153 GB, free: 13.63 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.004205, allocations: 3.938 kB / 0.8154 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.57e-05/0.00425, allocations: 45.97 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 9.608e-06/0.00426, allocations: 6.344 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.004264, allocations: 0 / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.004274, allocations: 3.984 kB / 0.8154 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.429e-05/0.004308, allocations: 16.42 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.004312, allocations: 0.5312 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.006e-05/0.004322, allocations: 1.344 kB / 0.8154 GB, free: 13.55 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-06/0.004326, allocations: 0 / 0.8154 GB, free: 13.55 MB / 0.7761 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.082e-05/0.004377, allocations: 156.6 kB / 0.8156 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.974e-06/0.004384, allocations: 8.609 kB / 0.8156 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.222e-05/0.004466, allocations: 58.86 kB / 0.8156 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.335e-06/0.004468, allocations: 3.938 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.715e-06/0.004471, allocations: 3.5 kB / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.275e-06/0.004473, allocations: 0 / 0.8156 GB, free: 13.31 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.286e-05/0.004536, allocations: 120.6 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.315e-06/0.004538, allocations: 4 kB / 0.8158 GB, free: 13.16 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.305e-05/0.004561, allocations: 7.938 kB / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.004563, allocations: 0 / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.004569, allocations: 0 / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.00457, allocations: 0 / 0.8158 GB, free: 13.15 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.004572, allocations: 7.938 kB / 0.8158 GB, free: 13.14 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.113e-05/0.004654, allocations: 78.53 kB / 0.8159 GB, free: 13.04 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 3.431e-05/0.004688, allocations: 11.94 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.0047, allocations: 4 kB / 0.8159 GB, free: 13.03 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.777e-05/0.004727, allocations: 4 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.565e-05/0.004743, allocations: 3.938 kB / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.058e-06/0.004747, allocations: 0 / 0.8159 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 4.812e-05/0.004795, allocations: 132.2 kB / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of sort global known variables: time 1e-07/0.004795, allocations: 0 / 0.816 GB, free: 12.89 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000159/0.004954, allocations: 31.88 kB / 0.816 GB, free: 12.86 MB / 0.7761 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.0001221/0.005076, allocations: 132.2 kB / 0.8162 GB, free: 12.72 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 6.178e-05/0.005138, allocations: 24.67 kB / 0.8162 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.193e-06/0.005139, allocations: 0 / 0.8162 GB, free: 12.69 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.2e-05/0.005151, allocations: 19.62 kB / 0.8162 GB, free: 12.67 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001138/0.005265, allocations: 7.531 kB / 0.8162 GB, free: 12.66 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003447/0.00561, allocations: 135.1 kB / 0.8163 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.128e-05/0.005641, allocations: 55.36 kB / 0.8164 GB, free: 12.43 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 4.146e-05/0.005683, allocations: 11.23 kB / 0.8164 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.996e-05/0.005703, allocations: 8.5 kB / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.005703, allocations: 0 / 0.8164 GB, free: 12.41 MB / 0.7761 GB Notification: Performance of Templates: time 0.002409/0.008112, allocations: 0.9114 MB / 0.8173 GB, free: 11.52 MB / 0.7761 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 -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: 4.5405897637829185]