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.004956/0.004956, allocations: 106.5 kB / 15.73 MB, free: 6 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.001231/0.001231, allocations: 192.2 kB / 16.67 MB, free: 5.922 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.18/1.18, allocations: 222.9 MB / 240.3 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.269/2.269, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001123, allocations: 67.91 kB / 1.054 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6554/0.6566, 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.002282/0.6589, allocations: 1.54 MB / 1.209 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 9.531e-05/0.659, allocations: 35.91 kB / 1.209 GB, free: 12.06 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.098e-05/0.659, allocations: 3.938 kB / 1.209 GB, free: 12.05 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.000104/0.6592, allocations: 11.86 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 2.816e-05/0.6592, allocations: 7.938 kB / 1.209 GB, free: 12.04 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 9.057e-05/0.6593, allocations: 15.97 kB / 1.209 GB, free: 12.02 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.539e-05/0.6594, allocations: 55.77 kB / 1.209 GB, free: 11.96 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.6595, allocations: 35.97 kB / 1.209 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 3.168e-05/0.6595, allocations: 19.92 kB / 1.209 GB, free: 11.91 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.465e-05/0.6596, allocations: 27.92 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.55e-05/0.6596, allocations: 4 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 9.428e-06/0.6596, allocations: 4 kB / 1.209 GB, free: 11.88 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.016e-05/0.6597, allocations: 15.92 kB / 1.209 GB, free: 11.86 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.958e-05/0.6597, allocations: 35.8 kB / 1.209 GB, free: 11.82 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 8.717e-05/0.6598, allocations: 59.61 kB / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.907e-06/0.6598, allocations: 0 / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6598, allocations: 0 / 1.21 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.6598, allocations: 0 / 1.21 GB, free: 11.77 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.000335/0.6602, allocations: 357.2 kB / 1.21 GB, free: 11.37 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 2.956e-05/0.6602, allocations: 15.97 kB / 1.21 GB, free: 11.36 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.774e-05/0.6603, allocations: 12.84 kB / 1.21 GB, free: 11.34 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001549/0.6604, allocations: 188.2 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/0.6604, allocations: 4.375 kB / 1.21 GB, free: 11.12 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.12e-05/0.6604, allocations: 8.375 kB / 1.21 GB, free: 11.11 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.6606, allocations: 92.81 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.492e-06/0.6606, allocations: 192 / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.6606, allocations: 7.938 kB / 1.21 GB, free: 11 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.6606, allocations: 7.984 kB / 1.21 GB, free: 10.99 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.303e-05/0.6607, allocations: 39.92 kB / 1.21 GB, free: 10.95 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004896/0.6612, allocations: 0.644 MB / 1.211 GB, free: 10.25 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.685e-05/0.6613, allocations: 169.1 kB / 1.211 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.591e-05/0.6613, allocations: 80.14 kB / 1.211 GB, free: 9.988 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.084e-05/0.6613, allocations: 79.28 kB / 1.211 GB, free: 9.91 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.318e-05/0.6614, allocations: 113.8 kB / 1.211 GB, free: 9.789 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.6614, allocations: 4 kB / 1.211 GB, free: 9.785 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 6.248e-05/0.6615, allocations: 37.55 kB / 1.211 GB, free: 9.742 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.225e-05/0.6615, allocations: 130.6 kB / 1.211 GB, free: 9.602 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001345/0.6617, allocations: 164.9 kB / 1.212 GB, free: 9.43 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.6617, allocations: 29.7 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.019e-05/0.6617, allocations: 108 kB / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.445e-06/0.6617, allocations: 0 / 1.212 GB, free: 9.285 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.655e-05/0.6618, allocations: 17.62 kB / 1.212 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.559e-05/0.6619, allocations: 318.8 kB / 1.212 GB, free: 8.941 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.358e-05/0.6619, allocations: 4 kB / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.091e-05/0.6619, allocations: 26.52 kB / 1.212 GB, free: 8.902 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.236e-05/0.662, allocations: 30.52 kB / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.662, allocations: 0 / 1.212 GB, free: 8.863 MB / 0.9356 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.817e-05/0.6621, allocations: 53.62 kB / 1.212 GB, free: 8.805 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.6621, allocations: 8 kB / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.6621, allocations: 0 / 1.212 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.6621, allocations: 4.031 kB / 1.212 GB, free: 8.793 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.056e-05/0.6622, allocations: 8 kB / 1.212 GB, free: 8.785 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.669e-06/0.6622, allocations: 7.938 kB / 1.212 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.975e-05/0.6622, allocations: 3.906 kB / 1.212 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.548e-06/0.6622, allocations: 4 kB / 1.212 GB, free: 8.77 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 9.287e-05/0.6623, allocations: 193.1 kB / 1.212 GB, free: 8.57 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.405e-05/0.6624, allocations: 112.8 kB / 1.213 GB, free: 8.453 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.93e-05/0.6624, allocations: 120.8 kB / 1.213 GB, free: 8.324 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.968e-05/0.6625, allocations: 180.3 kB / 1.213 GB, free: 8.141 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.621e-05/0.6626, allocations: 180.3 kB / 1.213 GB, free: 7.957 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.908e-05/0.6626, allocations: 184.2 kB / 1.213 GB, free: 7.77 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001965/0.6628, allocations: 425.1 kB / 1.214 GB, free: 7.297 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.207e-05/0.6628, allocations: 101 kB / 1.214 GB, free: 7.191 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.042e-05/0.6629, allocations: 117 kB / 1.214 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.038e-05/0.6629, allocations: 180.2 kB / 1.214 GB, free: 6.887 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.249e-05/0.663, allocations: 184.2 kB / 1.214 GB, free: 6.699 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.138e-05/0.6631, allocations: 184.2 kB / 1.214 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.05e-05/0.6631, allocations: 180.3 kB / 1.214 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001124/0.6632, allocations: 311.9 kB / 1.215 GB, free: 6 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.32e-05/0.6633, allocations: 190 kB / 1.215 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.79e-05/0.6634, allocations: 192.2 kB / 1.215 GB, free: 5.594 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.529e-05/0.6634, allocations: 101 kB / 1.215 GB, free: 5.488 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.111e-05/0.6635, allocations: 184.2 kB / 1.215 GB, free: 5.301 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.314e-05/0.6635, allocations: 108.9 kB / 1.215 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.869e-05/0.6636, allocations: 129.3 kB / 1.216 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6636, allocations: 0 / 1.216 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002007/0.6638, allocations: 4 kB / 1.216 GB, free: 5.059 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.000106/0.6639, allocations: 174.5 kB / 1.216 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.801e-05/0.664, allocations: 11.94 kB / 1.216 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.664, allocations: 192 / 1.216 GB, free: 4.867 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.585e-06/0.664, allocations: 8 kB / 1.216 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003138/0.6643, allocations: 459.7 kB / 1.216 GB, free: 4.406 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002676/0.6646, allocations: 229.3 kB / 1.216 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002117/0.6648, allocations: 0.6885 MB / 1.217 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.528e-05/0.6649, allocations: 8 kB / 1.217 GB, free: 3.43 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.99e-05/0.6649, allocations: 15.38 kB / 1.217 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.6649, allocations: 0 / 1.217 GB, free: 3.414 MB / 0.9356 GB Notification: Performance of Templates: time 0.002006/0.6669, allocations: 440.5 kB / 1.218 GB, free: 2.984 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/jenkins/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