Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001408/0.001408, allocations: 116.6 kB / 16.42 MB, free: 6.48 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.001477/0.001478, allocations: 186.6 kB / 17.35 MB, free: 5.746 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.342/1.342, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.43/2.43, allocations: 437.1 MB / 0.7112 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 59.89 kB / 1.019 GB, free: 9.422 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7604/0.7618, allocations: 151.6 MB / 1.167 GB, free: 3.852 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002754/0.7646, allocations: 1.537 MB / 1.169 GB, free: 2.305 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001197/0.7648, allocations: 31.86 kB / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.265e-05/0.7648, allocations: 0 / 1.169 GB, free: 2.273 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001107/0.7649, allocations: 7.922 kB / 1.169 GB, free: 2.266 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.695e-05/0.765, allocations: 15.88 kB / 1.169 GB, free: 2.25 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001034/0.7651, allocations: 19.97 kB / 1.169 GB, free: 2.23 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.7652, allocations: 47.83 kB / 1.169 GB, free: 2.184 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001355/0.7654, allocations: 31.94 kB / 1.169 GB, free: 2.152 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.617e-05/0.7654, allocations: 23.92 kB / 1.169 GB, free: 2.129 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.422e-05/0.7655, allocations: 27.92 kB / 1.169 GB, free: 2.102 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.7655, allocations: 4 kB / 1.169 GB, free: 2.098 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.001e-05/0.7655, allocations: 4 kB / 1.169 GB, free: 2.094 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 4.23e-05/0.7656, allocations: 15.92 kB / 1.169 GB, free: 2.078 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.083e-05/0.7656, allocations: 31.8 kB / 1.169 GB, free: 2.047 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001169/0.7657, allocations: 68.17 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.7657, allocations: 0 / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.493e-06/0.7657, allocations: 0 / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.508e-06/0.7658, allocations: 0 / 1.169 GB, free: 1.984 MB / 0.8887 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.0003596/0.7661, allocations: 371.2 kB / 1.169 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.867e-05/0.7662, allocations: 12.92 kB / 1.169 GB, free: 1.559 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.7662, allocations: 8.891 kB / 1.169 GB, free: 1.551 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001555/0.7664, allocations: 176.4 kB / 1.17 GB, free: 1.34 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.086e-05/0.7664, allocations: 4.375 kB / 1.17 GB, free: 1.336 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.211e-05/0.7664, allocations: 4.375 kB / 1.17 GB, free: 1.332 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.7666, allocations: 106.9 kB / 1.17 GB, free: 1.215 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.7666, allocations: 4.188 kB / 1.17 GB, free: 1.211 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/0.7666, allocations: 11.92 kB / 1.17 GB, free: 1.199 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.191e-06/0.7666, allocations: 4 kB / 1.17 GB, free: 1.195 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.627e-05/0.7667, allocations: 43.91 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005466/0.7673, allocations: 0.6441 MB / 1.17 GB, free: 460 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 6.655e-05/0.7673, allocations: 165.1 kB / 1.171 GB, free: 284 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.93e-05/0.7674, allocations: 80.14 kB / 1.171 GB, free: 200 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.638e-05/0.7674, allocations: 75.28 kB / 1.171 GB, free: 124 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/0.7675, allocations: 109.8 kB / 1.171 GB, free: 4 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=0): time 1.383e-06/0.7675, allocations: 11.98 kB / 1.171 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 7.598e-05/0.7676, allocations: 37.59 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.7676, allocations: 51.41 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001561/0.7678, allocations: 165.1 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.142e-05/0.7678, allocations: 25.7 kB / 1.171 GB, free: 15.68 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.7678, allocations: 108 kB / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/0.7679, allocations: 0 / 1.171 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.22e-05/0.7679, allocations: 13.72 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 9.629e-05/0.768, allocations: 322.8 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.483e-05/0.768, allocations: 4 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.333e-05/0.768, allocations: 22.58 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.316e-05/0.7681, allocations: 30.5 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.7681, allocations: 4 kB / 1.172 GB, free: 15.15 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001151/0.7682, allocations: 57.59 kB / 1.172 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.552e-05/0.7682, allocations: 8 kB / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.887e-06/0.7683, allocations: 0 / 1.172 GB, free: 15.08 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.7683, allocations: 3.938 kB / 1.172 GB, free: 15.07 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.715e-05/0.7683, allocations: 11.92 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.733e-06/0.7683, allocations: 4 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.752e-05/0.7684, allocations: 7.891 kB / 1.172 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.18e-06/0.7684, allocations: 4 kB / 1.172 GB, free: 15.05 MB / 0.9044 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.279e-05/0.7685, allocations: 197.2 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.7686, allocations: 112.9 kB / 1.172 GB, free: 14.73 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.243e-05/0.7686, allocations: 116.8 kB / 1.172 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.394e-05/0.7687, allocations: 184.1 kB / 1.172 GB, free: 14.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.847e-05/0.7687, allocations: 101 kB / 1.172 GB, free: 14.3 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.69e-05/0.7688, allocations: 198 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.44e-05/0.7689, allocations: 180.3 kB / 1.173 GB, free: 13.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.072e-05/0.769, allocations: 105 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.685e-05/0.769, allocations: 184.2 kB / 1.173 GB, free: 13.61 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 7.486e-05/0.7691, allocations: 255.5 kB / 1.173 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001462/0.7693, allocations: 394.9 kB / 1.174 GB, free: 12.94 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.426e-05/0.7693, allocations: 104.9 kB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 9.528e-05/0.7694, allocations: 135.1 kB / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of Backend: time 4.31e-07/0.7694, allocations: 0 / 1.174 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003307/0.7697, allocations: 78.64 kB / 1.174 GB, free: 12.61 MB / 0.9044 GB Notification: Performance of SimCode: time 0.000554/0.7703, allocations: 0.9142 MB / 1.175 GB, free: 11.65 MB / 0.9044 GB Notification: Performance of Templates: time 0.002473/0.7728, allocations: 0.4964 MB / 1.175 GB, free: 11.16 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile (rm -f Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches