Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.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_9_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_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.5/2.5, allocations: 390.3 MB / 405.3 MB, free: 13.48 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002028/0.002028, allocations: 177 kB / 498.1 MB, free: 5.73 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.92/1.92, allocations: 223.2 MB / 0.7948 GB, free: 17.84 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001159/0.00116, allocations: 100.3 kB / 0.9346 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004647/0.0004651, allocations: 10.97 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3685/0.369, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2171/0.5862, allocations: 149.5 MB / 1.369 GB, free: 12.45 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002553/0.5865, allocations: 75.95 kB / 1.369 GB, free: 12.38 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002462/0.589, allocations: 0.9278 MB / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.505e-06/0.589, allocations: 0 / 1.37 GB, free: 11.45 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 1.065e-05/0.589, allocations: 0 / 1.37 GB, free: 11.45 MB / 0.8698 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.0004198/0.5894, allocations: 355.7 kB / 1.37 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/0.5895, allocations: 12.03 kB / 1.37 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.954e-05/0.5895, allocations: 7.906 kB / 1.37 GB, free: 11.04 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002558/0.5898, allocations: 194.8 kB / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.831e-05/0.5898, allocations: 7.938 kB / 1.37 GB, free: 10.8 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.343e-05/0.5899, allocations: 8 kB / 1.37 GB, free: 10.79 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001825/0.59, allocations: 98.7 kB / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.5901, allocations: 4 kB / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.5901, allocations: 0 / 1.371 GB, free: 10.68 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.638e-06/0.5901, allocations: 4 kB / 1.371 GB, free: 10.67 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.195e-05/0.5902, allocations: 43.91 kB / 1.371 GB, free: 10.63 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007215/0.5909, allocations: 0.6479 MB / 1.371 GB, free: 9.922 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000139/0.5911, allocations: 173 kB / 1.371 GB, free: 9.742 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 4.35e-05/0.5911, allocations: 75.28 kB / 1.371 GB, free: 9.668 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.27e-05/0.5912, allocations: 105.8 kB / 1.372 GB, free: 9.555 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 1.222e-06/0.5912, allocations: 8 kB / 1.372 GB, free: 9.547 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 8.617e-05/0.5913, allocations: 33.61 kB / 1.372 GB, free: 9.508 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.036e-05/0.5914, allocations: 130.6 kB / 1.372 GB, free: 9.367 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001895/0.5916, allocations: 159.4 kB / 1.372 GB, free: 9.203 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.5916, allocations: 25.7 kB / 1.372 GB, free: 9.172 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 7.075e-05/0.5917, allocations: 100 kB / 1.372 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 4.378e-06/0.5917, allocations: 0 / 1.372 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.136e-06/0.5917, allocations: 0 / 1.372 GB, free: 9.07 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001637/0.5919, allocations: 322.8 kB / 1.372 GB, free: 8.746 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.243e-05/0.5919, allocations: 4 kB / 1.372 GB, free: 8.742 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.131e-05/0.5919, allocations: 26.56 kB / 1.372 GB, free: 8.707 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.751e-05/0.592, allocations: 4 kB / 1.372 GB, free: 8.703 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.592, allocations: 0 / 1.372 GB, free: 8.703 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001327/0.5921, allocations: 61.53 kB / 1.372 GB, free: 8.637 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 2.058e-05/0.5922, allocations: 5.406 kB / 1.372 GB, free: 8.633 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.5922, allocations: 4 kB / 1.372 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.5922, allocations: 0 / 1.372 GB, free: 8.629 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.797e-05/0.5923, allocations: 7.984 kB / 1.372 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.5923, allocations: 0 / 1.372 GB, free: 8.621 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.003e-05/0.5923, allocations: 11.94 kB / 1.372 GB, free: 8.609 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.359e-06/0.5923, allocations: 3.938 kB / 1.372 GB, free: 8.605 MB / 0.8698 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 () * Number of clocked 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.0001394/0.5925, allocations: 189.1 kB / 1.373 GB, free: 8.41 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.251e-05/0.5926, allocations: 120.9 kB / 1.373 GB, free: 8.285 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.848e-05/0.5926, allocations: 116.6 kB / 1.373 GB, free: 8.164 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.41e-05/0.5927, allocations: 180.2 kB / 1.373 GB, free: 7.98 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.497e-05/0.5928, allocations: 176.3 kB / 1.373 GB, free: 7.801 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.856e-05/0.5929, allocations: 188.2 kB / 1.373 GB, free: 7.609 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003095/0.5932, allocations: 429.9 kB / 1.374 GB, free: 7.133 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.929e-05/0.5933, allocations: 101 kB / 1.374 GB, free: 7.027 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.767e-05/0.5933, allocations: 108.9 kB / 1.374 GB, free: 6.914 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.13e-05/0.5934, allocations: 188.2 kB / 1.374 GB, free: 6.723 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.484e-05/0.5935, allocations: 180.2 kB / 1.374 GB, free: 6.539 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.993e-05/0.5936, allocations: 176.3 kB / 1.374 GB, free: 6.359 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.502e-05/0.5937, allocations: 188.2 kB / 1.375 GB, free: 6.168 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001903/0.5939, allocations: 311.7 kB / 1.375 GB, free: 5.84 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001231/0.594, allocations: 189.9 kB / 1.375 GB, free: 5.629 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001218/0.5942, allocations: 188.2 kB / 1.375 GB, free: 5.438 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001183/0.5943, allocations: 108.9 kB / 1.375 GB, free: 5.324 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.593e-05/0.5944, allocations: 176.3 kB / 1.376 GB, free: 5.145 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7e-05/0.5945, allocations: 108.9 kB / 1.376 GB, free: 5.031 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.0001206/0.5946, allocations: 124.9 kB / 1.376 GB, free: 4.91 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5946, allocations: 0 / 1.376 GB, free: 4.91 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002488/0.5949, allocations: 8 kB / 1.376 GB, free: 4.902 MB / 0.8698 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 () * Number of clocked 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.0002656/0.5951, allocations: 182.2 kB / 1.376 GB, free: 4.711 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 8.843e-05/0.5952, allocations: 12.81 kB / 1.376 GB, free: 4.699 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5953, allocations: 4 kB / 1.376 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.5953, allocations: 0 / 1.376 GB, free: 4.695 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004506/0.5957, allocations: 0.5224 MB / 1.377 GB, free: 4.168 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004759/0.5962, allocations: 238.5 kB / 1.377 GB, free: 3.902 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004667/0.5967, allocations: 0.7004 MB / 1.377 GB, free: 3.176 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.02e-05/0.5967, allocations: 7.984 kB / 1.377 GB, free: 3.168 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.929e-05/0.5968, allocations: 7.438 kB / 1.377 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of SimCode: time 2.364e-06/0.5968, allocations: 0 / 1.377 GB, free: 3.16 MB / 0.8698 GB Notification: Performance of Templates: time 0.002935/0.5997, allocations: 400.3 kB / 1.378 GB, free: 2.77 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","../files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches