Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.465/2.465, allocations: 387.4 MB / 394.9 MB, free: 13.34 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 180.9 kB / 487.4 MB, free: 5.035 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.577/1.577, allocations: 221.5 MB / 0.7824 GB, free: 0.9297 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009773/0.0009772, allocations: 103.8 kB / 0.9219 GB, free: 2.164 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 1.636e-05/1.647e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.295/0.2951, allocations: 142.4 MB / 1.206 GB, free: 43.95 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9928/1.288, allocations: 148.7 MB / 1.351 GB, free: 18.5 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002727/1.288, allocations: 76.78 kB / 1.351 GB, free: 18.5 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006081/1.294, allocations: 1.807 MB / 1.353 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.452e-06/1.294, allocations: 0 / 1.353 GB, free: 34.11 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.742e-06/1.294, allocations: 3.812 kB / 1.353 GB, free: 34.11 MB / 0.8386 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.00031/1.295, allocations: 346.3 kB / 1.353 GB, free: 33.75 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/1.295, allocations: 12.25 kB / 1.353 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.894e-05/1.295, allocations: 8.672 kB / 1.353 GB, free: 33.74 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.904e-05/1.295, allocations: 167.6 kB / 1.354 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.49e-05/1.295, allocations: 0.7969 kB / 1.354 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/1.295, allocations: 0 / 1.354 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.904e-05/1.295, allocations: 12.64 kB / 1.354 GB, free: 33.54 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.179e-05/1.295, allocations: 32.3 kB / 1.354 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/1.295, allocations: 4.688 kB / 1.354 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.192e-05/1.295, allocations: 0 / 1.354 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/1.295, allocations: 0 / 1.354 GB, free: 33.5 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001353/1.295, allocations: 145.9 kB / 1.354 GB, free: 33.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.667e-05/1.295, allocations: 34.56 kB / 1.354 GB, free: 33.31 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.392e-05/1.295, allocations: 9.078 kB / 1.354 GB, free: 33.3 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007906/1.296, allocations: 1.174 MB / 1.355 GB, free: 31.98 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.183e-05/1.296, allocations: 33.08 kB / 1.355 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/1.296, allocations: 3.938 kB / 1.355 GB, free: 31.94 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3): time 0.0001962/1.296, allocations: 47.39 kB / 1.355 GB, free: 31.91 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.293e-05/1.296, allocations: 51.41 kB / 1.355 GB, free: 31.84 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.107e-05/1.297, allocations: 98.67 kB / 1.355 GB, free: 31.75 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 9.889e-06/1.297, allocations: 25.7 kB / 1.355 GB, free: 31.72 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 3.556e-05/1.297, allocations: 80.66 kB / 1.355 GB, free: 31.64 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.433e-05/1.297, allocations: 12.28 kB / 1.355 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.906e-06/1.297, allocations: 3.938 kB / 1.355 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001161/1.297, allocations: 315.7 kB / 1.356 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.149e-05/1.297, allocations: 3.75 kB / 1.356 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.708e-06/1.297, allocations: 0.7969 kB / 1.356 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.534e-05/1.297, allocations: 11.95 kB / 1.356 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/1.297, allocations: 0.7969 kB / 1.356 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.102e-05/1.297, allocations: 47.75 kB / 1.356 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/1.297, allocations: 4.641 kB / 1.356 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.263e-06/1.297, allocations: 0.7812 kB / 1.356 GB, free: 31.28 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/1.297, allocations: 4 kB / 1.356 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.969e-05/1.297, allocations: 8.469 kB / 1.356 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.331e-06/1.297, allocations: 0.5625 kB / 1.356 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.841e-05/1.297, allocations: 3.938 kB / 1.356 GB, free: 31.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.132e-06/1.297, allocations: 0 / 1.356 GB, free: 31.27 MB / 0.8386 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 () * 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 6.616e-05/1.297, allocations: 102.8 kB / 1.356 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.329e-05/1.297, allocations: 12.39 kB / 1.356 GB, free: 31.16 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001509/1.297, allocations: 70.48 kB / 1.356 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/1.297, allocations: 0 / 1.356 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/1.297, allocations: 0 / 1.356 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/1.297, allocations: 3.938 kB / 1.356 GB, free: 31.1 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.377e-05/1.297, allocations: 138.2 kB / 1.356 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/1.297, allocations: 0 / 1.356 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.654e-05/1.297, allocations: 6.141 kB / 1.356 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/1.297, allocations: 0.5625 kB / 1.356 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/1.297, allocations: 0 / 1.356 GB, free: 30.94 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.148e-06/1.298, allocations: 8.562 kB / 1.356 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/1.298, allocations: 3.875 kB / 1.356 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001042/1.298, allocations: 68.2 kB / 1.356 GB, free: 30.87 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.453e-05/1.298, allocations: 87.33 kB / 1.356 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/1.298, allocations: 0.5625 kB / 1.356 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.613e-05/1.298, allocations: 0.5625 kB / 1.356 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-05/1.298, allocations: 8.359 kB / 1.356 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.22e-06/1.298, allocations: 0.6562 kB / 1.356 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.712e-05/1.298, allocations: 87.5 kB / 1.356 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.51e-07/1.298, allocations: 0 / 1.356 GB, free: 30.69 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002131/1.298, allocations: 36.39 kB / 1.356 GB, free: 30.68 MB / 0.8386 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 () * 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.0002122/1.298, allocations: 130 kB / 1.356 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 7.381e-05/1.298, allocations: 16.03 kB / 1.356 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/1.298, allocations: 0 / 1.356 GB, free: 30.58 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 1.279e-05/1.298, allocations: 8.438 kB / 1.356 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001547/1.299, allocations: 12.25 kB / 1.356 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001993/1.299, allocations: 55.81 kB / 1.356 GB, free: 30.51 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002709/1.299, allocations: 0.6818 MB / 1.357 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 4.769e-05/1.299, allocations: 8.406 kB / 1.357 GB, free: 29.81 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.604e-05/1.299, allocations: 11.38 kB / 1.357 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.299, allocations: 3.844 kB / 1.357 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of Templates: time 0.003007/1.302, allocations: 0.732 MB / 1.358 GB, free: 29.73 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches