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.001304/0.001304, allocations: 81.95 kB / 21.47 MB, free: 3.035 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.002145/0.002145, allocations: 163.5 kB / 24.87 MB, free: 9.273 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.903/0.903, allocations: 177.1 MB / 205.3 MB, free: 5.484 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.823/1.823, allocations: 377.9 MB / 0.6247 GB, free: 8.422 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.473e-06/1.473e-06, allocations: 0 / 0.8128 GB, free: 1.477 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.847e-05, allocations: 3.078 kB / 0.8128 GB, free: 1.473 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001707/0.001725, allocations: 1.339 MB / 0.8141 GB, free: 140 kB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.0004284/0.002153, allocations: 289.5 kB / 0.8144 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.018e-05/0.002184, allocations: 0 / 0.8144 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 1.826e-05/0.002202, allocations: 0 / 0.8144 GB, free: 15.86 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 8.864e-05/0.002291, allocations: 13.44 kB / 0.8144 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.002534, allocations: 80.75 kB / 0.8144 GB, free: 15.77 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 6.679e-05/0.002601, allocations: 39.78 kB / 0.8145 GB, free: 15.73 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.002645, allocations: 4 kB / 0.8145 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001247/0.002769, allocations: 30.12 kB / 0.8145 GB, free: 15.7 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 4.792e-05/0.002817, allocations: 20.41 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.465e-05/0.002832, allocations: 1.594 kB / 0.8145 GB, free: 15.68 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001245/0.002956, allocations: 79.91 kB / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 1.399e-05/0.00297, allocations: 0 / 0.8146 GB, free: 15.6 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 1.65e-05/0.002987, allocations: 7.938 kB / 0.8146 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0001318/0.003119, allocations: 92.38 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.003121, allocations: 0.8125 kB / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of FrontEnd: time 4.4e-07/0.003121, allocations: 0 / 0.8147 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.298e-06/0.003125, allocations: 0.5625 kB / 0.8147 GB, free: 15.5 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.0002901/0.003415, allocations: 381 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.003448, allocations: 8.031 kB / 0.8151 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.861e-05/0.003477, allocations: 13.52 kB / 0.8151 GB, free: 15.07 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.747e-05/0.003554, allocations: 112.6 kB / 0.8152 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.117e-06/0.003563, allocations: 1.75 kB / 0.8152 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.705e-06/0.003571, allocations: 384 / 0.8152 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.852e-05/0.003649, allocations: 59.97 kB / 0.8153 GB, free: 14.87 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.003657, allocations: 9.688 kB / 0.8153 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.871e-06/0.003663, allocations: 0 / 0.8153 GB, free: 14.86 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.003669, allocations: 7.969 kB / 0.8153 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.687e-05/0.003686, allocations: 4 kB / 0.8153 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.927e-05/0.003785, allocations: 101.2 kB / 0.8154 GB, free: 14.72 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 6.422e-05/0.003849, allocations: 50.33 kB / 0.8154 GB, free: 14.66 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.254e-05/0.003862, allocations: 7.688 kB / 0.8154 GB, free: 14.65 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003601/0.004222, allocations: 148.5 kB / 0.8156 GB, free: 14.51 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.311e-05/0.004245, allocations: 41.33 kB / 0.8156 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=3): time 8.02e-07/0.004246, allocations: 2.25 kB / 0.8156 GB, free: 14.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3): time 0.0001125/0.004358, allocations: 49.62 kB / 0.8157 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.657e-05/0.004385, allocations: 55.34 kB / 0.8157 GB, free: 14.34 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.435e-05/0.004449, allocations: 165.9 kB / 0.8159 GB, free: 14.16 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 1.063e-05/0.00446, allocations: 29.7 kB / 0.8159 GB, free: 14.12 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 3.046e-05/0.00449, allocations: 126.9 kB / 0.816 GB, free: 14 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.478e-05/0.004515, allocations: 16.41 kB / 0.816 GB, free: 13.98 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.062e-05/0.004546, allocations: 28.12 kB / 0.8161 GB, free: 13.95 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.004657, allocations: 492.1 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-06/0.004666, allocations: 4 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.294e-06/0.004673, allocations: 0.9375 kB / 0.8165 GB, free: 13.45 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.549e-05/0.004699, allocations: 23.67 kB / 0.8166 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.0047, allocations: 1.219 kB / 0.8166 GB, free: 13.42 MB / 0.7761 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.574e-05/0.004746, allocations: 37.64 kB / 0.8166 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.004759, allocations: 14.64 kB / 0.8166 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.004762, allocations: 0.9688 kB / 0.8166 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.004771, allocations: 0 / 0.8166 GB, free: 13.37 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.141e-05/0.004803, allocations: 7.938 kB / 0.8166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.146e-06/0.004806, allocations: 2.594 kB / 0.8166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.095e-05/0.004817, allocations: 4 kB / 0.8166 GB, free: 13.36 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.136e-06/0.00482, allocations: 0 / 0.8166 GB, free: 13.36 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.956e-05/0.00488, allocations: 156.6 kB / 0.8168 GB, free: 13.19 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.764e-06/0.004887, allocations: 7.953 kB / 0.8168 GB, free: 13.18 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.102e-05/0.004968, allocations: 59.69 kB / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.004969, allocations: 3.938 kB / 0.8168 GB, free: 13.12 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.004972, allocations: 3.938 kB / 0.8168 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.004975, allocations: 5.125 kB / 0.8169 GB, free: 13.11 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.041e-05/0.005035, allocations: 97.62 kB / 0.8169 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.005036, allocations: 0 / 0.8169 GB, free: 12.99 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.343e-05/0.005049, allocations: 13.06 kB / 0.817 GB, free: 12.98 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.005051, allocations: 3.984 kB / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.432e-06/0.005058, allocations: 4 kB / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.01e-07/0.005058, allocations: 1 kB / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.005059, allocations: 0 / 0.817 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.361e-05/0.005113, allocations: 84.3 kB / 0.817 GB, free: 12.86 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.655e-05/0.005139, allocations: 12.55 kB / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.793e-06/0.005146, allocations: 1.625 kB / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.797e-05/0.005164, allocations: 4 kB / 0.8171 GB, free: 12.85 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.063e-05/0.005175, allocations: 3.984 kB / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.926e-06/0.005177, allocations: 0 / 0.8171 GB, free: 12.84 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 3.276e-05/0.00521, allocations: 135.1 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of sort global known variables: time 5e-08/0.00521, allocations: 1.094 kB / 0.8172 GB, free: 12.71 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0001465/0.005357, allocations: 31.86 kB / 0.8172 GB, free: 12.68 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.0001291/0.005486, allocations: 132.2 kB / 0.8174 GB, free: 12.54 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 5.576e-05/0.005542, allocations: 19.69 kB / 0.8174 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.005543, allocations: 0.6562 kB / 0.8174 GB, free: 12.52 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 9.879e-06/0.005553, allocations: 15.67 kB / 0.8174 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001133/0.005666, allocations: 4.531 kB / 0.8174 GB, free: 12.49 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002953/0.005961, allocations: 134 kB / 0.8175 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.453e-05/0.005986, allocations: 55.36 kB / 0.8176 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.636e-05/0.006012, allocations: 4 kB / 0.8176 GB, free: 12.26 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.401e-05/0.006056, allocations: 78.19 kB / 0.8177 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of SimCode: time 5.71e-07/0.006057, allocations: 0.8125 kB / 0.8177 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of Templates: time 0.002215/0.008272, allocations: 0.9214 MB / 0.8186 GB, free: 11.27 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.784122373908758]