Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001379/0.001379, allocations: 99.86 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 223.2 MB / 239.9 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.68/2.68, allocations: 436.5 MB / 0.7104 GB, free: 7.914 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004039/0.0004041, allocations: 16 kB / 0.8708 GB, free: 4.785 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.774/0.7745, allocations: 153.7 MB / 1.021 GB, free: 1.082 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM): time 0.001396/0.7759, allocations: 1.004 MB / 1.022 GB, free: 68 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0005167/0.7765, allocations: 267.4 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.322e-05/0.7765, allocations: 4 kB / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.17e-05/0.7765, allocations: 0 / 1.022 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001056/0.7766, allocations: 11.97 kB / 1.022 GB, free: 15.79 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002388/0.7769, allocations: 59.78 kB / 1.022 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.268e-05/0.7769, allocations: 19.97 kB / 1.022 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 3.943e-05/0.777, allocations: 7.984 kB / 1.022 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001252/0.7771, allocations: 43.86 kB / 1.022 GB, free: 15.66 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.617e-05/0.7772, allocations: 7.938 kB / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.224e-05/0.7772, allocations: 0 / 1.022 GB, free: 15.65 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001616/0.7774, allocations: 79.91 kB / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.237e-06/0.7774, allocations: 0 / 1.022 GB, free: 15.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.476e-05/0.7774, allocations: 33.7 kB / 1.022 GB, free: 15.54 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.7775, allocations: 49.89 kB / 1.022 GB, free: 15.49 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.415e-06/0.7776, allocations: 4 kB / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.513e-06/0.7776, allocations: 0 / 1.022 GB, free: 15.48 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.606e-06/0.7776, allocations: 0 / 1.022 GB, free: 15.48 MB / 0.7794 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.0003563/0.7779, allocations: 343.3 kB / 1.023 GB, free: 15.1 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.525e-05/0.778, allocations: 19.86 kB / 1.023 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.778, allocations: 7.906 kB / 1.023 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001267/0.7781, allocations: 163 kB / 1.023 GB, free: 14.88 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.7782, allocations: 4 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.7782, allocations: 4 kB / 1.023 GB, free: 14.87 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00011/0.7783, allocations: 41.64 kB / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.412e-06/0.7783, allocations: 0 / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.7783, allocations: 0 / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.7783, allocations: 0 / 1.023 GB, free: 14.82 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.275e-05/0.7784, allocations: 11.98 kB / 1.023 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001581/0.7786, allocations: 157.7 kB / 1.023 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.894e-05/0.7786, allocations: 42.45 kB / 1.023 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00112/0.7798, allocations: 1.191 MB / 1.024 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.7798, allocations: 34.56 kB / 1.024 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.7798, allocations: 0 / 1.024 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001497/0.78, allocations: 61.67 kB / 1.024 GB, free: 13 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.004e-05/0.78, allocations: 51.41 kB / 1.024 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.814e-05/0.7801, allocations: 105.8 kB / 1.025 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.7801, allocations: 25.7 kB / 1.025 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.42e-05/0.7801, allocations: 84.12 kB / 1.025 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.37e-05/0.7802, allocations: 11.91 kB / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.945e-06/0.7802, allocations: 0 / 1.025 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001173/0.7803, allocations: 314.8 kB / 1.025 GB, free: 12.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.448e-05/0.7803, allocations: 4 kB / 1.025 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.2e-05/0.7803, allocations: 7.984 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.823e-05/0.7804, allocations: 7.984 kB / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7804, allocations: 0 / 1.025 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.012e-05/0.7804, allocations: 41.7 kB / 1.025 GB, free: 12.31 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.7805, allocations: 8 kB / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.7805, allocations: 0 / 1.025 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.7805, allocations: 7.938 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.501e-05/0.7805, allocations: 7.938 kB / 1.025 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.7806, allocations: 4 kB / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.718e-05/0.7806, allocations: 0 / 1.025 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.7806, allocations: 4 kB / 1.025 GB, free: 12.28 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.502e-05/0.7807, allocations: 105.8 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.087e-05/0.7807, allocations: 7.906 kB / 1.025 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.7808, allocations: 61.58 kB / 1.025 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.7808, allocations: 3.953 kB / 1.025 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.7808, allocations: 4 kB / 1.025 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.304e-06/0.7808, allocations: 0 / 1.025 GB, free: 12.08 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.781, allocations: 157.6 kB / 1.025 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.781, allocations: 3.938 kB / 1.025 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.802e-05/0.781, allocations: 11.94 kB / 1.025 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.366e-06/0.781, allocations: 0 / 1.025 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.402e-06/0.781, allocations: 3.938 kB / 1.025 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.781, allocations: 0 / 1.025 GB, free: 11.86 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.781, allocations: 8.266 kB / 1.025 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.252e-05/0.7811, allocations: 77.12 kB / 1.025 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.504e-05/0.7812, allocations: 85 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.275e-05/0.7812, allocations: 0 / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.561e-05/0.7813, allocations: 4 kB / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.601e-05/0.7813, allocations: 0 / 1.026 GB, free: 11.65 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.442e-06/0.7813, allocations: 3.953 kB / 1.026 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.11e-05/0.7814, allocations: 95.25 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7814, allocations: 4 kB / 1.026 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002015/0.7816, allocations: 24 kB / 1.026 GB, free: 11.52 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001899/0.7818, allocations: 127.2 kB / 1.026 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 7.387e-05/0.7819, allocations: 19.98 kB / 1.026 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.7819, allocations: 0 / 1.026 GB, free: 11.37 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.278e-05/0.7819, allocations: 4 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001592/0.782, allocations: 8 kB / 1.026 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002629/0.7823, allocations: 138.6 kB / 1.026 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002515/0.7826, allocations: 0.6887 MB / 1.027 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.119e-05/0.7826, allocations: 8.422 kB / 1.027 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.623e-05/0.7826, allocations: 11.44 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of SimCode: time 1.91e-07/0.7827, allocations: 3.938 kB / 1.027 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of Templates: time 0.002808/0.7855, allocations: 0.7574 MB / 1.027 GB, free: 9.703 MB / 0.7794 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches