Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.478/1.478, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00117/0.00117, allocations: 176.2 kB / 326.5 MB, free: 2.23 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.03/2.03, allocations: 205.4 MB / 0.5775 GB, free: 20.48 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009195/0.0009194, allocations: 105.3 kB / 0.6821 GB, free: 13.31 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003562/0.0003562, allocations: 15.19 kB / 0.7962 GB, free: 134.8 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2507/0.251, allocations: 106.3 MB / 0.9001 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1864/0.4375, allocations: 131.8 MB / 1.029 GB, free: 12.33 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002244/0.4378, allocations: 83.89 kB / 1.029 GB, free: 12.25 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.004981/0.4428, allocations: 1.776 MB / 1.031 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.166e-06/0.4428, allocations: 3.938 kB / 1.031 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.691e-05/0.4428, allocations: 0 / 1.031 GB, free: 10.46 MB / 0.6823 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.0003318/0.4431, allocations: 355.2 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.56e-05/0.4432, allocations: 12.03 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.504e-05/0.4433, allocations: 7.891 kB / 1.031 GB, free: 10.05 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001218/0.4434, allocations: 167 kB / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.4434, allocations: 0 / 1.031 GB, free: 9.844 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.31e-05/0.4434, allocations: 4 kB / 1.031 GB, free: 9.84 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.4435, allocations: 41.62 kB / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.4436, allocations: 0 / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.638e-06/0.4436, allocations: 0 / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.4436, allocations: 4 kB / 1.031 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.045e-05/0.4436, allocations: 8 kB / 1.031 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001699/0.4438, allocations: 161.7 kB / 1.031 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 8.794e-05/0.4439, allocations: 38.5 kB / 1.031 GB, free: 9.527 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009746/0.4449, allocations: 1.171 MB / 1.032 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.695e-05/0.4449, allocations: 34.56 kB / 1.033 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.4449, allocations: 0 / 1.033 GB, free: 8.055 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0001619/0.4451, allocations: 49.59 kB / 1.033 GB, free: 8 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.49e-05/0.4451, allocations: 55.41 kB / 1.033 GB, free: 7.934 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.613e-05/0.4452, allocations: 96.98 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.4452, allocations: 29.7 kB / 1.033 GB, free: 7.797 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.4453, allocations: 88.14 kB / 1.033 GB, free: 7.707 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.463e-05/0.4453, allocations: 7.844 kB / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.4453, allocations: 0 / 1.033 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.4455, allocations: 310.8 kB / 1.033 GB, free: 7.387 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.622e-05/0.4455, allocations: 7.938 kB / 1.033 GB, free: 7.379 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.802e-05/0.4455, allocations: 11.98 kB / 1.033 GB, free: 7.367 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.036e-05/0.4455, allocations: 7.938 kB / 1.033 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.4455, allocations: 0 / 1.033 GB, free: 7.359 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.935e-05/0.4456, allocations: 49.64 kB / 1.033 GB, free: 7.305 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.4456, allocations: 4 kB / 1.033 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.927e-06/0.4456, allocations: 7.938 kB / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.357e-05/0.4457, allocations: 0 / 1.033 GB, free: 7.293 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.482e-05/0.4457, allocations: 4 kB / 1.033 GB, free: 7.289 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.4457, allocations: 4 kB / 1.033 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.624e-05/0.4458, allocations: 0 / 1.033 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.289e-06/0.4458, allocations: 0 / 1.033 GB, free: 7.285 MB / 0.6823 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 8.302e-05/0.4459, allocations: 109.8 kB / 1.033 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.427e-05/0.4459, allocations: 15.8 kB / 1.033 GB, free: 7.152 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.446, allocations: 66.2 kB / 1.033 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.446, allocations: 0 / 1.033 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.446, allocations: 0 / 1.033 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.026e-06/0.446, allocations: 0 / 1.033 GB, free: 7.078 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001216/0.4462, allocations: 161.7 kB / 1.034 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.4462, allocations: 0 / 1.034 GB, free: 6.871 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.6e-05/0.4462, allocations: 4 kB / 1.034 GB, free: 6.867 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4462, allocations: 3.953 kB / 1.034 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.323e-06/0.4462, allocations: 0 / 1.034 GB, free: 6.863 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.4462, allocations: 4 kB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.4463, allocations: 7.969 kB / 1.034 GB, free: 6.852 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.385e-05/0.4464, allocations: 81.77 kB / 1.034 GB, free: 6.754 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.814e-05/0.4464, allocations: 81.11 kB / 1.034 GB, free: 6.656 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.637e-05/0.4465, allocations: 7.953 kB / 1.034 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.66e-05/0.4465, allocations: 0 / 1.034 GB, free: 6.648 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.4465, allocations: 3.984 kB / 1.034 GB, free: 6.645 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.991e-06/0.4465, allocations: 12 kB / 1.034 GB, free: 6.633 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.933e-05/0.4466, allocations: 79.28 kB / 1.034 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1e-07/0.4466, allocations: 0 / 1.034 GB, free: 6.555 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0001994/0.4468, allocations: 31.92 kB / 1.034 GB, free: 6.523 MB / 0.6823 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.0001972/0.447, allocations: 135.2 kB / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 8.145e-05/0.4471, allocations: 11.94 kB / 1.034 GB, free: 6.371 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.4471, allocations: 3.938 kB / 1.034 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 1.725e-05/0.4471, allocations: 12 kB / 1.034 GB, free: 6.355 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001563/0.4473, allocations: 11.36 kB / 1.034 GB, free: 6.348 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002966/0.4476, allocations: 126.7 kB / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002616/0.4479, allocations: 0.6848 MB / 1.035 GB, free: 5.48 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 4.899e-05/0.4479, allocations: 8 kB / 1.035 GB, free: 5.473 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.4479, allocations: 7.438 kB / 1.035 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of SimCode: time 2.4e-07/0.448, allocations: 0 / 1.035 GB, free: 5.465 MB / 0.6823 GB Notification: Performance of Templates: time 0.00281/0.4508, allocations: 0.7512 MB / 1.036 GB, free: 4.719 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches