Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.613/2.613, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001523/0.001523, allocations: 191 kB / 0.4902 GB, free: 2.254 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.96/1.96, allocations: 223.2 MB / 0.7992 GB, free: 15.71 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.001008/0.001008, allocations: 98.27 kB / 0.9396 GB, free: 2.871 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000415/0.0004149, allocations: 16.19 kB / 1.09 GB, free: 212.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3699/0.3704, allocations: 143 MB / 1.229 GB, free: 85.5 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2354/0.6058, allocations: 150.3 MB / 1.376 GB, free: 14.96 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003086/0.6062, allocations: 79.95 kB / 1.376 GB, free: 14.89 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.002887/0.6091, allocations: 0.9155 MB / 1.377 GB, free: 13.97 MB / 0.8855 GB Notification: Performance of FrontEnd: time 3.016e-06/0.6092, allocations: 4 kB / 1.377 GB, free: 13.96 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.6092, allocations: 4 kB / 1.377 GB, free: 13.96 MB / 0.8855 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.0005434/0.6098, allocations: 353.3 kB / 1.377 GB, free: 13.57 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.141e-05/0.6098, allocations: 8.562 kB / 1.377 GB, free: 13.56 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.434e-05/0.6099, allocations: 7.906 kB / 1.377 GB, free: 13.55 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002972/0.6102, allocations: 198.8 kB / 1.378 GB, free: 13.32 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.164e-05/0.6102, allocations: 8 kB / 1.378 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.579e-05/0.6103, allocations: 4 kB / 1.378 GB, free: 13.31 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002193/0.6105, allocations: 96.25 kB / 1.378 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.316e-05/0.6105, allocations: 3.938 kB / 1.378 GB, free: 13.2 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.777e-05/0.6105, allocations: 4 kB / 1.378 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.6106, allocations: 3.984 kB / 1.378 GB, free: 13.19 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001026/0.6107, allocations: 43.98 kB / 1.378 GB, free: 13.14 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007949/0.6115, allocations: 0.6362 MB / 1.378 GB, free: 12.45 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001105/0.6116, allocations: 173.1 kB / 1.378 GB, free: 12.27 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.6116, allocations: 83.22 kB / 1.379 GB, free: 12.19 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.827e-05/0.6117, allocations: 113.8 kB / 1.379 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.623e-06/0.6117, allocations: 0 / 1.379 GB, free: 12.07 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 9.04e-05/0.6118, allocations: 33.61 kB / 1.379 GB, free: 12.03 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.026e-05/0.6119, allocations: 130.6 kB / 1.379 GB, free: 11.89 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001984/0.6121, allocations: 156.8 kB / 1.379 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.6121, allocations: 25.7 kB / 1.379 GB, free: 11.69 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 9.136e-05/0.6122, allocations: 104 kB / 1.379 GB, free: 11.59 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.845e-06/0.6122, allocations: 3.938 kB / 1.379 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.005e-06/0.6122, allocations: 0 / 1.379 GB, free: 11.58 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.6124, allocations: 322.8 kB / 1.379 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.564e-05/0.6124, allocations: 4 kB / 1.379 GB, free: 11.25 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.705e-05/0.6125, allocations: 22.58 kB / 1.379 GB, free: 11.22 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.09e-05/0.6125, allocations: 12 kB / 1.379 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6125, allocations: 0 / 1.379 GB, free: 11.21 MB / 0.8855 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001452/0.6127, allocations: 61.48 kB / 1.38 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.911e-05/0.6127, allocations: 4.625 kB / 1.38 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.6127, allocations: 0 / 1.38 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.733e-05/0.6127, allocations: 4 kB / 1.38 GB, free: 11.14 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.474e-05/0.6128, allocations: 4 kB / 1.38 GB, free: 11.13 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.119e-05/0.6128, allocations: 7.922 kB / 1.38 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.753e-05/0.6129, allocations: 7.938 kB / 1.38 GB, free: 11.12 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.6129, allocations: 4.094 kB / 1.38 GB, free: 11.11 MB / 0.8855 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.0001145/0.613, allocations: 189.6 kB / 1.38 GB, free: 10.92 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.953e-05/0.6131, allocations: 112.8 kB / 1.38 GB, free: 10.8 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.663e-05/0.6131, allocations: 124.6 kB / 1.38 GB, free: 10.68 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.694e-05/0.6132, allocations: 176.3 kB / 1.38 GB, free: 10.5 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.207e-05/0.6133, allocations: 184.3 kB / 1.38 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.476e-05/0.6134, allocations: 184.2 kB / 1.38 GB, free: 10.12 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.6137, allocations: 421.2 kB / 1.381 GB, free: 9.652 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.628e-05/0.6138, allocations: 108.9 kB / 1.381 GB, free: 9.539 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.239e-05/0.6138, allocations: 101 kB / 1.381 GB, free: 9.434 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.994e-05/0.6139, allocations: 188.2 kB / 1.381 GB, free: 9.242 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.322e-05/0.614, allocations: 184.2 kB / 1.381 GB, free: 9.055 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.872e-05/0.6141, allocations: 180.3 kB / 1.382 GB, free: 8.871 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.958e-05/0.6142, allocations: 180.2 kB / 1.382 GB, free: 8.688 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001768/0.6144, allocations: 311.7 kB / 1.382 GB, free: 8.359 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001059/0.6145, allocations: 193.9 kB / 1.382 GB, free: 8.145 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.602e-05/0.6146, allocations: 180.2 kB / 1.382 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.197e-05/0.6147, allocations: 113 kB / 1.383 GB, free: 7.844 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.262e-05/0.6148, allocations: 184.2 kB / 1.383 GB, free: 7.656 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.794e-05/0.6148, allocations: 101 kB / 1.383 GB, free: 7.551 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0001228/0.615, allocations: 127.2 kB / 1.383 GB, free: 7.426 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.5e-07/0.615, allocations: 3.938 kB / 1.383 GB, free: 7.422 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0002296/0.6152, allocations: 8 kB / 1.383 GB, free: 7.414 MB / 0.8855 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.0002053/0.6154, allocations: 173.6 kB / 1.383 GB, free: 7.234 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 7.352e-05/0.6155, allocations: 8.344 kB / 1.383 GB, free: 7.227 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.6155, allocations: 4 kB / 1.383 GB, free: 7.223 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 3.546e-06/0.6155, allocations: 3.984 kB / 1.383 GB, free: 7.219 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.6159, allocations: 0.538 MB / 1.384 GB, free: 6.676 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003822/0.6163, allocations: 234.4 kB / 1.384 GB, free: 6.418 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003487/0.6166, allocations: 0.6965 MB / 1.385 GB, free: 5.695 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.182e-05/0.6167, allocations: 4 kB / 1.385 GB, free: 5.691 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.277e-05/0.6167, allocations: 11.44 kB / 1.385 GB, free: 5.684 MB / 0.8855 GB Notification: Performance of SimCode: time 2.21e-07/0.6167, allocations: 0 / 1.385 GB, free: 5.684 MB / 0.8855 GB Notification: Performance of Templates: time 0.002245/0.619, allocations: 396 kB / 1.385 GB, free: 5.297 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","../files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches