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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001371/0.001371, allocations: 119.5 kB / 16.42 MB, free: 6.5 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.001467/0.001467, allocations: 187.9 kB / 17.35 MB, free: 5.762 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.33/1.33, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.241/2.241, allocations: 390.3 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001565/0.001565, allocations: 68.08 kB / 0.9515 GB, free: 7.66 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.952/0.9535, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002522/0.9561, allocations: 1.54 MB / 1.09 GB, free: 4.461 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0001191/0.9562, allocations: 31.27 kB / 1.09 GB, free: 4.438 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.507e-05/0.9563, allocations: 5.312 kB / 1.09 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001241/0.9564, allocations: 16.25 kB / 1.09 GB, free: 4.422 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.044e-05/0.9565, allocations: 8.734 kB / 1.09 GB, free: 4.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001155/0.9566, allocations: 17.34 kB / 1.09 GB, free: 4.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001088/0.9567, allocations: 44.14 kB / 1.09 GB, free: 4.395 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001411/0.9568, allocations: 31.8 kB / 1.09 GB, free: 4.383 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 4.178e-05/0.9569, allocations: 20.19 kB / 1.09 GB, free: 4.375 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.728e-05/0.957, allocations: 27.42 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.957, allocations: 4 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 1.237e-05/0.957, allocations: 4.688 kB / 1.09 GB, free: 4.363 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.9571, allocations: 21.88 kB / 1.09 GB, free: 4.352 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/0.9571, allocations: 23.95 kB / 1.09 GB, free: 4.336 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 9.993e-05/0.9572, allocations: 64.75 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.9572, allocations: 1.844 kB / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.353e-06/0.9572, allocations: 0 / 1.09 GB, free: 4.309 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.9573, allocations: 4 kB / 1.09 GB, free: 4.305 MB / 0.8575 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.0003375/0.9576, allocations: 365.8 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.9577, allocations: 8.625 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.542e-05/0.9577, allocations: 4.281 kB / 1.091 GB, free: 3.926 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001357/0.9578, allocations: 186.4 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.9578, allocations: 2.5 kB / 1.091 GB, free: 3.719 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.9579, allocations: 9.094 kB / 1.091 GB, free: 3.715 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001542/0.958, allocations: 108.1 kB / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.958, allocations: 192 / 1.091 GB, free: 3.633 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.333e-05/0.9581, allocations: 9.938 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.9581, allocations: 1.281 kB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.58e-05/0.9582, allocations: 48.8 kB / 1.091 GB, free: 3.605 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004759/0.9586, allocations: 0.6456 MB / 1.092 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 3.689e-05/0.9587, allocations: 167.2 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.604e-05/0.9587, allocations: 80.14 kB / 1.092 GB, free: 2.715 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.276e-05/0.9587, allocations: 75.28 kB / 1.092 GB, free: 2.641 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.442e-05/0.9588, allocations: 115.8 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.272e-06/0.9588, allocations: 0 / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.241e-05/0.9588, allocations: 38.08 kB / 1.092 GB, free: 2.48 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.683e-05/0.9589, allocations: 52.09 kB / 1.092 GB, free: 2.418 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001616/0.959, allocations: 168.7 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 5.019e-06/0.959, allocations: 25.7 kB / 1.092 GB, free: 2.258 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.294e-05/0.9591, allocations: 103.5 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.458e-06/0.9591, allocations: 0.75 kB / 1.093 GB, free: 2.16 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.9591, allocations: 21.64 kB / 1.093 GB, free: 2.137 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.004e-05/0.9592, allocations: 319.9 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.445e-05/0.9592, allocations: 2.031 kB / 1.093 GB, free: 1.82 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.949e-05/0.9592, allocations: 24.19 kB / 1.093 GB, free: 1.793 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.021e-05/0.9593, allocations: 33.22 kB / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.9593, allocations: 0 / 1.093 GB, free: 1.758 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001152/0.9594, allocations: 57.05 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.577e-05/0.9594, allocations: 5.328 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.9594, allocations: 0.9062 kB / 1.093 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.9595, allocations: 4.938 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.429e-05/0.9595, allocations: 5.938 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.17e-05/0.9595, allocations: 1.578 kB / 1.093 GB, free: 1.711 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.372e-05/0.9596, allocations: 10 kB / 1.093 GB, free: 1.703 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.9596, allocations: 6.25 kB / 1.093 GB, free: 1.699 MB / 0.8575 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 6.132e-05/0.9596, allocations: 191.8 kB / 1.093 GB, free: 1.508 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.965e-05/0.9597, allocations: 109.8 kB / 1.093 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.247e-05/0.9597, allocations: 114 kB / 1.093 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.319e-05/0.9598, allocations: 185.9 kB / 1.094 GB, free: 1.094 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.359e-05/0.9598, allocations: 102.5 kB / 1.094 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.204e-05/0.9598, allocations: 195.2 kB / 1.094 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.122e-05/0.9599, allocations: 182.5 kB / 1.094 GB, free: 16.59 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.238e-05/0.96, allocations: 102.8 kB / 1.094 GB, free: 16.49 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.7e-05/0.9601, allocations: 190 kB / 1.094 GB, free: 16.3 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.995e-05/0.9602, allocations: 257 kB / 1.095 GB, free: 16.04 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001767/0.9604, allocations: 395.7 kB / 1.095 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.211e-05/0.9604, allocations: 106.4 kB / 1.095 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.000113/0.9605, allocations: 129.5 kB / 1.095 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of Backend: time 4.51e-07/0.9605, allocations: 0 / 1.095 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0003492/0.9609, allocations: 90.19 kB / 1.095 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of SimCode: time 0.0006084/0.9615, allocations: 0.8992 MB / 1.096 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of Templates: time 0.00259/0.9641, allocations: 0.4975 MB / 1.097 GB, free: 14.39 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches