Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") translateModel(Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.336/2.336, allocations: 393.5 MB / 408.4 MB, free: 10.95 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.001248/0.001248, allocations: 183.6 kB / 0.4902 GB, free: 2.234 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.696/1.696, 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.0009776/0.0009775, allocations: 109.4 kB / 0.9396 GB, free: 2.816 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000395/0.000395, allocations: 8.797 kB / 1.09 GB, free: 212.9 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3497, allocations: 143 MB / 1.229 GB, free: 85.44 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2152/0.565, allocations: 149.8 MB / 1.376 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003116/0.5654, allocations: 79.95 kB / 1.376 GB, free: 15.33 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.002476/0.5679, allocations: 0.8557 MB / 1.376 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.335e-06/0.5679, allocations: 7.938 kB / 1.376 GB, free: 14.46 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 8.005e-06/0.5679, allocations: 0 / 1.376 GB, free: 14.46 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003763/0.5683, allocations: 331.4 kB / 1.377 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 5.068e-05/0.5683, allocations: 8.031 kB / 1.377 GB, free: 14.09 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.059e-05/0.5684, allocations: 3.938 kB / 1.377 GB, free: 14.08 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001747/0.5686, allocations: 174.9 kB / 1.377 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.438e-05/0.5686, allocations: 0 / 1.377 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.5686, allocations: 0 / 1.377 GB, free: 13.87 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.32e-05/0.5687, allocations: 29.7 kB / 1.377 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.5687, allocations: 0 / 1.377 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.088e-05/0.5687, allocations: 0 / 1.377 GB, free: 13.84 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.5687, allocations: 4 kB / 1.377 GB, free: 13.83 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.787e-05/0.5688, allocations: 8 kB / 1.377 GB, free: 13.82 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002243/0.569, allocations: 153.7 kB / 1.377 GB, free: 13.62 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 5.871e-05/0.5691, allocations: 26.52 kB / 1.377 GB, free: 13.59 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008156/0.5699, allocations: 0.6013 MB / 1.378 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.705e-05/0.5699, allocations: 30.56 kB / 1.378 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=2): time 1.483e-06/0.57, allocations: 4 kB / 1.378 GB, free: 12.82 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2): time 0.000198/0.5702, allocations: 45.67 kB / 1.378 GB, free: 12.77 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.038e-05/0.5702, allocations: 59.34 kB / 1.378 GB, free: 12.7 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.778e-05/0.5703, allocations: 94.94 kB / 1.378 GB, free: 12.6 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.5704, allocations: 25.7 kB / 1.378 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.158e-05/0.5704, allocations: 80.14 kB / 1.378 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 3.399e-05/0.5705, allocations: 3.906 kB / 1.378 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/0.5705, allocations: 0 / 1.378 GB, free: 12.48 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001741/0.5706, allocations: 319 kB / 1.378 GB, free: 12.16 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.5707, allocations: 8 kB / 1.378 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.355e-06/0.5707, allocations: 0 / 1.378 GB, free: 12.15 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.078e-05/0.5707, allocations: 7.953 kB / 1.378 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-06/0.5707, allocations: 0 / 1.378 GB, free: 12.14 MB / 0.8855 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.703e-05/0.5708, allocations: 33.7 kB / 1.378 GB, free: 12.11 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.395e-05/0.5708, allocations: 8 kB / 1.378 GB, free: 12.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.5708, allocations: 3.984 kB / 1.378 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.5709, allocations: 0 / 1.378 GB, free: 12.09 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.852e-05/0.571, allocations: 19.97 kB / 1.378 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.571, allocations: 0 / 1.378 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.073e-05/0.571, allocations: 0 / 1.378 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.542e-06/0.571, allocations: 0 / 1.378 GB, free: 12.07 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 (2): * Single equations (assignments): 2 * 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 0.000114/0.5711, allocations: 110.6 kB / 1.379 GB, free: 11.96 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.798e-06/0.5712, allocations: 7.938 kB / 1.379 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001507/0.5713, allocations: 44.81 kB / 1.379 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.5713, allocations: 0 / 1.379 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.031e-06/0.5713, allocations: 4.031 kB / 1.379 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.5713, allocations: 0 / 1.379 GB, free: 11.9 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.5715, allocations: 153.7 kB / 1.379 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.5715, allocations: 3.953 kB / 1.379 GB, free: 11.7 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.317e-05/0.5716, allocations: 4 kB / 1.379 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.5716, allocations: 0 / 1.379 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/0.5716, allocations: 4 kB / 1.379 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.5716, allocations: 3.938 kB / 1.379 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5716, allocations: 0 / 1.379 GB, free: 11.68 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001213/0.5717, allocations: 73.03 kB / 1.379 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 6.135e-05/0.5718, allocations: 81.06 kB / 1.379 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.5718, allocations: 0 / 1.379 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.76e-05/0.5719, allocations: 0 / 1.379 GB, free: 11.5 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.983e-05/0.5719, allocations: 4 kB / 1.379 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.5719, allocations: 0 / 1.379 GB, free: 11.49 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.135e-05/0.572, allocations: 79.27 kB / 1.379 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.2e-07/0.572, allocations: 0 / 1.379 GB, free: 11.41 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002204/0.5722, allocations: 23.94 kB / 1.379 GB, free: 11.39 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 (2): * Single equations (assignments): 2 * 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.0002755/0.5725, allocations: 123.2 kB / 1.379 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.563e-05/0.5726, allocations: 7.938 kB / 1.379 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.5726, allocations: 0 / 1.379 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 9.347e-06/0.5726, allocations: 4 kB / 1.379 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.5729, allocations: 8 kB / 1.379 GB, free: 11.24 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/0.5732, allocations: 118.7 kB / 1.379 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003905/0.5736, allocations: 0.6809 MB / 1.38 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.981e-05/0.5737, allocations: 0 / 1.38 GB, free: 10.39 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.904e-05/0.5737, allocations: 7.438 kB / 1.38 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of SimCode: time 2.41e-07/0.5737, allocations: 4 kB / 1.38 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of Templates: time 0.002823/0.5765, allocations: 0.5623 MB / 1.381 GB, free: 9.82 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","../files/Buildings_latest_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches