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.001395/0.001395, allocations: 111 kB / 16.41 MB, free: 6.461 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.001433/0.001434, allocations: 189.5 kB / 17.34 MB, free: 5.715 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.459/1.459, allocations: 222.9 MB / 241.1 MB, free: 15.07 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.536/2.536, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001456/0.001456, allocations: 67.89 kB / 1.019 GB, free: 9.371 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9962/0.9977, allocations: 151.6 MB / 1.167 GB, free: 3.801 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.002894/1.001, allocations: 1.546 MB / 1.169 GB, free: 2.246 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0001251/1.001, allocations: 31.91 kB / 1.169 GB, free: 2.215 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.253e-05/1.001, allocations: 3.938 kB / 1.169 GB, free: 2.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001304/1.001, allocations: 11.92 kB / 1.169 GB, free: 2.199 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.651e-05/1.001, allocations: 7.938 kB / 1.169 GB, free: 2.191 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001115/1.001, allocations: 15.97 kB / 1.169 GB, free: 2.176 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001113/1.001, allocations: 51.78 kB / 1.169 GB, free: 2.125 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001523/1.001, allocations: 35.94 kB / 1.169 GB, free: 2.09 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 3.339e-05/1.001, allocations: 15.94 kB / 1.169 GB, free: 2.074 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 7.433e-05/1.002, allocations: 31.91 kB / 1.169 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.754e-05/1.002, allocations: 4 kB / 1.169 GB, free: 2.039 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.061e-05/1.002, allocations: 4 kB / 1.169 GB, free: 2.035 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 5.061e-05/1.002, allocations: 19.91 kB / 1.169 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.29e-05/1.002, allocations: 31.81 kB / 1.169 GB, free: 1.984 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001185/1.002, allocations: 56.31 kB / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/1.002, allocations: 0 / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.803e-06/1.002, allocations: 0 / 1.169 GB, free: 1.934 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 5.881e-06/1.002, allocations: 0 / 1.169 GB, free: 1.934 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.0004437/1.002, allocations: 363.2 kB / 1.169 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/1.002, allocations: 16.86 kB / 1.169 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.646e-05/1.002, allocations: 8.891 kB / 1.169 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/1.003, allocations: 184.3 kB / 1.17 GB, free: 1.285 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.026e-05/1.003, allocations: 4.375 kB / 1.17 GB, free: 1.281 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.712e-05/1.003, allocations: 16.36 kB / 1.17 GB, free: 1.266 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/1.003, allocations: 92.75 kB / 1.17 GB, free: 1.16 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.052e-05/1.003, allocations: 8.062 kB / 1.17 GB, free: 1.152 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/1.003, allocations: 11.94 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.089e-06/1.003, allocations: 0 / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.468e-05/1.003, allocations: 43.97 kB / 1.17 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007248/1.004, allocations: 0.6363 MB / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.063e-05/1.004, allocations: 169.1 kB / 1.171 GB, free: 232 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.292e-05/1.004, allocations: 80.14 kB / 1.171 GB, free: 148 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.873e-05/1.004, allocations: 79.28 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001157/1.004, allocations: 113.8 kB / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/1.004, allocations: 0 / 1.171 GB, free: 15.95 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 7.553e-05/1.004, allocations: 45.53 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.395e-05/1.004, allocations: 126.7 kB / 1.171 GB, free: 15.76 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001663/1.004, allocations: 164.7 kB / 1.171 GB, free: 15.59 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/1.004, allocations: 29.7 kB / 1.171 GB, free: 15.55 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.38e-05/1.004, allocations: 104 kB / 1.171 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 5.15e-06/1.004, allocations: 4 kB / 1.171 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.934e-05/1.004, allocations: 13.72 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.005, allocations: 318.8 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.714e-05/1.005, allocations: 4 kB / 1.172 GB, free: 15.1 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.427e-05/1.005, allocations: 26.56 kB / 1.172 GB, free: 15.06 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.266e-05/1.005, allocations: 30.52 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.119e-05/1.005, allocations: 4 kB / 1.172 GB, free: 15.02 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001164/1.005, allocations: 57.58 kB / 1.172 GB, free: 14.96 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/1.005, allocations: 4 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.93e-06/1.005, allocations: 0 / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.488e-05/1.005, allocations: 4.031 kB / 1.172 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.006e-05/1.005, allocations: 12 kB / 1.172 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/1.005, allocations: 3.938 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.635e-05/1.005, allocations: 7.891 kB / 1.172 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.097e-06/1.005, allocations: 4 kB / 1.172 GB, free: 14.92 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 0.0001108/1.005, allocations: 193.1 kB / 1.172 GB, free: 14.72 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.702e-05/1.005, allocations: 112.9 kB / 1.172 GB, free: 14.61 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.11e-05/1.005, allocations: 120.8 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.825e-05/1.005, allocations: 184.2 kB / 1.172 GB, free: 14.29 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.777e-05/1.005, allocations: 180.3 kB / 1.173 GB, free: 14.1 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.605e-05/1.005, allocations: 176.3 kB / 1.173 GB, free: 13.92 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002508/1.006, allocations: 425.1 kB / 1.173 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.795e-05/1.006, allocations: 105 kB / 1.173 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.174e-05/1.006, allocations: 117 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.316e-05/1.006, allocations: 180.3 kB / 1.174 GB, free: 13.04 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-05/1.006, allocations: 180.2 kB / 1.174 GB, free: 12.85 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.749e-05/1.006, allocations: 184.2 kB / 1.174 GB, free: 12.66 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.028e-05/1.006, allocations: 184.2 kB / 1.174 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/1.006, allocations: 312 kB / 1.174 GB, free: 12.15 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001304/1.006, allocations: 190 kB / 1.175 GB, free: 11.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000151/1.007, allocations: 188.2 kB / 1.175 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001208/1.007, allocations: 105 kB / 1.175 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.822e-05/1.007, allocations: 184.2 kB / 1.175 GB, free: 11.45 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000107/1.007, allocations: 109 kB / 1.175 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001002/1.007, allocations: 134.8 kB / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/1.007, allocations: 0 / 1.175 GB, free: 11.21 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002115/1.007, allocations: 4 kB / 1.175 GB, free: 11.2 MB / 0.9044 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.0001458/1.007, allocations: 174.5 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.931e-05/1.007, allocations: 7.938 kB / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.007, allocations: 192 / 1.175 GB, free: 11.02 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.442e-06/1.007, allocations: 4 kB / 1.175 GB, free: 11.01 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/1.008, allocations: 459.7 kB / 1.176 GB, free: 10.56 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/1.008, allocations: 266.9 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000289/1.009, allocations: 0.6885 MB / 1.177 GB, free: 9.551 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.943e-05/1.009, allocations: 11.44 kB / 1.177 GB, free: 9.539 MB / 0.9044 GB Notification: Performance of SimCode: time 4.41e-07/1.009, allocations: 7.938 kB / 1.177 GB, free: 9.531 MB / 0.9044 GB Notification: Performance of Templates: time 0.002245/1.011, allocations: 0.8137 MB / 1.178 GB, free: 8.719 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