Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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.001819/0.001819, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.002244/0.002244, allocations: 212.5 kB / 22.24 MB, free: 5.262 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.686/1.686, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.937/2.937, allocations: 475.9 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solHeaGai.TFlu.1.|solHeaGai.TFlu.2.|solHeaGai.TFlu.3.|solHeaGai.QSol_flow.1.|solHeaGai.QSol_flow.2.|solHeaGai.QSol_flow.3.",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") [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.002185/0.002185, allocations: 67.19 kB / 1.117 GB, free: 41.12 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3383/0.3405, allocations: 170 MB / 1.283 GB, free: 11.99 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003735/0.3442, allocations: 1.973 MB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005242/0.3495, allocations: 3.553 MB / 1.288 GB, free: 6.449 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001165/0.3496, allocations: 3.938 kB / 1.288 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0003006/0.3499, allocations: 63.5 kB / 1.288 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003187/0.3502, allocations: 103.3 kB / 1.289 GB, free: 6.281 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.3506, allocations: 159.6 kB / 1.289 GB, free: 6.125 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000382/0.351, allocations: 267 kB / 1.289 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.3511, allocations: 40.5 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002408/0.3514, allocations: 119.6 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001848/0.3515, allocations: 107.4 kB / 1.289 GB, free: 5.598 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.571e-05/0.3516, allocations: 16 kB / 1.289 GB, free: 5.582 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002411/0.3518, allocations: 107.8 kB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 7.672e-05/0.3519, allocations: 47.77 kB / 1.289 GB, free: 5.43 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.691e-05/0.352, allocations: 83.58 kB / 1.289 GB, free: 5.348 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004062/0.3524, allocations: 294.8 kB / 1.29 GB, free: 5.059 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3524, allocations: 4 kB / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.262e-06/0.3524, allocations: 0 / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.001e-06/0.3524, allocations: 0 / 1.29 GB, free: 5.055 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001208/0.3536, allocations: 0.5356 MB / 1.29 GB, free: 4.488 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.461e-05/0.3537, allocations: 8.031 kB / 1.29 GB, free: 4.48 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004383/0.3541, allocations: 68.7 kB / 1.29 GB, free: 4.414 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005538/0.3546, allocations: 230.6 kB / 1.291 GB, free: 4.164 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.3547, allocations: 4.375 kB / 1.291 GB, free: 4.16 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.057e-05/0.3547, allocations: 12.38 kB / 1.291 GB, free: 4.148 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005192/0.3552, allocations: 169.6 kB / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.839e-06/0.3552, allocations: 0 / 1.291 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.287e-05/0.3552, allocations: 8 kB / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.3552, allocations: 0 / 1.291 GB, free: 3.969 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007097/0.356, allocations: 191.8 kB / 1.291 GB, free: 3.781 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009044/0.3569, allocations: 412.1 kB / 1.291 GB, free: 3.348 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004203/0.3573, allocations: 114.5 kB / 1.291 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003878/0.3577, allocations: 104.8 kB / 1.292 GB, free: 3.121 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006749/0.3583, allocations: 99.86 kB / 1.292 GB, free: 3.023 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.563e-05/0.3584, allocations: 34.56 kB / 1.292 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.372e-06/0.3584, allocations: 0 / 1.292 GB, free: 2.98 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001242/0.3596, allocations: 361.5 kB / 1.292 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.175e-05/0.3597, allocations: 51.41 kB / 1.292 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002716/0.3599, allocations: 248.2 kB / 1.292 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.523e-05/0.36, allocations: 25.7 kB / 1.292 GB, free: 2.277 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.3601, allocations: 148 kB / 1.292 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.227e-05/0.3601, allocations: 39.64 kB / 1.293 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.25e-05/0.3602, allocations: 33.69 kB / 1.293 GB, free: 2.051 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.3604, allocations: 338.7 kB / 1.293 GB, free: 1.711 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003526/0.3607, allocations: 99.91 kB / 1.293 GB, free: 1.613 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00034/0.3611, allocations: 96.34 kB / 1.293 GB, free: 1.52 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007774/0.3619, allocations: 208.7 kB / 1.293 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.3619, allocations: 0 / 1.293 GB, free: 1.312 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007943/0.3626, allocations: 253.4 kB / 1.294 GB, free: 1.059 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.627e-05/0.3627, allocations: 4 kB / 1.294 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3627, allocations: 0 / 1.294 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.3627, allocations: 0 / 1.294 GB, free: 1.055 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003208/0.363, allocations: 47.94 kB / 1.294 GB, free: 1.008 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.851e-06/0.363, allocations: 4 kB / 1.294 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002244/0.3632, allocations: 35.89 kB / 1.294 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.474e-05/0.3633, allocations: 3.938 kB / 1.294 GB, free: 0.9648 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (11): * Single equations (assignments): 11 * 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.0001301/0.3634, allocations: 125.8 kB / 1.294 GB, free: 0.832 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.618e-05/0.3634, allocations: 31.8 kB / 1.294 GB, free: 0.8008 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000888/0.3643, allocations: 275.2 kB / 1.294 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.571e-06/0.3643, allocations: 4 kB / 1.294 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.197e-06/0.3643, allocations: 0 / 1.294 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.883e-06/0.3644, allocations: 7.922 kB / 1.294 GB, free: 0.5078 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002786/0.3646, allocations: 197.2 kB / 1.294 GB, free: 292 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3646, allocations: 0 / 1.294 GB, free: 292 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002884/0.3649, allocations: 51.88 kB / 1.294 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.3649, allocations: 0 / 1.294 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.602e-05/0.3649, allocations: 0 / 1.294 GB, free: 240 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.3649, allocations: 4 kB / 1.294 GB, free: 236 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.3649, allocations: 7.922 kB / 1.294 GB, free: 228 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009158/0.3659, allocations: 363.3 kB / 1.295 GB, free: 15.85 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001054/0.366, allocations: 35.8 kB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.836e-05/0.366, allocations: 3.984 kB / 1.295 GB, free: 15.81 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002479/0.3663, allocations: 27.97 kB / 1.295 GB, free: 15.78 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.604e-05/0.3663, allocations: 15.97 kB / 1.295 GB, free: 15.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.726e-05/0.3664, allocations: 8 kB / 1.295 GB, free: 15.76 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001865/0.3665, allocations: 175.1 kB / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/0.3665, allocations: 0 / 1.295 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003471/0.3669, allocations: 63.62 kB / 1.295 GB, free: 15.53 MB / 0.9981 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 (11): * Single equations (assignments): 11 * 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.0002517/0.3671, allocations: 139 kB / 1.295 GB, free: 15.38 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0008052/0.3679, allocations: 207.8 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.368, allocations: 4 kB / 1.295 GB, free: 15.18 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003766/0.3683, allocations: 115.8 kB / 1.295 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004037/0.3687, allocations: 33.66 kB / 1.295 GB, free: 15.03 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009606/0.3697, allocations: 447.1 kB / 1.296 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001398/0.3698, allocations: 133.2 kB / 1.296 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001633/0.37, allocations: 32.61 kB / 1.296 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.871e-05/0.3701, allocations: 23.42 kB / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/0.3701, allocations: 0 / 1.296 GB, free: 14.36 MB / 0.9981 GB Notification: Performance of Templates: time 0.007523/0.3776, allocations: 3.071 MB / 1.299 GB, free: 11.35 MB / 0.9981 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.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: 9.485801048576832]