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/ModelicaServices 4.0.0+maint.om/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/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001536/0.001536, allocations: 107.5 kB / 16.41 MB, free: 6.465 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001576/0.001576, allocations: 189.5 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.707/2.707, allocations: 461.9 MB / 0.7355 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001609/0.001609, allocations: 64.12 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.883/0.8846, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003262/0.888, allocations: 1.549 MB / 1.21 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0001538/0.8881, allocations: 23.94 kB / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.796e-05/0.8882, allocations: 0 / 1.21 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.00014/0.8884, allocations: 11.86 kB / 1.21 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 4.377e-05/0.8885, allocations: 11.94 kB / 1.21 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.8886, allocations: 19.97 kB / 1.21 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001155/0.8887, allocations: 51.77 kB / 1.21 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.8889, allocations: 27.98 kB / 1.21 GB, free: 11.94 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.317e-05/0.8889, allocations: 27.92 kB / 1.21 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.202e-05/0.889, allocations: 27.86 kB / 1.21 GB, free: 11.89 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.227e-05/0.889, allocations: 4 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.154e-05/0.8891, allocations: 4 kB / 1.21 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.681e-05/0.8891, allocations: 11.98 kB / 1.21 GB, free: 11.87 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 4.551e-05/0.8892, allocations: 31.8 kB / 1.21 GB, free: 11.84 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001251/0.8893, allocations: 63.59 kB / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.546e-06/0.8893, allocations: 0 / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.243e-06/0.8893, allocations: 0 / 1.21 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.812e-06/0.8893, allocations: 0 / 1.21 GB, free: 11.78 MB / 0.9356 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.0004406/0.8898, allocations: 369.1 kB / 1.211 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.954e-05/0.8898, allocations: 12.03 kB / 1.211 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.95e-05/0.8899, allocations: 8.844 kB / 1.211 GB, free: 11.35 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.8901, allocations: 184.2 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.8901, allocations: 4.375 kB / 1.211 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.701e-05/0.8901, allocations: 12.31 kB / 1.211 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001692/0.8903, allocations: 96.8 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.8903, allocations: 4.188 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.465e-05/0.8903, allocations: 3.938 kB / 1.211 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.8903, allocations: 4 kB / 1.211 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.32e-05/0.8904, allocations: 43.92 kB / 1.211 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000636/0.8911, allocations: 0.64 MB / 1.212 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.16e-05/0.8912, allocations: 181.1 kB / 1.212 GB, free: 10.06 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.258e-05/0.8912, allocations: 80.14 kB / 1.212 GB, free: 9.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.767e-05/0.8913, allocations: 75.28 kB / 1.212 GB, free: 9.906 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.813e-05/0.8913, allocations: 109.8 kB / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.012e-06/0.8913, allocations: 0 / 1.212 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 8.27e-05/0.8914, allocations: 41.55 kB / 1.212 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.196e-05/0.8915, allocations: 130.6 kB / 1.212 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001952/0.8917, allocations: 164.3 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.8917, allocations: 25.7 kB / 1.212 GB, free: 9.398 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.73e-05/0.8918, allocations: 108 kB / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.228e-06/0.8918, allocations: 0 / 1.212 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.682e-05/0.8919, allocations: 21.62 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.892, allocations: 318.8 kB / 1.213 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.892, allocations: 8 kB / 1.213 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.633e-05/0.892, allocations: 18.58 kB / 1.213 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.713e-05/0.8921, allocations: 34.44 kB / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.8921, allocations: 0 / 1.213 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001442/0.8923, allocations: 57.64 kB / 1.213 GB, free: 8.801 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.8923, allocations: 4 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.8923, allocations: 0 / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.8923, allocations: 3.938 kB / 1.213 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.524e-05/0.8924, allocations: 11.98 kB / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.8924, allocations: 0 / 1.213 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.911e-05/0.8924, allocations: 7.906 kB / 1.213 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.8925, allocations: 8 kB / 1.213 GB, free: 8.766 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001193/0.8926, allocations: 189.2 kB / 1.213 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-05/0.8927, allocations: 116.8 kB / 1.213 GB, free: 8.449 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.975e-05/0.8927, allocations: 116.8 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.853e-05/0.8928, allocations: 176.3 kB / 1.213 GB, free: 8.145 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.908e-05/0.8929, allocations: 184.2 kB / 1.214 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.726e-05/0.893, allocations: 180.3 kB / 1.214 GB, free: 7.773 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002556/0.8932, allocations: 429.1 kB / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.856e-05/0.8933, allocations: 101 kB / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.768e-05/0.8933, allocations: 109 kB / 1.214 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.332e-05/0.8934, allocations: 184.2 kB / 1.215 GB, free: 6.891 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.761e-05/0.8935, allocations: 184.1 kB / 1.215 GB, free: 6.703 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.986e-05/0.8936, allocations: 184.2 kB / 1.215 GB, free: 6.516 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.012e-05/0.8936, allocations: 184.3 kB / 1.215 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.8938, allocations: 307.9 kB / 1.215 GB, free: 6.004 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001073/0.8939, allocations: 190 kB / 1.216 GB, free: 5.793 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.792e-05/0.894, allocations: 188.2 kB / 1.216 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.55e-05/0.8941, allocations: 109 kB / 1.216 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.828e-05/0.8942, allocations: 180.3 kB / 1.216 GB, free: 5.305 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.332e-05/0.8942, allocations: 104.9 kB / 1.216 GB, free: 5.195 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001075/0.8943, allocations: 128.9 kB / 1.216 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8943, allocations: 0 / 1.216 GB, free: 5.07 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002531/0.8946, allocations: 4 kB / 1.216 GB, free: 5.066 MB / 0.9356 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001729/0.8948, allocations: 178.5 kB / 1.216 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 7.819e-05/0.8949, allocations: 19.92 kB / 1.216 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8949, allocations: 0 / 1.216 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.767e-06/0.8949, allocations: 0 / 1.216 GB, free: 4.863 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.8953, allocations: 466 kB / 1.217 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.8957, allocations: 255.2 kB / 1.217 GB, free: 4.121 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.896, allocations: 0.6924 MB / 1.218 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.66e-05/0.896, allocations: 7.438 kB / 1.218 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.896, allocations: 0 / 1.218 GB, free: 3.395 MB / 0.9356 GB Notification: Performance of Templates: time 0.002239/0.8983, allocations: 0.8155 MB / 1.219 GB, free: 2.582 MB / 0.9356 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches