Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002012/0.002012, allocations: 106.2 kB / 19.69 MB, free: 2.277 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003219/0.003219, allocations: 221.5 kB / 23.01 MB, free: 4.605 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.606/1.606, allocations: 230.6 MB / 256.8 MB, free: 8.066 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.437/3.437, allocations: 0.49 GB / 0.7958 GB, free: 33.65 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") translateModel(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|heatGain.QRad_flow|heatGain.QCon_flow|heatGain.QLat_flow",fileNamePrefix="Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002033/0.002033, allocations: 71.62 kB / 1.155 GB, free: 25.56 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4444/0.4464, allocations: 176.1 MB / 1.327 GB, free: 1.488 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.003048/0.4494, allocations: 1.567 MB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001122/0.4496, allocations: 35.84 kB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.021e-05/0.4496, allocations: 0 / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001237/0.4497, allocations: 7.938 kB / 1.329 GB, free: 15.87 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.891e-05/0.4498, allocations: 7.875 kB / 1.329 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001198/0.4499, allocations: 19.97 kB / 1.329 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001163/0.45, allocations: 47.84 kB / 1.329 GB, free: 15.8 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001415/0.4501, allocations: 31.84 kB / 1.329 GB, free: 15.77 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.945e-05/0.4502, allocations: 19.92 kB / 1.329 GB, free: 15.75 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.779e-05/0.4503, allocations: 35.84 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.23e-05/0.4503, allocations: 4 kB / 1.329 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.122e-05/0.4503, allocations: 8 kB / 1.329 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.866e-05/0.4503, allocations: 15.92 kB / 1.329 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.475e-05/0.4504, allocations: 23.88 kB / 1.329 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001262/0.4505, allocations: 67.61 kB / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.4505, allocations: 0 / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.513e-06/0.4505, allocations: 0 / 1.329 GB, free: 15.59 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.73e-06/0.4505, allocations: 0 / 1.329 GB, free: 15.59 MB / 1.029 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.0004311/0.451, allocations: 282.2 kB / 1.329 GB, free: 15.29 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.963e-05/0.451, allocations: 12.03 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.298e-05/0.451, allocations: 12.89 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001849/0.4512, allocations: 126.4 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.4512, allocations: 8.375 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.4513, allocations: 4.375 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.4514, allocations: 103.3 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.214e-05/0.4514, allocations: 4.172 kB / 1.329 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.547e-05/0.4515, allocations: 7.938 kB / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.38e-06/0.4515, allocations: 0 / 1.33 GB, free: 14.98 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.515e-05/0.4516, allocations: 51.91 kB / 1.33 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006226/0.4522, allocations: 0.6003 MB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.4523, allocations: 169.1 kB / 1.33 GB, free: 14.1 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.606e-05/0.4523, allocations: 84.14 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-05/0.4524, allocations: 79.22 kB / 1.33 GB, free: 13.93 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.393e-05/0.4524, allocations: 109.8 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.71e-07/0.4524, allocations: 4 kB / 1.331 GB, free: 13.81 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.2e-05/0.4525, allocations: 37.53 kB / 1.331 GB, free: 13.77 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.728e-05/0.4526, allocations: 130.7 kB / 1.331 GB, free: 13.63 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001957/0.4528, allocations: 169.5 kB / 1.331 GB, free: 13.45 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.361e-05/0.4528, allocations: 25.7 kB / 1.331 GB, free: 13.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.724e-05/0.4529, allocations: 112 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-06/0.4529, allocations: 0 / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.4529, allocations: 21.67 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.453, allocations: 314.8 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.933e-05/0.453, allocations: 8 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.416e-05/0.4531, allocations: 22.58 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.161e-05/0.4531, allocations: 34.55 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.4531, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001263/0.4532, allocations: 57.58 kB / 1.331 GB, free: 12.82 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.4533, allocations: 8 kB / 1.331 GB, free: 12.81 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.4533, allocations: 8.031 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.478e-05/0.4533, allocations: 3.938 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.803e-05/0.4533, allocations: 4 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.136e-06/0.4533, allocations: 4 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.717e-05/0.4534, allocations: 4 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.64e-06/0.4534, allocations: 4 kB / 1.331 GB, free: 12.79 MB / 1.029 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.0001202/0.4535, allocations: 197.5 kB / 1.332 GB, free: 12.58 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.953e-05/0.4536, allocations: 112.9 kB / 1.332 GB, free: 12.46 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.973e-05/0.4537, allocations: 120.7 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.814e-05/0.4537, allocations: 180.2 kB / 1.332 GB, free: 12.15 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.566e-05/0.4538, allocations: 176.3 kB / 1.332 GB, free: 11.97 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.724e-05/0.4539, allocations: 188.2 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002685/0.4542, allocations: 392.3 kB / 1.333 GB, free: 11.34 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.651e-05/0.4542, allocations: 105 kB / 1.333 GB, free: 11.23 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.743e-05/0.4543, allocations: 108.9 kB / 1.333 GB, free: 11.12 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.23e-05/0.4544, allocations: 176.3 kB / 1.333 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.347e-05/0.4545, allocations: 184.1 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.934e-05/0.4545, allocations: 180.5 kB / 1.334 GB, free: 10.57 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.549e-05/0.4546, allocations: 184.3 kB / 1.334 GB, free: 10.38 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000176/0.4548, allocations: 315.7 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.924e-05/0.4549, allocations: 120.9 kB / 1.334 GB, free: 9.926 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.635e-05/0.455, allocations: 184.2 kB / 1.334 GB, free: 9.738 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.623e-05/0.4551, allocations: 105 kB / 1.334 GB, free: 9.629 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.802e-05/0.4552, allocations: 184.2 kB / 1.335 GB, free: 9.441 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.345e-05/0.4552, allocations: 105 kB / 1.335 GB, free: 9.332 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0001088/0.4553, allocations: 129.1 kB / 1.335 GB, free: 9.207 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.4553, allocations: 0 / 1.335 GB, free: 9.207 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002298/0.4555, allocations: 4 kB / 1.335 GB, free: 9.203 MB / 1.029 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.0001484/0.4557, allocations: 170.5 kB / 1.335 GB, free: 9.027 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.778e-05/0.4558, allocations: 19.94 kB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.4558, allocations: 0 / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.193e-06/0.4558, allocations: 0 / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004212/0.4562, allocations: 461.7 kB / 1.335 GB, free: 8.555 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003976/0.4566, allocations: 267.1 kB / 1.336 GB, free: 8.258 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003227/0.4569, allocations: 0.6926 MB / 1.336 GB, free: 7.539 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.823e-05/0.457, allocations: 11.44 kB / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of SimCode: time 3.21e-07/0.457, allocations: 0 / 1.336 GB, free: 7.527 MB / 1.029 GB Notification: Performance of Templates: time 0.002422/0.4594, allocations: 0.8084 MB / 1.337 GB, free: 6.715 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; mkfifo Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe ; head -c 1048576 < Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe >> ../files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.sim & ./Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_ThermalZones_Detailed_BaseClasses_Examples_HeatGain.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 12.24408030800987]