Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.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.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.539/1.539, allocations: 249.5 MB / 257 MB, free: 7.004 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.001203/0.001203, allocations: 168.9 kB / 316.3 MB, free: 3.242 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.963/1.963, allocations: 205.3 MB / 0.5671 GB, free: 15.89 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.0009914/0.0009911, allocations: 95.31 kB / 0.6714 GB, free: 5.008 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.291e-05/2.294e-05, allocations: 8 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2579/0.258, allocations: 106.3 MB / 0.8852 GB, free: 12.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.838/1.096, allocations: 132.2 MB / 1.014 GB, free: 5.66 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002185/1.096, allocations: 79.94 kB / 1.014 GB, free: 5.613 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002317/1.099, allocations: 0.9182 MB / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.343e-06/1.099, allocations: 0 / 1.015 GB, free: 4.797 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.889e-06/1.099, allocations: 0 / 1.015 GB, free: 4.797 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003516/1.099, allocations: 344.8 kB / 1.016 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.812e-05/1.099, allocations: 12.03 kB / 1.016 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.446e-05/1.099, allocations: 15.83 kB / 1.016 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002374/1.099, allocations: 186.3 kB / 1.016 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/1.099, allocations: 4 kB / 1.016 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/1.099, allocations: 4 kB / 1.016 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.973e-05/1.1, allocations: 34.8 kB / 1.016 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/1.1, allocations: 87 kB / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/1.1, allocations: 0 / 1.016 GB, free: 4.059 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.203e-05/1.1, allocations: 4 kB / 1.016 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.275e-06/1.1, allocations: 4 kB / 1.016 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006195/1.1, allocations: 0.6063 MB / 1.017 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/1.1, allocations: 169.1 kB / 1.017 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.38e-05/1.101, allocations: 84.08 kB / 1.017 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.762e-05/1.101, allocations: 75.28 kB / 1.017 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.811e-05/1.101, allocations: 113.4 kB / 1.017 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/1.101, allocations: 4 kB / 1.017 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 7.686e-05/1.101, allocations: 28.23 kB / 1.017 GB, free: 2.934 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.091e-05/1.101, allocations: 55.34 kB / 1.017 GB, free: 2.867 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/1.101, allocations: 116 kB / 1.017 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/1.101, allocations: 25.7 kB / 1.017 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.145e-05/1.101, allocations: 110.8 kB / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/1.101, allocations: 0 / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-06/1.101, allocations: 0 / 1.017 GB, free: 2.617 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.101, allocations: 318.8 kB / 1.018 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.172e-05/1.101, allocations: 3.438 kB / 1.018 GB, free: 2.297 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-05/1.101, allocations: 22.52 kB / 1.018 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.54e-05/1.101, allocations: 11.48 kB / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/1.101, allocations: 0 / 1.018 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001081/1.101, allocations: 45.2 kB / 1.018 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/1.101, allocations: 16.05 kB / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/1.101, allocations: 0 / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/1.101, allocations: 0 / 1.018 GB, free: 2.195 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.085e-05/1.101, allocations: 7.984 kB / 1.018 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.101, allocations: 4 kB / 1.018 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.941e-05/1.102, allocations: 3.906 kB / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.258e-06/1.102, allocations: 0 / 1.018 GB, free: 2.18 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 0.000103/1.102, allocations: 180.3 kB / 1.018 GB, free: 1.996 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.419e-05/1.102, allocations: 105 kB / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.544e-05/1.102, allocations: 116.8 kB / 1.018 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.813e-05/1.102, allocations: 184.3 kB / 1.018 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.363e-05/1.102, allocations: 179.8 kB / 1.018 GB, free: 1.395 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.029e-05/1.102, allocations: 184.1 kB / 1.019 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/1.102, allocations: 401.1 kB / 1.019 GB, free: 0.7773 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.802e-05/1.102, allocations: 105 kB / 1.019 GB, free: 0.668 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.712e-05/1.102, allocations: 104.9 kB / 1.019 GB, free: 0.5586 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.309e-05/1.102, allocations: 180.7 kB / 1.019 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.877e-05/1.102, allocations: 180.2 kB / 1.02 GB, free: 196 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.323e-05/1.103, allocations: 184.2 kB / 1.02 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.431e-05/1.103, allocations: 184.2 kB / 1.02 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001388/1.103, allocations: 303.2 kB / 1.02 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.965e-05/1.103, allocations: 193.9 kB / 1.02 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.976e-05/1.103, allocations: 176.3 kB / 1.021 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.835e-05/1.103, allocations: 108.9 kB / 1.021 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001143/1.103, allocations: 191.5 kB / 1.021 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.206e-05/1.103, allocations: 105 kB / 1.021 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.601e-05/1.103, allocations: 94.03 kB / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.41e-07/1.103, allocations: 0 / 1.021 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002293/1.104, allocations: 11.94 kB / 1.021 GB, free: 14.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 (0): * Single equations (assignments): 0 * 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.0001847/1.104, allocations: 170.5 kB / 1.021 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 7.332e-05/1.104, allocations: 12.95 kB / 1.021 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/1.104, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.082e-06/1.104, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004006/1.104, allocations: 0.5182 MB / 1.022 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002989/1.105, allocations: 162.8 kB / 1.022 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003301/1.105, allocations: 0.7038 MB / 1.023 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 1.691e-05/1.105, allocations: 0.5 kB / 1.023 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/1.105, allocations: 7.438 kB / 1.023 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of SimCode: time 2.31e-07/1.105, allocations: 0 / 1.023 GB, free: 12.97 MB / 0.6511 GB Notification: Performance of Templates: time 0.001947/1.107, allocations: 234.2 kB / 1.023 GB, free: 12.75 MB / 0.6511 GB make -j1 -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","../files/Buildings_maint.7.0.x_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches