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.442/1.442, allocations: 249.5 MB / 257 MB, free: 6.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.001164/0.001164, allocations: 175.4 kB / 316.3 MB, free: 3.227 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.687/1.687, allocations: 205.3 MB / 0.5671 GB, free: 15.8 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.0008862/0.0008863, allocations: 89.84 kB / 0.6714 GB, free: 4.918 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.76e-05/1.756e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2349, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7711/1.006, allocations: 131.6 MB / 1.014 GB, free: 6.184 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002159/1.006, allocations: 79.45 kB / 1.014 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00213/1.008, allocations: 0.8304 MB / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.783e-06/1.008, allocations: 0 / 1.015 GB, free: 5.387 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.444e-06/1.008, allocations: 0 / 1.015 GB, free: 5.387 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.0002696/1.009, allocations: 322.5 kB / 1.015 GB, free: 5.027 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/1.009, allocations: 8.031 kB / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.78e-05/1.009, allocations: 0 / 1.015 GB, free: 5.02 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001482/1.009, allocations: 171 kB / 1.015 GB, free: 4.812 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.233e-05/1.009, allocations: 3.938 kB / 1.015 GB, free: 4.809 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.975e-06/1.009, allocations: 4.75 kB / 1.015 GB, free: 4.805 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.716e-05/1.009, allocations: 7.375 kB / 1.015 GB, free: 4.801 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.669e-05/1.009, allocations: 29.7 kB / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/1.009, allocations: 0 / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/1.009, allocations: 0 / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.185e-06/1.009, allocations: 0 / 1.015 GB, free: 4.766 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001435/1.009, allocations: 136.9 kB / 1.015 GB, free: 4.598 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.341e-05/1.009, allocations: 18.58 kB / 1.015 GB, free: 4.57 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.035e-05/1.009, allocations: 19.86 kB / 1.015 GB, free: 4.551 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005959/1.01, allocations: 0.5974 MB / 1.016 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.277e-05/1.01, allocations: 34.5 kB / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.645e-06/1.01, allocations: 0 / 1.016 GB, free: 3.781 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001484/1.01, allocations: 40 kB / 1.016 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.75e-05/1.01, allocations: 51.41 kB / 1.016 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.212e-05/1.01, allocations: 92.98 kB / 1.016 GB, free: 3.582 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.182e-05/1.01, allocations: 29.73 kB / 1.016 GB, free: 3.547 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 3.405e-05/1.01, allocations: 87.45 kB / 1.016 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.413e-05/1.01, allocations: 7.844 kB / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.474e-06/1.01, allocations: 0 / 1.016 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.74e-05/1.011, allocations: 310.8 kB / 1.017 GB, free: 3.141 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.103e-05/1.011, allocations: 4 kB / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-06/1.011, allocations: 0 / 1.017 GB, free: 3.137 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.956e-05/1.011, allocations: 7.25 kB / 1.017 GB, free: 3.133 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/1.011, allocations: 4.062 kB / 1.017 GB, free: 3.129 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.483e-05/1.011, allocations: 45.58 kB / 1.017 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.194e-05/1.011, allocations: 4 kB / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/1.011, allocations: 0 / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/1.011, allocations: 0 / 1.017 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.277e-05/1.011, allocations: 4 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.747e-06/1.011, allocations: 0 / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.637e-05/1.011, allocations: 3.938 kB / 1.017 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.101e-06/1.011, allocations: 4 kB / 1.017 GB, free: 3.066 MB / 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 5.981e-05/1.011, allocations: 105 kB / 1.017 GB, free: 2.957 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.005e-05/1.011, allocations: 11.84 kB / 1.017 GB, free: 2.945 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/1.011, allocations: 44.91 kB / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.096e-06/1.011, allocations: 7.922 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.693e-06/1.011, allocations: 4 kB / 1.017 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/1.011, allocations: 3.938 kB / 1.017 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.278e-05/1.011, allocations: 130 kB / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.011, allocations: 0 / 1.017 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.877e-05/1.011, allocations: 4 kB / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/1.011, allocations: 0 / 1.017 GB, free: 2.715 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.833e-06/1.011, allocations: 8.031 kB / 1.017 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.545e-06/1.011, allocations: 3.953 kB / 1.017 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.011, allocations: 3.984 kB / 1.017 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.511e-05/1.011, allocations: 56.08 kB / 1.017 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.455e-05/1.011, allocations: 77.11 kB / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.193e-05/1.011, allocations: 0 / 1.017 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.663e-05/1.011, allocations: 7.984 kB / 1.017 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.88e-05/1.011, allocations: 7.984 kB / 1.017 GB, free: 2.52 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/1.011, allocations: 3.938 kB / 1.017 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.962e-05/1.011, allocations: 79.28 kB / 1.017 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.3e-07/1.011, allocations: 0 / 1.017 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0001809/1.012, allocations: 16 kB / 1.017 GB, free: 2.422 MB / 0.6355 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.0001664/1.012, allocations: 119.1 kB / 1.017 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.762e-05/1.012, allocations: 7.938 kB / 1.017 GB, free: 2.293 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.012, allocations: 4 kB / 1.017 GB, free: 2.289 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.126e-06/1.012, allocations: 8.062 kB / 1.017 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001458/1.012, allocations: 2.578 kB / 1.017 GB, free: 2.281 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001649/1.012, allocations: 55.25 kB / 1.017 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002017/1.012, allocations: 0.6768 MB / 1.018 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.959e-05/1.012, allocations: 4 kB / 1.018 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.508e-05/1.012, allocations: 11.5 kB / 1.018 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of SimCode: time 2.31e-07/1.012, allocations: 3.938 kB / 1.018 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of Templates: time 0.002245/1.015, allocations: 0.5516 MB / 1.019 GB, free: 0.9453 MB / 0.6355 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