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.504/2.504, allocations: 390.3 MB / 405.3 MB, free: 13.49 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.001365/0.001365, allocations: 173.2 kB / 498.1 MB, free: 5.738 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.726/1.726, allocations: 223.2 MB / 0.7948 GB, free: 17.89 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001217/0.001217, allocations: 100.2 kB / 0.9346 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.00037/0.00037, allocations: 11.7 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3354/0.3358, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1968/0.5326, allocations: 149.5 MB / 1.369 GB, free: 12.63 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.533, allocations: 79.95 kB / 1.369 GB, free: 12.55 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005532/0.5385, allocations: 1.815 MB / 1.371 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of FrontEnd: time 1.654e-06/0.5386, allocations: 0 / 1.371 GB, free: 10.73 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.5386, allocations: 0 / 1.371 GB, free: 10.73 MB / 0.8698 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.0003861/0.539, allocations: 355.1 kB / 1.371 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.072e-05/0.5391, allocations: 12.03 kB / 1.371 GB, free: 10.33 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.541e-05/0.5391, allocations: 7.906 kB / 1.371 GB, free: 10.32 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001375/0.5392, allocations: 175 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.352e-05/0.5393, allocations: 0 / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.5393, allocations: 3.984 kB / 1.371 GB, free: 10.11 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.5394, allocations: 37.7 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.5394, allocations: 0 / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.5394, allocations: 3.984 kB / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.5395, allocations: 0 / 1.371 GB, free: 10.06 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.288e-05/0.5395, allocations: 8 kB / 1.371 GB, free: 10.05 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000201/0.5397, allocations: 169.6 kB / 1.371 GB, free: 9.836 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.565e-05/0.5398, allocations: 38.55 kB / 1.371 GB, free: 9.789 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001101/0.5409, allocations: 1.168 MB / 1.373 GB, free: 8.363 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.351e-05/0.541, allocations: 34.55 kB / 1.373 GB, free: 8.32 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 2.925e-06/0.541, allocations: 4 kB / 1.373 GB, free: 8.316 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.000196/0.5412, allocations: 53.58 kB / 1.373 GB, free: 8.258 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.437e-05/0.5412, allocations: 55.39 kB / 1.373 GB, free: 8.191 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.48e-05/0.5413, allocations: 97 kB / 1.373 GB, free: 8.09 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.854e-05/0.5413, allocations: 25.7 kB / 1.373 GB, free: 8.059 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.074e-05/0.5414, allocations: 80.14 kB / 1.373 GB, free: 7.977 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.418e-05/0.5414, allocations: 15.8 kB / 1.373 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.5415, allocations: 0 / 1.373 GB, free: 7.961 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001466/0.5416, allocations: 318.8 kB / 1.373 GB, free: 7.641 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.377e-05/0.5416, allocations: 0 / 1.373 GB, free: 7.641 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.149e-05/0.5416, allocations: 4 kB / 1.373 GB, free: 7.637 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.424e-05/0.5417, allocations: 11.95 kB / 1.373 GB, free: 7.625 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.5417, allocations: 3.984 kB / 1.373 GB, free: 7.621 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.792e-05/0.5418, allocations: 41.7 kB / 1.373 GB, free: 7.574 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.606e-05/0.5418, allocations: 4 kB / 1.373 GB, free: 7.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.489e-06/0.5418, allocations: 4.25 kB / 1.373 GB, free: 7.566 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.578e-05/0.5418, allocations: 0 / 1.373 GB, free: 7.566 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.247e-05/0.5419, allocations: 11.98 kB / 1.373 GB, free: 7.555 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.171e-06/0.5419, allocations: 4 kB / 1.373 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.773e-05/0.542, allocations: 0 / 1.373 GB, free: 7.551 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.542, allocations: 3.984 kB / 1.373 GB, free: 7.547 MB / 0.8698 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.769e-05/0.5421, allocations: 117.7 kB / 1.373 GB, free: 7.422 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.251e-05/0.5421, allocations: 3.906 kB / 1.373 GB, free: 7.418 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001459/0.5422, allocations: 61.59 kB / 1.373 GB, free: 7.344 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.5422, allocations: 8.359 kB / 1.374 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.5423, allocations: 0 / 1.374 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.5423, allocations: 0 / 1.374 GB, free: 7.336 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00014/0.5424, allocations: 157.7 kB / 1.374 GB, free: 7.133 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.983e-06/0.5424, allocations: 3.953 kB / 1.374 GB, free: 7.129 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/0.5425, allocations: 11.92 kB / 1.374 GB, free: 7.117 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.512e-06/0.5425, allocations: 0 / 1.374 GB, free: 7.117 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.704e-06/0.5425, allocations: 0 / 1.374 GB, free: 7.117 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.945e-06/0.5425, allocations: 4 kB / 1.374 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5425, allocations: 0 / 1.374 GB, free: 7.113 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001114/0.5426, allocations: 73.12 kB / 1.374 GB, free: 7.023 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.679e-05/0.5427, allocations: 92.95 kB / 1.374 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.267e-05/0.5427, allocations: 3.938 kB / 1.374 GB, free: 6.91 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.852e-05/0.5428, allocations: 0 / 1.374 GB, free: 6.91 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.674e-05/0.5428, allocations: 4 kB / 1.374 GB, free: 6.906 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.5428, allocations: 0 / 1.374 GB, free: 6.906 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.867e-05/0.5429, allocations: 87.27 kB / 1.374 GB, free: 6.82 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5429, allocations: 4 kB / 1.374 GB, free: 6.816 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002264/0.5431, allocations: 31.94 kB / 1.374 GB, free: 6.785 MB / 0.8698 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.0002392/0.5433, allocations: 138.9 kB / 1.374 GB, free: 6.637 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.763e-05/0.5434, allocations: 15.98 kB / 1.374 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.5435, allocations: 0 / 1.374 GB, free: 6.621 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.581e-05/0.5435, allocations: 8 kB / 1.374 GB, free: 6.613 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.5437, allocations: 4 kB / 1.374 GB, free: 6.609 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.544, allocations: 134.6 kB / 1.374 GB, free: 6.453 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003158/0.5443, allocations: 0.6887 MB / 1.375 GB, free: 5.738 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 5.178e-05/0.5444, allocations: 7.984 kB / 1.375 GB, free: 5.73 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.607e-05/0.5444, allocations: 15.44 kB / 1.375 GB, free: 5.715 MB / 0.8698 GB Notification: Performance of SimCode: time 8.31e-07/0.5444, allocations: 0 / 1.375 GB, free: 5.715 MB / 0.8698 GB Notification: Performance of Templates: time 0.003353/0.5478, allocations: 0.7359 MB / 1.376 GB, free: 4.984 MB / 0.8698 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