Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.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.PowerLawFixedM,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V_flow",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.479/1.479, allocations: 249.3 MB / 261.8 MB, free: 5.777 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.001066/0.001066, allocations: 166.2 kB / 321.3 MB, free: 14.66 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.606/1.606, allocations: 205.2 MB / 0.572 GB, free: 10.64 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.000871/0.0008707, allocations: 94.8 kB / 0.6764 GB, free: 15.63 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.974e-05/4e-05, allocations: 4 kB / 0.7879 GB, free: 97.12 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2204/0.2205, allocations: 106.3 MB / 0.8918 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.723/0.9435, allocations: 131.7 MB / 1.02 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.9438, allocations: 78.52 kB / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.005226/0.9491, allocations: 1.773 MB / 1.022 GB, free: 1.508 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.894e-06/0.9491, allocations: 7.875 kB / 1.022 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.9491, allocations: 4 kB / 1.022 GB, free: 1.496 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000315/0.9494, allocations: 342.2 kB / 1.023 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.9495, allocations: 8.031 kB / 1.023 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.9496, allocations: 4 kB / 1.023 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.9497, allocations: 166.9 kB / 1.023 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.557e-05/0.9497, allocations: 4 kB / 1.023 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.358e-06/0.9497, allocations: 0 / 1.023 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000108/0.9499, allocations: 37.44 kB / 1.023 GB, free: 0.8633 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.9499, allocations: 4 kB / 1.023 GB, free: 0.8594 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.372e-05/0.9499, allocations: 4 kB / 1.023 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.9499, allocations: 0 / 1.023 GB, free: 0.8555 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.511e-05/0.95, allocations: 15.91 kB / 1.023 GB, free: 0.8398 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001901/0.9502, allocations: 164.9 kB / 1.023 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.221e-05/0.9502, allocations: 30.14 kB / 1.023 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.337e-05/0.9503, allocations: 8.922 kB / 1.023 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001061/0.9513, allocations: 1.171 MB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.189e-05/0.9514, allocations: 41.25 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=3): time 1.653e-06/0.9514, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3): time 0.0001616/0.9516, allocations: 48.25 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.9516, allocations: 51.41 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.376e-05/0.9517, allocations: 104 kB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.811e-05/0.9517, allocations: 25.7 kB / 1.024 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 4.3e-05/0.9518, allocations: 87.5 kB / 1.024 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.495e-05/0.9518, allocations: 15.8 kB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.9518, allocations: 0 / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001231/0.952, allocations: 310.8 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.692e-05/0.952, allocations: 7.188 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.251e-05/0.952, allocations: 4 kB / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.974e-05/0.952, allocations: 0 / 1.025 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.539e-06/0.952, allocations: 11.95 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.516e-05/0.9521, allocations: 48.88 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.056e-05/0.9522, allocations: 7.938 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.9522, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/0.9522, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.585e-05/0.9523, allocations: 4 kB / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.338e-06/0.9523, allocations: 3.984 kB / 1.025 GB, free: 14.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.594e-05/0.9523, allocations: 7.938 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.9523, allocations: 0 / 1.025 GB, free: 14.36 MB / 0.6511 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 (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.114e-05/0.9524, allocations: 104.5 kB / 1.025 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.466e-05/0.9524, allocations: 11.95 kB / 1.025 GB, free: 14.24 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001607/0.9526, allocations: 55.94 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.569e-06/0.9526, allocations: 7.938 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.072e-06/0.9526, allocations: 4 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.9526, allocations: 0 / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.9528, allocations: 156.8 kB / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.9528, allocations: 0 / 1.025 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.917e-05/0.9528, allocations: 15.95 kB / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.9528, allocations: 0 / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.702e-06/0.9528, allocations: 0 / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/0.9528, allocations: 0 / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.9528, allocations: 0 / 1.025 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.933e-05/0.9529, allocations: 72.11 kB / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.238e-05/0.953, allocations: 85.05 kB / 1.025 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.775e-05/0.953, allocations: 11.94 kB / 1.025 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.752e-05/0.9531, allocations: 4 kB / 1.025 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.284e-05/0.9531, allocations: 0 / 1.025 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.624e-06/0.9531, allocations: 4 kB / 1.025 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 4.829e-05/0.9532, allocations: 86.91 kB / 1.025 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/0.9532, allocations: 3.938 kB / 1.025 GB, free: 13.67 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002378/0.9534, allocations: 31.92 kB / 1.025 GB, free: 13.64 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 (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.0002179/0.9536, allocations: 134.9 kB / 1.026 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.494e-05/0.9537, allocations: 8 kB / 1.026 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.455e-06/0.9537, allocations: 4 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.706e-05/0.9538, allocations: 11.44 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001492/0.9539, allocations: 0 / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002129/0.9541, allocations: 77.23 kB / 1.026 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002633/0.9544, allocations: 0.6848 MB / 1.026 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.48e-05/0.9545, allocations: 8 kB / 1.026 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.791e-05/0.9545, allocations: 7.438 kB / 1.026 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of SimCode: time 4.41e-07/0.9545, allocations: 0 / 1.026 GB, free: 12.66 MB / 0.6511 GB Notification: Performance of Templates: time 0.002894/0.9574, allocations: 0.7529 MB / 1.027 GB, free: 11.92 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.makefile (rm -f Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.sim & ./Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Airflow_Multizone_BaseClasses_Examples_PowerLawFixedM.csv","../files/Buildings_maint.7.0.x_Buildings.Airflow.Multizone.BaseClasses.Examples.PowerLawFixedM.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches