Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.467/1.467, allocations: 249.3 MB / 261.8 MB, free: 5.898 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009716/0.0009717, allocations: 172.9 kB / 321.3 MB, free: 14.65 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.614/1.614, allocations: 205.2 MB / 0.572 GB, free: 10.71 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008779/0.0008779, allocations: 94.45 kB / 0.6764 GB, free: 15.68 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.009e-05/3.012e-05, allocations: 4 kB / 0.7879 GB, free: 97.14 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2141/0.2141, allocations: 106.3 MB / 0.8918 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7378/0.952, allocations: 131.3 MB / 1.02 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/0.9523, allocations: 83.5 kB / 1.02 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00231/0.9546, allocations: 0.8285 MB / 1.021 GB, free: 2.621 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.866e-06/0.9546, allocations: 4 kB / 1.021 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.746e-06/0.9546, allocations: 0 / 1.021 GB, free: 2.617 MB / 0.6355 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.0004138/0.9551, allocations: 326.2 kB / 1.021 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.317e-05/0.9551, allocations: 8.031 kB / 1.021 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.645e-05/0.9552, allocations: 0 / 1.021 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.9554, allocations: 171 kB / 1.021 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.9554, allocations: 0 / 1.021 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.9554, allocations: 0 / 1.021 GB, free: 2.043 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001138/0.9556, allocations: 37.67 kB / 1.021 GB, free: 2 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.9556, allocations: 4 kB / 1.021 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.266e-05/0.9556, allocations: 0 / 1.021 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.999e-06/0.9556, allocations: 0 / 1.021 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.919e-05/0.9557, allocations: 7.938 kB / 1.021 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002221/0.9559, allocations: 153.6 kB / 1.022 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 7.453e-05/0.956, allocations: 30.36 kB / 1.022 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.296e-05/0.956, allocations: 4.859 kB / 1.022 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007664/0.9568, allocations: 0.6089 MB / 1.022 GB, free: 1.016 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/0.9568, allocations: 30.56 kB / 1.022 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.597e-06/0.9568, allocations: 0 / 1.022 GB, free: 0.9766 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001532/0.957, allocations: 36.44 kB / 1.022 GB, free: 0.9375 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.957, allocations: 51.41 kB / 1.022 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.5e-05/0.9571, allocations: 92.31 kB / 1.022 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.9572, allocations: 25.7 kB / 1.022 GB, free: 0.75 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.9572, allocations: 88.16 kB / 1.023 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.319e-05/0.9573, allocations: 14.97 kB / 1.023 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.9573, allocations: 3.938 kB / 1.023 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.9575, allocations: 310.8 kB / 1.023 GB, free: 340 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.9575, allocations: 4 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-06/0.9575, allocations: 0 / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.977e-05/0.9575, allocations: 4 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.018e-06/0.9576, allocations: 7.891 kB / 1.023 GB, free: 324 kB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.851e-05/0.9576, allocations: 44.88 kB / 1.023 GB, free: 276 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.017e-05/0.9577, allocations: 4 kB / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.223e-06/0.9577, allocations: 0 / 1.023 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.685e-05/0.9577, allocations: 4 kB / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.399e-05/0.9578, allocations: 0 / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.9578, allocations: 0 / 1.023 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.693e-05/0.9578, allocations: 4 kB / 1.023 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-06/0.9578, allocations: 0 / 1.023 GB, free: 264 kB / 0.6355 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 (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 8.216e-05/0.9579, allocations: 108.3 kB / 1.023 GB, free: 152 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.151e-05/0.9579, allocations: 7.859 kB / 1.023 GB, free: 144 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001355/0.9581, allocations: 56.36 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.9581, allocations: 0 / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/0.9581, allocations: 0 / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.586e-06/0.9581, allocations: 3.938 kB / 1.023 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.9583, allocations: 149.7 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9583, allocations: 0 / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.579e-05/0.9583, allocations: 7.953 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.9583, allocations: 0 / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/0.9583, allocations: 0.875 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.9583, allocations: 4.031 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.9583, allocations: 0 / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.855e-05/0.9585, allocations: 74.59 kB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.851e-05/0.9585, allocations: 77.11 kB / 1.023 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.757e-05/0.9585, allocations: 3.953 kB / 1.023 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.712e-05/0.9586, allocations: 2.75 kB / 1.023 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.629e-05/0.9586, allocations: 0 / 1.023 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.897e-06/0.9586, allocations: 7.984 kB / 1.023 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.002e-05/0.9587, allocations: 79.5 kB / 1.023 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9587, allocations: 0 / 1.023 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.00022/0.9589, allocations: 16 kB / 1.023 GB, free: 15.59 MB / 0.6511 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 (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.000244/0.9592, allocations: 122.5 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.929e-05/0.9592, allocations: 4 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.9593, allocations: 3.938 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.069e-05/0.9593, allocations: 8 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.9595, allocations: 8.062 kB / 1.024 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002498/0.9597, allocations: 53.48 kB / 1.024 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000303/0.96, allocations: 0.6809 MB / 1.024 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.311e-05/0.9601, allocations: 7.922 kB / 1.024 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.649e-05/0.9601, allocations: 11.38 kB / 1.024 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of SimCode: time 5.81e-07/0.9601, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of Templates: time 0.002692/0.9628, allocations: 0.5738 MB / 1.025 GB, free: 14.09 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLaw.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLaw.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches