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/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/Buildings 10.0.0-master/package.mo): time 2.326/2.326, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001344/0.001344, allocations: 183 kB / 0.4902 GB, free: 2.227 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.741/1.741, allocations: 223.1 MB / 0.7992 GB, free: 15.64 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.0009703/0.0009704, allocations: 92.38 kB / 0.9396 GB, free: 2.84 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003601/0.0003601, allocations: 9.062 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2942/0.2946, allocations: 143 MB / 1.229 GB, free: 85.45 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2021/0.4968, allocations: 150.3 MB / 1.376 GB, free: 15 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002715/0.4971, allocations: 79.95 kB / 1.376 GB, free: 14.92 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.005272/0.5024, allocations: 1.821 MB / 1.378 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of FrontEnd: time 4.859e-06/0.5024, allocations: 0 / 1.378 GB, free: 13.09 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.461e-05/0.5025, allocations: 3.938 kB / 1.378 GB, free: 13.09 MB / 0.8855 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.0003845/0.5029, allocations: 355.2 kB / 1.378 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.5029, allocations: 8.031 kB / 1.378 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.503, allocations: 0 / 1.378 GB, free: 12.69 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.5031, allocations: 174.9 kB / 1.378 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.387e-05/0.5031, allocations: 4 kB / 1.378 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.5031, allocations: 4 kB / 1.378 GB, free: 12.47 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001143/0.5033, allocations: 37.69 kB / 1.378 GB, free: 12.43 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.028e-05/0.5033, allocations: 3.984 kB / 1.378 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.5033, allocations: 0 / 1.378 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.519e-06/0.5033, allocations: 0 / 1.378 GB, free: 12.42 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.462e-05/0.5034, allocations: 15.92 kB / 1.378 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001911/0.5035, allocations: 157.7 kB / 1.379 GB, free: 12.2 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.368e-05/0.5036, allocations: 34.67 kB / 1.379 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00109/0.5047, allocations: 1.175 MB / 1.38 GB, free: 10.73 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.054e-05/0.5048, allocations: 34.56 kB / 1.38 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=3): time 1.092e-06/0.5048, allocations: 0 / 1.38 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3): time 0.0001837/0.505, allocations: 57.62 kB / 1.38 GB, free: 10.62 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.809e-05/0.5051, allocations: 51.41 kB / 1.38 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.864e-05/0.5052, allocations: 101 kB / 1.38 GB, free: 10.45 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.5052, allocations: 25.7 kB / 1.38 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/0.5052, allocations: 80.14 kB / 1.38 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.525e-05/0.5053, allocations: 7.812 kB / 1.38 GB, free: 10.33 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.5053, allocations: 8 kB / 1.38 GB, free: 10.32 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.5054, allocations: 314.8 kB / 1.38 GB, free: 10.01 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.451e-05/0.5054, allocations: 4 kB / 1.38 GB, free: 10 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.158e-06/0.5055, allocations: 4 kB / 1.38 GB, free: 10 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.194e-05/0.5055, allocations: 11.95 kB / 1.38 GB, free: 9.988 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.5055, allocations: 3.938 kB / 1.38 GB, free: 9.984 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.737e-05/0.5056, allocations: 45.62 kB / 1.38 GB, free: 9.934 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.451e-05/0.5056, allocations: 4 kB / 1.38 GB, free: 9.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5056, allocations: 4 kB / 1.38 GB, free: 9.926 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.5056, allocations: 0 / 1.38 GB, free: 9.926 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.482e-05/0.5057, allocations: 4 kB / 1.38 GB, free: 9.922 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/0.5057, allocations: 0 / 1.38 GB, free: 9.922 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.994e-05/0.5057, allocations: 4 kB / 1.38 GB, free: 9.918 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.5057, allocations: 7.984 kB / 1.38 GB, free: 9.91 MB / 0.8855 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.791e-05/0.5058, allocations: 118.5 kB / 1.381 GB, free: 9.785 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.426e-06/0.5058, allocations: 0 / 1.381 GB, free: 9.785 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.506, allocations: 69.73 kB / 1.381 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.422e-06/0.506, allocations: 0 / 1.381 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.506, allocations: 0 / 1.381 GB, free: 9.711 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.167e-06/0.506, allocations: 4 kB / 1.381 GB, free: 9.707 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000125/0.5061, allocations: 165.6 kB / 1.381 GB, free: 9.496 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.5062, allocations: 3.953 kB / 1.381 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.598e-05/0.5062, allocations: 4 kB / 1.381 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.533e-06/0.5062, allocations: 0 / 1.381 GB, free: 9.488 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.784e-06/0.5062, allocations: 4 kB / 1.381 GB, free: 9.484 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5062, allocations: 0 / 1.381 GB, free: 9.484 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5062, allocations: 384 / 1.381 GB, free: 9.484 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.762e-05/0.5063, allocations: 73.11 kB / 1.381 GB, free: 9.395 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 7.882e-05/0.5064, allocations: 96.95 kB / 1.381 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.347e-05/0.5064, allocations: 0 / 1.381 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.844e-05/0.5065, allocations: 0 / 1.381 GB, free: 9.281 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.568e-05/0.5065, allocations: 7.938 kB / 1.381 GB, free: 9.273 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-06/0.5065, allocations: 0 / 1.381 GB, free: 9.273 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 4.394e-05/0.5066, allocations: 91.27 kB / 1.381 GB, free: 9.184 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.11e-07/0.5066, allocations: 0 / 1.381 GB, free: 9.184 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002022/0.5068, allocations: 24 kB / 1.381 GB, free: 9.16 MB / 0.8855 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.000226/0.507, allocations: 135.2 kB / 1.381 GB, free: 9.016 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.866e-05/0.5071, allocations: 15.98 kB / 1.381 GB, free: 9 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.478e-06/0.5071, allocations: 4 kB / 1.381 GB, free: 8.996 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 1.344e-05/0.5071, allocations: 7.938 kB / 1.381 GB, free: 8.988 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.5073, allocations: 4 kB / 1.381 GB, free: 8.984 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003165/0.5076, allocations: 138.5 kB / 1.381 GB, free: 8.82 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002767/0.5079, allocations: 0.6809 MB / 1.382 GB, free: 8.113 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 4.713e-05/0.508, allocations: 4 kB / 1.382 GB, free: 8.109 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.848e-05/0.508, allocations: 11.44 kB / 1.382 GB, free: 8.098 MB / 0.8855 GB Notification: Performance of SimCode: time 2.31e-07/0.508, allocations: 0 / 1.382 GB, free: 8.098 MB / 0.8855 GB Notification: Performance of Templates: time 0.00274/0.5107, allocations: 0.7531 MB / 1.383 GB, free: 7.348 MB / 0.8855 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