Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.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.PowerLaw,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_9_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_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.493/2.493, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.00128/0.00128, allocations: 181 kB / 498.1 MB, free: 5.762 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.68/1.68, allocations: 223.2 MB / 0.7948 GB, free: 18.05 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.001062/0.001062, allocations: 88.39 kB / 0.9346 GB, free: 6.34 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003565/0.0003564, allocations: 6.781 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3201/0.3205, allocations: 142.3 MB / 1.223 GB, free: 114.4 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2108/0.5314, allocations: 149 MB / 1.368 GB, free: 13.19 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003826/0.5318, allocations: 95.86 kB / 1.368 GB, free: 13.1 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002867/0.5347, allocations: 0.8446 MB / 1.369 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of FrontEnd: time 4.648e-06/0.5348, allocations: 4 kB / 1.369 GB, free: 12.25 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.5348, allocations: 0 / 1.369 GB, free: 12.25 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: 2 * Number of variables: 2 Notification: Performance of Generate backend data structure: time 0.0003949/0.5352, allocations: 331.4 kB / 1.37 GB, free: 11.88 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.418e-05/0.5353, allocations: 8.031 kB / 1.37 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.359e-05/0.5353, allocations: 7.891 kB / 1.37 GB, free: 11.86 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001825/0.5355, allocations: 167 kB / 1.37 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.028e-05/0.5355, allocations: 4 kB / 1.37 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.419e-05/0.5356, allocations: 0 / 1.37 GB, free: 11.65 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001455/0.5357, allocations: 45.62 kB / 1.37 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.199e-05/0.5357, allocations: 0 / 1.37 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.34e-05/0.5357, allocations: 0 / 1.37 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.732e-06/0.5358, allocations: 0 / 1.37 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.006e-05/0.5358, allocations: 4 kB / 1.37 GB, free: 11.6 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002175/0.536, allocations: 157.7 kB / 1.37 GB, free: 11.39 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.684e-05/0.5361, allocations: 18.58 kB / 1.37 GB, free: 11.37 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007598/0.5369, allocations: 0.6091 MB / 1.371 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.701e-05/0.5369, allocations: 42.5 kB / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=2): time 1.422e-06/0.5369, allocations: 0 / 1.371 GB, free: 10.58 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2): time 0.0002121/0.5371, allocations: 37.7 kB / 1.371 GB, free: 10.54 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.481e-05/0.5372, allocations: 51.41 kB / 1.371 GB, free: 10.47 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.109e-05/0.5373, allocations: 95.72 kB / 1.371 GB, free: 10.38 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.926e-05/0.5373, allocations: 25.7 kB / 1.371 GB, free: 10.34 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.005e-05/0.5374, allocations: 84.14 kB / 1.371 GB, free: 10.26 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 3.528e-05/0.5374, allocations: 8.031 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.691e-06/0.5374, allocations: 4 kB / 1.371 GB, free: 10.25 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5376, allocations: 310.8 kB / 1.371 GB, free: 9.934 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.103e-05/0.5376, allocations: 4 kB / 1.371 GB, free: 9.93 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.698e-06/0.5377, allocations: 0 / 1.371 GB, free: 9.93 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.649e-05/0.5377, allocations: 7.953 kB / 1.371 GB, free: 9.922 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.5377, allocations: 7.922 kB / 1.371 GB, free: 9.914 MB / 0.8698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.761e-05/0.5378, allocations: 41.64 kB / 1.371 GB, free: 9.867 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.289e-05/0.5378, allocations: 8.094 kB / 1.371 GB, free: 9.859 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.5378, allocations: 0 / 1.371 GB, free: 9.859 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/0.5379, allocations: 4 kB / 1.371 GB, free: 9.855 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.469e-05/0.5379, allocations: 0 / 1.371 GB, free: 9.855 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.346e-06/0.5379, allocations: 0 / 1.371 GB, free: 9.855 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.358e-05/0.538, allocations: 4 kB / 1.371 GB, free: 9.852 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.538, allocations: 0 / 1.371 GB, free: 9.852 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 (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 9.687e-05/0.5381, allocations: 114.5 kB / 1.371 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.388e-06/0.5381, allocations: 0 / 1.371 GB, free: 9.73 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001395/0.5382, allocations: 52.77 kB / 1.371 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.106e-06/0.5383, allocations: 0 / 1.371 GB, free: 9.672 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.5383, allocations: 3.984 kB / 1.371 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.777e-06/0.5383, allocations: 0 / 1.371 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001406/0.5384, allocations: 153.6 kB / 1.372 GB, free: 9.469 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.5384, allocations: 3.953 kB / 1.372 GB, free: 9.465 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.439e-05/0.5385, allocations: 7.984 kB / 1.372 GB, free: 9.457 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.306e-06/0.5385, allocations: 3.938 kB / 1.372 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.5385, allocations: 0 / 1.372 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.5385, allocations: 0 / 1.372 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.5385, allocations: 0 / 1.372 GB, free: 9.453 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001063/0.5386, allocations: 65.11 kB / 1.372 GB, free: 9.371 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.5387, allocations: 89.05 kB / 1.372 GB, free: 9.266 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.5387, allocations: 0 / 1.372 GB, free: 9.266 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.699e-05/0.5387, allocations: 0 / 1.372 GB, free: 9.266 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.636e-05/0.5388, allocations: 192 / 1.372 GB, free: 9.266 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.291e-06/0.5388, allocations: 8 kB / 1.372 GB, free: 9.258 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 4.917e-05/0.5388, allocations: 79.3 kB / 1.372 GB, free: 9.18 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.51e-07/0.5388, allocations: 4 kB / 1.372 GB, free: 9.176 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002311/0.5391, allocations: 19.94 kB / 1.372 GB, free: 9.156 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 (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.000246/0.5393, allocations: 119 kB / 1.372 GB, free: 9.031 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.917e-05/0.5394, allocations: 4 kB / 1.372 GB, free: 9.027 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 5.3e-06/0.5394, allocations: 4 kB / 1.372 GB, free: 9.023 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.413e-05/0.5395, allocations: 7.984 kB / 1.372 GB, free: 9.016 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.5397, allocations: 8.125 kB / 1.372 GB, free: 9.008 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003335/0.5401, allocations: 114.5 kB / 1.372 GB, free: 8.863 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.5404, allocations: 0.6809 MB / 1.373 GB, free: 8.156 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.136e-05/0.5405, allocations: 4 kB / 1.373 GB, free: 8.152 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.088e-05/0.5405, allocations: 7.438 kB / 1.373 GB, free: 8.145 MB / 0.8698 GB Notification: Performance of SimCode: time 2.5e-07/0.5405, allocations: 4 kB / 1.373 GB, free: 8.141 MB / 0.8698 GB Notification: Performance of Templates: time 0.00335/0.5439, allocations: 0.5594 MB / 1.373 GB, free: 7.586 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","../files/Buildings_9_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches