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.513/1.513, allocations: 249.3 MB / 261.8 MB, free: 5.977 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.001131/0.001131, allocations: 172.9 kB / 321.3 MB, free: 14.64 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.838/1.838, allocations: 205.1 MB / 0.572 GB, free: 10.59 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.00111/0.001111, allocations: 78.55 kB / 0.6764 GB, free: 15.57 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.586e-05/3.589e-05, allocations: 8 kB / 0.7879 GB, free: 97.08 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2344, allocations: 106.3 MB / 0.8918 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8879/1.122, allocations: 131.9 MB / 1.021 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003104/1.123, allocations: 84.44 kB / 1.021 GB, free: 2.766 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002607/1.125, allocations: 0.913 MB / 1.022 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of FrontEnd: time 5.521e-06/1.125, allocations: 0 / 1.022 GB, free: 1.945 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.742e-05/1.126, allocations: 7.062 kB / 1.022 GB, free: 1.941 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.0005245/1.126, allocations: 344 kB / 1.022 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.576e-05/1.126, allocations: 12.03 kB / 1.022 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.387e-05/1.126, allocations: 7.906 kB / 1.022 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002845/1.126, allocations: 186.5 kB / 1.022 GB, free: 1.328 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.439e-05/1.126, allocations: 10.81 kB / 1.022 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/1.127, allocations: 4 kB / 1.022 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/1.127, allocations: 98.61 kB / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/1.127, allocations: 0 / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.796e-05/1.127, allocations: 3.125 kB / 1.022 GB, free: 1.223 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.558e-06/1.127, allocations: 8 kB / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.641e-05/1.127, allocations: 37.3 kB / 1.022 GB, free: 1.188 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007367/1.128, allocations: 0.6516 MB / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001003/1.128, allocations: 177.1 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.778e-05/1.128, allocations: 80.14 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.924e-05/1.128, allocations: 75.28 kB / 1.023 GB, free: 176 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.754e-05/1.128, allocations: 105.8 kB / 1.023 GB, free: 60 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/1.128, allocations: 4 kB / 1.023 GB, free: 56 kB / 0.6355 GB Notification: Performance of matching and sorting (n=0): time 8.428e-05/1.128, allocations: 33.64 kB / 1.023 GB, free: 16 kB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001017/1.128, allocations: 130.6 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001884/1.128, allocations: 165.9 kB / 1.024 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/1.128, allocations: 25.7 kB / 1.024 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.411e-05/1.128, allocations: 102.2 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.236e-06/1.128, allocations: 0 / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.846e-06/1.128, allocations: 0 / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001614/1.129, allocations: 326.5 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.283e-05/1.129, allocations: 0 / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.334e-05/1.129, allocations: 21.95 kB / 1.024 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.587e-05/1.129, allocations: 8 kB / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.129, allocations: 0 / 1.024 GB, free: 15.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001417/1.129, allocations: 68.92 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.933e-05/1.129, allocations: 7.938 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/1.129, allocations: 0 / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.938e-05/1.129, allocations: 4.094 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.983e-05/1.129, allocations: 4 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/1.129, allocations: 3.984 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.827e-05/1.129, allocations: 11.89 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.761e-06/1.129, allocations: 0 / 1.024 GB, free: 15.14 MB / 0.6511 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.0001115/1.129, allocations: 180.4 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.657e-05/1.129, allocations: 108.9 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.077e-05/1.129, allocations: 115.8 kB / 1.025 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.787e-05/1.129, allocations: 180.2 kB / 1.025 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.792e-05/1.13, allocations: 184.2 kB / 1.025 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001286/1.13, allocations: 176.3 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003117/1.13, allocations: 428.5 kB / 1.025 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.361e-05/1.13, allocations: 108.9 kB / 1.026 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.874e-05/1.13, allocations: 109 kB / 1.026 GB, free: 13.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.925e-05/1.13, allocations: 188.1 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.241e-05/1.13, allocations: 176.3 kB / 1.026 GB, free: 13.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.693e-05/1.13, allocations: 180.3 kB / 1.026 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.376e-05/1.131, allocations: 191.6 kB / 1.026 GB, free: 12.74 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/1.131, allocations: 307.7 kB / 1.027 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001279/1.131, allocations: 189.6 kB / 1.027 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001379/1.131, allocations: 184.2 kB / 1.027 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001048/1.131, allocations: 109 kB / 1.027 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000109/1.131, allocations: 180.2 kB / 1.027 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.059e-05/1.131, allocations: 109.6 kB / 1.027 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001086/1.131, allocations: 125.2 kB / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.2e-07/1.131, allocations: 4 kB / 1.028 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002381/1.132, allocations: 4 kB / 1.028 GB, free: 11.5 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.0002118/1.132, allocations: 174.5 kB / 1.028 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 8.789e-05/1.132, allocations: 11.81 kB / 1.028 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.38e-06/1.132, allocations: 0 / 1.028 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/1.132, allocations: 3.938 kB / 1.028 GB, free: 11.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004088/1.132, allocations: 0.5218 MB / 1.028 GB, free: 10.78 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003506/1.133, allocations: 167.8 kB / 1.028 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003802/1.133, allocations: 0.6965 MB / 1.029 GB, free: 9.871 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.278e-05/1.133, allocations: 4 kB / 1.029 GB, free: 9.867 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/1.133, allocations: 11.44 kB / 1.029 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of SimCode: time 3.41e-07/1.133, allocations: 0 / 1.029 GB, free: 9.859 MB / 0.6511 GB Notification: Performance of Templates: time 0.002784/1.136, allocations: 414.4 kB / 1.03 GB, free: 9.465 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