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.001604/0.001604, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002/0.002, allocations: 217.5 kB / 22.99 MB, free: 4.945 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.512/1.512, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.716/2.716, allocations: 476 MB / 0.7707 GB, free: 4.695 MB / 0.6231 GB " [Timeout remaining time 177] 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.002082/0.002082, allocations: 66.09 kB / 1.118 GB, free: 41.02 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3436/0.3457, allocations: 170 MB / 1.284 GB, free: 11.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.003409/0.3491, allocations: 1.954 MB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.005031/0.3541, allocations: 3.557 MB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001275/0.3542, allocations: 7.938 kB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.000274/0.3545, allocations: 51.56 kB / 1.289 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0003139/0.3548, allocations: 107.3 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004388/0.3553, allocations: 159.5 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003655/0.3556, allocations: 267 kB / 1.29 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000127/0.3557, allocations: 36.5 kB / 1.29 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/0.356, allocations: 119.5 kB / 1.29 GB, free: 5.656 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.3562, allocations: 119.4 kB / 1.29 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.579e-05/0.3562, allocations: 12 kB / 1.29 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002347/0.3564, allocations: 111.8 kB / 1.29 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 6.122e-05/0.3565, allocations: 39.84 kB / 1.29 GB, free: 5.379 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.332e-05/0.3566, allocations: 83.52 kB / 1.29 GB, free: 5.297 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0004075/0.357, allocations: 294.8 kB / 1.291 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.357, allocations: 0 / 1.291 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.272e-06/0.357, allocations: 0 / 1.291 GB, free: 5.008 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.357, allocations: 0 / 1.291 GB, free: 5.008 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.001146/0.3581, allocations: 0.5395 MB / 1.291 GB, free: 4.438 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.286e-05/0.3582, allocations: 8.031 kB / 1.291 GB, free: 4.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004373/0.3586, allocations: 72.7 kB / 1.291 GB, free: 4.359 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005553/0.3592, allocations: 226.6 kB / 1.291 GB, free: 4.113 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.33e-05/0.3592, allocations: 4.375 kB / 1.291 GB, free: 4.109 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.588e-05/0.3592, allocations: 12.31 kB / 1.291 GB, free: 4.098 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005089/0.3597, allocations: 175.7 kB / 1.292 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3597, allocations: 0 / 1.292 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.932e-05/0.3598, allocations: 3.984 kB / 1.292 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.993e-06/0.3598, allocations: 4 kB / 1.292 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007058/0.3605, allocations: 191.8 kB / 1.292 GB, free: 3.727 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008881/0.3614, allocations: 416 kB / 1.292 GB, free: 3.289 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004193/0.3618, allocations: 114.5 kB / 1.292 GB, free: 3.168 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003569/0.3621, allocations: 108.7 kB / 1.292 GB, free: 3.059 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006455/0.3628, allocations: 99.86 kB / 1.292 GB, free: 2.961 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.734e-05/0.3628, allocations: 34.56 kB / 1.292 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=11): time 1.352e-06/0.3628, allocations: 0 / 1.292 GB, free: 2.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11): time 0.001238/0.3641, allocations: 361.5 kB / 1.293 GB, free: 2.559 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.209e-05/0.3641, allocations: 55.41 kB / 1.293 GB, free: 2.492 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002678/0.3644, allocations: 252.2 kB / 1.293 GB, free: 2.238 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.7e-05/0.3644, allocations: 25.7 kB / 1.293 GB, free: 2.207 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.3645, allocations: 144 kB / 1.293 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.423e-05/0.3646, allocations: 43.64 kB / 1.293 GB, free: 2.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.118e-05/0.3647, allocations: 29.7 kB / 1.293 GB, free: 1.984 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001756/0.3648, allocations: 334.8 kB / 1.294 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003509/0.3652, allocations: 99.91 kB / 1.294 GB, free: 1.551 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003451/0.3655, allocations: 91.91 kB / 1.294 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006859/0.3662, allocations: 204.6 kB / 1.294 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.3662, allocations: 0 / 1.294 GB, free: 1.258 MB / 0.9825 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0007972/0.367, allocations: 257.3 kB / 1.294 GB, free: 1 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.206e-05/0.367, allocations: 8 kB / 1.294 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.367, allocations: 0 / 1.294 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.731e-05/0.3671, allocations: 0 / 1.294 GB, free: 0.9922 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000317/0.3674, allocations: 43.94 kB / 1.294 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.3674, allocations: 0 / 1.294 GB, free: 0.9492 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.3676, allocations: 35.89 kB / 1.294 GB, free: 0.9141 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.917e-05/0.3676, allocations: 8 kB / 1.294 GB, free: 0.9062 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.0001424/0.3678, allocations: 125.8 kB / 1.294 GB, free: 0.7734 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.727e-05/0.3678, allocations: 31.8 kB / 1.295 GB, free: 0.7422 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008958/0.3687, allocations: 283.1 kB / 1.295 GB, free: 464 kB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.3687, allocations: 0 / 1.295 GB, free: 464 kB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.3687, allocations: 0 / 1.295 GB, free: 464 kB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.043e-05/0.3687, allocations: 11.92 kB / 1.295 GB, free: 452 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002898/0.369, allocations: 189.2 kB / 1.295 GB, free: 232 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.369, allocations: 0 / 1.295 GB, free: 232 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000292/0.3693, allocations: 59.88 kB / 1.295 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.3693, allocations: 0 / 1.295 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.597e-05/0.3693, allocations: 0 / 1.295 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.3693, allocations: 0 / 1.295 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.3693, allocations: 0 / 1.295 GB, free: 172 kB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008674/0.3702, allocations: 368 kB / 1.295 GB, free: 15.79 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 9.963e-05/0.3703, allocations: 39.8 kB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.542e-05/0.3703, allocations: 3.984 kB / 1.295 GB, free: 15.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002473/0.3706, allocations: 19.97 kB / 1.295 GB, free: 15.73 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/0.3707, allocations: 19.97 kB / 1.295 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.356e-05/0.3707, allocations: 7.938 kB / 1.295 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000167/0.3709, allocations: 183.1 kB / 1.296 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.3709, allocations: 0 / 1.296 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000351/0.3712, allocations: 59.81 kB / 1.296 GB, free: 15.46 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.0002305/0.3714, allocations: 139 kB / 1.296 GB, free: 15.32 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0007985/0.3722, allocations: 215.8 kB / 1.296 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.3722, allocations: 0 / 1.296 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003914/0.3726, allocations: 111.8 kB / 1.296 GB, free: 15 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003822/0.373, allocations: 32.97 kB / 1.296 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009246/0.3739, allocations: 472.8 kB / 1.297 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001332/0.3741, allocations: 129.2 kB / 1.297 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001041/0.3742, allocations: 23.42 kB / 1.297 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of SimCode: time 4.2e-07/0.3742, allocations: 0 / 1.297 GB, free: 14.3 MB / 0.9981 GB Notification: Performance of Templates: time 0.005845/0.38, allocations: 3.232 MB / 1.3 GB, free: 11.09 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/jenkins1/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: 11.578408101107925]