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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001645/0.001645, allocations: 114 kB / 16.42 MB, free: 5.984 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.00188/0.00188, allocations: 190.4 kB / 17.35 MB, free: 5.602 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.696/2.696, allocations: 472.7 MB / 0.746 GB, free: 392 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00156/0.00156, allocations: 75.88 kB / 1.07 GB, free: 9.516 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.023/1.024, allocations: 159.9 MB / 1.226 GB, free: 13.5 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002872/1.027, allocations: 1.528 MB / 1.228 GB, free: 11.96 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.0001286/1.027, allocations: 31.91 kB / 1.228 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.953e-05/1.027, allocations: 11.94 kB / 1.228 GB, free: 11.92 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001339/1.028, allocations: 7.938 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 3.668e-05/1.028, allocations: 3.938 kB / 1.228 GB, free: 11.91 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001199/1.028, allocations: 19.97 kB / 1.228 GB, free: 11.89 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/1.028, allocations: 55.78 kB / 1.228 GB, free: 11.83 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/1.028, allocations: 35.97 kB / 1.228 GB, free: 11.8 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.604e-05/1.028, allocations: 19.92 kB / 1.228 GB, free: 11.78 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.86e-05/1.028, allocations: 31.83 kB / 1.228 GB, free: 11.75 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.406e-05/1.028, allocations: 4 kB / 1.228 GB, free: 11.74 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.802e-05/1.028, allocations: 8 kB / 1.228 GB, free: 11.73 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.011e-05/1.028, allocations: 15.98 kB / 1.228 GB, free: 11.72 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.527e-05/1.028, allocations: 27.81 kB / 1.228 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001026/1.028, allocations: 51.33 kB / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/1.028, allocations: 3.938 kB / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.202e-06/1.028, allocations: 4 kB / 1.228 GB, free: 11.64 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.599e-06/1.028, allocations: 0 / 1.228 GB, free: 11.64 MB / 0.9512 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.0004383/1.029, allocations: 372.1 kB / 1.229 GB, free: 11.22 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.581e-05/1.029, allocations: 8.031 kB / 1.229 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.64e-05/1.029, allocations: 8.891 kB / 1.229 GB, free: 11.21 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001807/1.029, allocations: 184.3 kB / 1.229 GB, free: 10.99 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/1.029, allocations: 4.375 kB / 1.229 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.342e-05/1.029, allocations: 8.375 kB / 1.229 GB, free: 10.98 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001664/1.029, allocations: 104.7 kB / 1.229 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.22e-05/1.029, allocations: 192 / 1.229 GB, free: 10.86 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/1.029, allocations: 7.938 kB / 1.229 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/1.029, allocations: 0 / 1.229 GB, free: 10.85 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.674e-05/1.03, allocations: 43.91 kB / 1.229 GB, free: 10.81 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006217/1.03, allocations: 0.6402 MB / 1.229 GB, free: 10.11 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.69e-05/1.03, allocations: 173.1 kB / 1.23 GB, free: 9.93 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.627e-05/1.03, allocations: 80.14 kB / 1.23 GB, free: 9.848 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.904e-05/1.03, allocations: 75.28 kB / 1.23 GB, free: 9.773 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.417e-05/1.03, allocations: 113.8 kB / 1.23 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.382e-06/1.03, allocations: 0 / 1.23 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.531e-05/1.03, allocations: 37.59 kB / 1.23 GB, free: 9.609 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.783e-05/1.031, allocations: 51.41 kB / 1.23 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001635/1.031, allocations: 175.8 kB / 1.23 GB, free: 9.363 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/1.031, allocations: 25.7 kB / 1.23 GB, free: 9.332 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.205e-05/1.031, allocations: 100.1 kB / 1.23 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-06/1.031, allocations: 0 / 1.23 GB, free: 9.23 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/1.031, allocations: 21.72 kB / 1.23 GB, free: 9.203 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001262/1.031, allocations: 322.8 kB / 1.231 GB, free: 8.879 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.959e-05/1.031, allocations: 3.938 kB / 1.231 GB, free: 8.875 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.682e-05/1.031, allocations: 26.56 kB / 1.231 GB, free: 8.84 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.711e-05/1.031, allocations: 34.52 kB / 1.231 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/1.031, allocations: 0 / 1.231 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000171/1.031, allocations: 53.59 kB / 1.231 GB, free: 8.738 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/1.031, allocations: 4 kB / 1.231 GB, free: 8.734 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/1.031, allocations: 4 kB / 1.231 GB, free: 8.73 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.923e-05/1.031, allocations: 7.922 kB / 1.231 GB, free: 8.723 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.554e-05/1.031, allocations: 4 kB / 1.231 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.085e-05/1.031, allocations: 0 / 1.231 GB, free: 8.719 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.485e-05/1.032, allocations: 11.89 kB / 1.231 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/1.032, allocations: 4.094 kB / 1.231 GB, free: 8.703 MB / 0.9512 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.0001356/1.032, allocations: 193.7 kB / 1.231 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.428e-05/1.032, allocations: 116.9 kB / 1.231 GB, free: 8.383 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.958e-05/1.032, allocations: 108.8 kB / 1.231 GB, free: 8.266 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.562e-05/1.032, allocations: 188.2 kB / 1.231 GB, free: 8.074 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.281e-05/1.032, allocations: 104.9 kB / 1.231 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.268e-05/1.032, allocations: 195.2 kB / 1.232 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.195e-05/1.032, allocations: 180.2 kB / 1.232 GB, free: 7.566 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.696e-05/1.032, allocations: 101.1 kB / 1.232 GB, free: 7.461 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.949e-05/1.032, allocations: 192.3 kB / 1.232 GB, free: 7.266 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.825e-05/1.032, allocations: 259.5 kB / 1.232 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001479/1.033, allocations: 390.9 kB / 1.233 GB, free: 6.598 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.828e-05/1.033, allocations: 105 kB / 1.233 GB, free: 6.488 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 9.957e-05/1.033, allocations: 125.5 kB / 1.233 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of Backend: time 2.11e-07/1.033, allocations: 0 / 1.233 GB, free: 6.367 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0003873/1.033, allocations: 91.8 kB / 1.233 GB, free: 6.273 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0006011/1.034, allocations: 0.9056 MB / 1.234 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of Templates: time 0.002746/1.036, allocations: 0.5004 MB / 1.234 GB, free: 4.82 MB / 0.9512 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