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.001658/0.001658, allocations: 100.8 kB / 19.74 MB, free: 2.066 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.002038/0.002038, allocations: 218.2 kB / 23.04 MB, free: 4.844 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.629/1.629, allocations: 230.6 MB / 256.8 MB, free: 7.734 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.34/3.34, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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.002084/0.002084, allocations: 64.19 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4511/0.4532, allocations: 176.1 MB / 1.327 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.ThermalZones.Detailed.BaseClasses.Examples.HeatGain): time 0.00321/0.4564, allocations: 1.546 MB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001351/0.4566, allocations: 35.84 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.928e-05/0.4566, allocations: 0 / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001408/0.4568, allocations: 15.86 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.94e-05/0.4568, allocations: 7.875 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001214/0.4569, allocations: 19.97 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.457, allocations: 43.84 kB / 1.329 GB, free: 15.3 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001608/0.4572, allocations: 27.92 kB / 1.329 GB, free: 15.28 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 4.381e-05/0.4573, allocations: 23.92 kB / 1.329 GB, free: 15.25 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 8.405e-05/0.4573, allocations: 27.84 kB / 1.329 GB, free: 15.23 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.006e-05/0.4574, allocations: 11.98 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 1.177e-05/0.4574, allocations: 4 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.361e-05/0.4574, allocations: 15.92 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 5.911e-05/0.4575, allocations: 23.88 kB / 1.329 GB, free: 15.17 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001331/0.4576, allocations: 55.69 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.4576, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.104e-06/0.4576, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of Transformations before backend: time 7.293e-06/0.4576, allocations: 0 / 1.329 GB, free: 15.12 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.0004991/0.4581, allocations: 294.2 kB / 1.329 GB, free: 14.8 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.249e-05/0.4582, allocations: 8.031 kB / 1.329 GB, free: 14.79 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.563e-05/0.4582, allocations: 8.891 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002041/0.4584, allocations: 134.3 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.157e-05/0.4584, allocations: 4.375 kB / 1.329 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/0.4584, allocations: 12.31 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001899/0.4586, allocations: 96.8 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.4586, allocations: 192 / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.633e-05/0.4587, allocations: 3.938 kB / 1.329 GB, free: 14.5 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.267e-06/0.4587, allocations: 4 kB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001074/0.4588, allocations: 39.92 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006085/0.4594, allocations: 0.5696 MB / 1.33 GB, free: 13.84 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001089/0.4595, allocations: 169.1 kB / 1.33 GB, free: 13.67 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.756e-05/0.4596, allocations: 84.14 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.388e-05/0.4596, allocations: 75.28 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.612e-05/0.4597, allocations: 109.8 kB / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 9.41e-07/0.4597, allocations: 0 / 1.331 GB, free: 13.39 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.64e-05/0.4597, allocations: 29.7 kB / 1.331 GB, free: 13.36 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.092e-05/0.4598, allocations: 130.6 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001475/0.46, allocations: 125.8 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.664e-05/0.46, allocations: 33.7 kB / 1.331 GB, free: 13.04 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.351e-05/0.4601, allocations: 111.9 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.246e-06/0.4601, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.638e-05/0.4601, allocations: 13.72 kB / 1.331 GB, free: 12.91 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.4603, allocations: 314.8 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.777e-05/0.4603, allocations: 4 kB / 1.331 GB, free: 12.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.216e-05/0.4603, allocations: 30.5 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.186e-05/0.4603, allocations: 22.61 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.4603, allocations: 7.938 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001405/0.4605, allocations: 57.62 kB / 1.331 GB, free: 12.45 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.799e-05/0.4605, allocations: 8 kB / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.07e-06/0.4605, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.977e-05/0.4605, allocations: 0 / 1.331 GB, free: 12.44 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.045e-05/0.4606, allocations: 15.88 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.332e-06/0.4606, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.061e-05/0.4606, allocations: 11.88 kB / 1.331 GB, free: 12.41 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-06/0.4607, allocations: 0 / 1.331 GB, free: 12.41 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.0001427/0.4608, allocations: 201.7 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.571e-05/0.4609, allocations: 105 kB / 1.332 GB, free: 12.1 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.65e-05/0.4609, allocations: 116.4 kB / 1.332 GB, free: 11.96 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.118e-05/0.461, allocations: 180.2 kB / 1.332 GB, free: 11.78 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.449e-05/0.4611, allocations: 184.3 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.308e-05/0.4612, allocations: 184.2 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002435/0.4614, allocations: 364.9 kB / 1.333 GB, free: 11.01 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.629e-05/0.4615, allocations: 108.9 kB / 1.333 GB, free: 10.9 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.558e-05/0.4615, allocations: 105 kB / 1.333 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-05/0.4616, allocations: 176.3 kB / 1.333 GB, free: 10.61 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.77e-05/0.4617, allocations: 184.2 kB / 1.333 GB, free: 10.42 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.806e-05/0.4618, allocations: 180.5 kB / 1.333 GB, free: 10.24 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.527e-05/0.4619, allocations: 188.1 kB / 1.334 GB, free: 10.05 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001719/0.4621, allocations: 311.8 kB / 1.334 GB, free: 9.719 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.547e-05/0.4621, allocations: 108.9 kB / 1.334 GB, free: 9.605 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.4622, allocations: 180.3 kB / 1.334 GB, free: 9.422 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.968e-05/0.4623, allocations: 112.9 kB / 1.334 GB, free: 9.305 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.718e-05/0.4624, allocations: 184.2 kB / 1.334 GB, free: 9.117 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.724e-05/0.4625, allocations: 104.9 kB / 1.335 GB, free: 9.008 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.526e-05/0.4626, allocations: 95.27 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of sort global known variables: time 6.1e-08/0.4626, allocations: 0 / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002394/0.4628, allocations: 12 kB / 1.335 GB, free: 8.902 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.0001521/0.4629, allocations: 170.5 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.543e-05/0.463, allocations: 8 kB / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.903e-06/0.463, allocations: 0 / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.312e-06/0.463, allocations: 0 / 1.335 GB, free: 8.719 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004375/0.4635, allocations: 463.6 kB / 1.335 GB, free: 8.262 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004297/0.4639, allocations: 258 kB / 1.335 GB, free: 7.98 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.472e-05/0.464, allocations: 84.27 kB / 1.336 GB, free: 7.879 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.97e-05/0.464, allocations: 11.44 kB / 1.336 GB, free: 7.867 MB / 1.029 GB Notification: Performance of SimCode: time 3.6e-07/0.464, allocations: 3.938 kB / 1.336 GB, free: 7.863 MB / 1.029 GB Notification: Performance of Templates: time 0.002392/0.4664, allocations: 0.6953 MB / 1.336 GB, free: 7.164 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.231931660091504]