Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001852/0.001852, allocations: 107.6 kB / 16.45 MB, free: 6.398 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.002131/0.002131, allocations: 214.4 kB / 19.43 MB, free: 3.727 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.543/1.543, allocations: 230.6 MB / 252.8 MB, free: 8.953 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.245/3.245, allocations: 0.4899 GB / 0.7915 GB, free: 33.2 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.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain") translateModel(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|solGai.TFlu.1.|solGai.TFlu.2.|solGai.TFlu.3.|solGai.QSol_flow.1.|solGai.QSol_flow.2.|solGai.QSol_flow.3.",fileNamePrefix="Buildings_12_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.002095/0.002095, allocations: 68.55 kB / 1.149 GB, free: 26.05 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3654, allocations: 176.1 MB / 1.321 GB, free: 2.812 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain): time 0.004036/0.3695, allocations: 2.097 MB / 1.323 GB, free: 0.7031 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.00637/0.3758, allocations: 4.195 MB / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001954/0.376, allocations: 0 / 1.327 GB, free: 12.49 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0009984/0.377, allocations: 202.9 kB / 1.328 GB, free: 12.29 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002469/0.3773, allocations: 67.42 kB / 1.328 GB, free: 12.22 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009813/0.3783, allocations: 307.2 kB / 1.328 GB, free: 11.92 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0007629/0.379, allocations: 386.8 kB / 1.328 GB, free: 11.54 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001492/0.3792, allocations: 40.38 kB / 1.328 GB, free: 11.5 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001754/0.3794, allocations: 115.5 kB / 1.328 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002009/0.3796, allocations: 139.4 kB / 1.329 GB, free: 11.25 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.7e-05/0.3796, allocations: 16 kB / 1.329 GB, free: 11.23 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005773/0.3802, allocations: 315.5 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001394/0.3803, allocations: 107.6 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.000155/0.3805, allocations: 147.1 kB / 1.329 GB, free: 10.68 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006963/0.3812, allocations: 0.5253 MB / 1.33 GB, free: 10.15 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.697e-06/0.3812, allocations: 0 / 1.33 GB, free: 10.15 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3812, allocations: 0 / 1.33 GB, free: 10.15 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.372e-06/0.3812, allocations: 0 / 1.33 GB, free: 10.15 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.001384/0.3826, allocations: 0.7755 MB / 1.33 GB, free: 9.316 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.3826, allocations: 19.97 kB / 1.33 GB, free: 9.297 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004794/0.3831, allocations: 84.61 kB / 1.331 GB, free: 9.215 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006924/0.3838, allocations: 354.5 kB / 1.331 GB, free: 8.832 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.275e-05/0.3838, allocations: 4.375 kB / 1.331 GB, free: 8.828 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.771e-05/0.3838, allocations: 16.38 kB / 1.331 GB, free: 8.812 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005311/0.3843, allocations: 195.7 kB / 1.331 GB, free: 8.617 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.3843, allocations: 0 / 1.331 GB, free: 8.617 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.479e-05/0.3844, allocations: 7.969 kB / 1.331 GB, free: 8.609 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.3844, allocations: 4 kB / 1.331 GB, free: 8.605 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007488/0.3851, allocations: 243.8 kB / 1.331 GB, free: 8.367 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009844/0.3861, allocations: 0.5901 MB / 1.332 GB, free: 7.727 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000461/0.3866, allocations: 166.5 kB / 1.332 GB, free: 7.555 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00038/0.387, allocations: 136.6 kB / 1.332 GB, free: 7.418 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 6.022e-05/0.387, allocations: 23.97 kB / 1.332 GB, free: 7.395 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.3871, allocations: 34.78 kB / 1.332 GB, free: 7.352 MB / 1.029 GB Notification: Performance of pre-optimization done (n=11): time 1.112e-06/0.3871, allocations: 0 / 1.332 GB, free: 7.352 MB / 1.029 GB Notification: Performance of matching and sorting (n=11): time 0.001348/0.3884, allocations: 445.2 kB / 1.333 GB, free: 6.91 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.103e-05/0.3885, allocations: 55.41 kB / 1.333 GB, free: 6.844 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004946/0.3889, allocations: 425.8 kB / 1.333 GB, free: 6.418 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.669e-05/0.389, allocations: 25.7 kB / 1.333 GB, free: 6.387 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001485/0.3891, allocations: 188 kB / 1.333 GB, free: 6.199 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 4.519e-05/0.3892, allocations: 35.64 kB / 1.333 GB, free: 6.164 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.995e-05/0.3893, allocations: 41.69 kB / 1.333 GB, free: 6.117 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001606/0.3894, allocations: 346.8 kB / 1.334 GB, free: 5.77 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004433/0.3899, allocations: 175.8 kB / 1.334 GB, free: 5.598 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004355/0.3903, allocations: 174.1 kB / 1.334 GB, free: 5.43 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008665/0.3912, allocations: 350.3 kB / 1.334 GB, free: 5.078 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.3912, allocations: 0 / 1.334 GB, free: 5.078 MB / 1.029 GB Notification: Performance of matching and sorting (n=21) (initialization): time 0.001048/0.3922, allocations: 473.7 kB / 1.335 GB, free: 4.605 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.008e-05/0.3923, allocations: 41.69 kB / 1.335 GB, free: 4.559 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.3923, allocations: 0 / 1.335 GB, free: 4.559 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.3923, allocations: 0 / 1.335 GB, free: 4.559 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003536/0.3926, allocations: 55.88 kB / 1.335 GB, free: 4.504 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.3927, allocations: 0 / 1.335 GB, free: 4.504 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002685/0.3929, allocations: 43.75 kB / 1.335 GB, free: 4.461 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.449e-05/0.3929, allocations: 7.984 kB / 1.335 GB, free: 4.453 MB / 1.029 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 (12): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 1 * 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.0001774/0.3931, allocations: 161.8 kB / 1.335 GB, free: 4.285 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.085e-05/0.3932, allocations: 35.77 kB / 1.335 GB, free: 4.25 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009969/0.3942, allocations: 348.6 kB / 1.336 GB, free: 3.902 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.3942, allocations: 8 kB / 1.336 GB, free: 3.895 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.456e-06/0.3942, allocations: 4 kB / 1.336 GB, free: 3.891 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.257e-06/0.3942, allocations: 3.938 kB / 1.336 GB, free: 3.887 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004372/0.3947, allocations: 345.4 kB / 1.336 GB, free: 3.5 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.376e-06/0.3947, allocations: 0 / 1.336 GB, free: 3.5 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002984/0.395, allocations: 39.95 kB / 1.336 GB, free: 3.461 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-05/0.395, allocations: 3.984 kB / 1.336 GB, free: 3.457 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.857e-05/0.395, allocations: 4 kB / 1.336 GB, free: 3.453 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.803e-06/0.395, allocations: 4 kB / 1.336 GB, free: 3.449 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.395, allocations: 0 / 1.336 GB, free: 3.449 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000984/0.396, allocations: 434.9 kB / 1.336 GB, free: 3.008 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.3961, allocations: 128.8 kB / 1.336 GB, free: 2.863 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.263e-05/0.3962, allocations: 0 / 1.336 GB, free: 2.863 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002842/0.3964, allocations: 23.97 kB / 1.336 GB, free: 2.84 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.056e-05/0.3965, allocations: 23.91 kB / 1.336 GB, free: 2.816 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.391e-05/0.3965, allocations: 0 / 1.336 GB, free: 2.816 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003351/0.3969, allocations: 299.1 kB / 1.337 GB, free: 2.523 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3969, allocations: 4 kB / 1.337 GB, free: 2.52 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0004853/0.3974, allocations: 119.8 kB / 1.337 GB, free: 2.402 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 (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.0004102/0.3978, allocations: 171 kB / 1.337 GB, free: 2.227 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.001085/0.3988, allocations: 467 kB / 1.337 GB, free: 1.758 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3988, allocations: 0 / 1.337 GB, free: 1.758 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0004294/0.3993, allocations: 131.9 kB / 1.338 GB, free: 1.629 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005185/0.3998, allocations: 70.75 kB / 1.338 GB, free: 1.562 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00131/0.4011, allocations: 0.6459 MB / 1.338 GB, free: 0.8906 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005034/0.4016, allocations: 0.7944 MB / 1.339 GB, free: 72 kB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001737/0.4018, allocations: 37.94 kB / 1.339 GB, free: 36 kB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.453e-05/0.4019, allocations: 23.42 kB / 1.339 GB, free: 12 kB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.4019, allocations: 0 / 1.339 GB, free: 12 kB / 1.029 GB Notification: Performance of Templates: time 0.01097/0.4128, allocations: 4.953 MB / 1.344 GB, free: 11.11 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; mkfifo Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe >> ../files/Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.sim & ./Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.SolarCollectors.BaseClasses.Examples.EN12975SolarGain_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_SolarCollectors_BaseClasses_Examples_EN12975SolarGain.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.203854496125132]