Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.001655/0.001655, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001843/0.001843, allocations: 220.6 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.482/1.482, allocations: 230.6 MB / 256.8 MB, free: 8.055 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.734/2.734, allocations: 476.7 MB / 0.7714 GB, free: 4.328 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.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") translateModel(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|criSol.G_TC|criSol.TEnv|criSol.TIn",fileNamePrefix="Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [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.003267/0.003267, allocations: 72.55 kB / 1.119 GB, free: 40.34 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3508/0.3541, allocations: 170 MB / 1.285 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002909/0.357, allocations: 1.543 MB / 1.286 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009047/0.3579, allocations: 0.4927 MB / 1.287 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.294e-05/0.358, allocations: 4 kB / 1.287 GB, free: 9.219 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.987e-05/0.358, allocations: 3.938 kB / 1.287 GB, free: 9.215 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.321e-05/0.3581, allocations: 15.84 kB / 1.287 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.3583, allocations: 31.91 kB / 1.287 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000128/0.3584, allocations: 55.77 kB / 1.287 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3585, allocations: 11.94 kB / 1.287 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.3587, allocations: 31.86 kB / 1.287 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.423e-05/0.3587, allocations: 15.92 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.332e-05/0.3588, allocations: 4 kB / 1.287 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.996e-05/0.3588, allocations: 19.98 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.001e-05/0.3588, allocations: 15.86 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.438e-05/0.3589, allocations: 23.86 kB / 1.287 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.000126/0.359, allocations: 43.77 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.359, allocations: 0 / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.359, allocations: 0 / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.601e-06/0.359, allocations: 0 / 1.287 GB, free: 8.949 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005273/0.3595, allocations: 302 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.3596, allocations: 12.03 kB / 1.287 GB, free: 8.613 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002161/0.3598, allocations: 24.88 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002155/0.36, allocations: 126.4 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.728e-06/0.36, allocations: 384 / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.11e-05/0.36, allocations: 4.375 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001702/0.3602, allocations: 57.98 kB / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.3602, allocations: 0 / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.3602, allocations: 0 / 1.287 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.017e-06/0.3602, allocations: 4 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.3603, allocations: 31.97 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004179/0.3608, allocations: 251.9 kB / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001229/0.3609, allocations: 38.55 kB / 1.288 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.463e-05/0.361, allocations: 28.94 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.361, allocations: 0 / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.081e-05/0.361, allocations: 30.56 kB / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.361, allocations: 0 / 1.288 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003268/0.3613, allocations: 93.55 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.442e-05/0.3614, allocations: 51.41 kB / 1.288 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.3615, allocations: 129.8 kB / 1.288 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.3615, allocations: 25.7 kB / 1.288 GB, free: 7.605 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.3616, allocations: 88.14 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.3616, allocations: 15.84 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.843e-05/0.3616, allocations: 17.7 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001612/0.3618, allocations: 326.7 kB / 1.288 GB, free: 7.148 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.802e-05/0.3619, allocations: 15.98 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/0.3619, allocations: 15.98 kB / 1.288 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001268/0.3621, allocations: 45.11 kB / 1.289 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.3621, allocations: 0 / 1.289 GB, free: 7.07 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001716/0.3622, allocations: 77.58 kB / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.43e-05/0.3623, allocations: 4 kB / 1.289 GB, free: 6.984 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.3623, allocations: 4 kB / 1.289 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.411e-05/0.3623, allocations: 0 / 1.289 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.687e-05/0.3624, allocations: 7.984 kB / 1.289 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.186e-06/0.3624, allocations: 8 kB / 1.289 GB, free: 6.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.003e-05/0.3624, allocations: 7.891 kB / 1.289 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.948e-06/0.3624, allocations: 4 kB / 1.289 GB, free: 6.953 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 (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 9.73e-05/0.3625, allocations: 113.8 kB / 1.289 GB, free: 6.832 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.177e-05/0.3626, allocations: 4 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.041e-05/0.3626, allocations: 11.98 kB / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.3626, allocations: 0 / 1.289 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3626, allocations: 8 kB / 1.289 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.3626, allocations: 4 kB / 1.289 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000189/0.3628, allocations: 144.7 kB / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.3628, allocations: 0 / 1.289 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.628e-05/0.3629, allocations: 15.92 kB / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.454e-06/0.3629, allocations: 0 / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.725e-06/0.3629, allocations: 0 / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.3629, allocations: 0 / 1.289 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/0.3629, allocations: 4 kB / 1.289 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002338/0.3631, allocations: 175.4 kB / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.342e-05/0.3631, allocations: 7.953 kB / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.45e-05/0.3631, allocations: 0 / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.983e-05/0.3632, allocations: 7.984 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.55e-05/0.3633, allocations: 0 / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.3633, allocations: 0 / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.504e-05/0.3633, allocations: 99.27 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3633, allocations: 0 / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002335/0.3636, allocations: 12 kB / 1.289 GB, free: 6.285 MB / 0.9825 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 (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 Backend phase and start with SimCode phase: time 0.000118/0.3637, allocations: 99.23 kB / 1.289 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001828/0.3639, allocations: 47.84 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.3639, allocations: 0 / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.681e-05/0.3639, allocations: 15.98 kB / 1.289 GB, free: 6.117 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002197/0.3642, allocations: 7.938 kB / 1.289 GB, free: 6.109 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004331/0.3646, allocations: 198.4 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003331/0.3649, allocations: 0.6885 MB / 1.29 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.481e-05/0.365, allocations: 7.438 kB / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of SimCode: time 2.8e-07/0.365, allocations: 0 / 1.29 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of Templates: time 0.002524/0.3675, allocations: 0.7659 MB / 1.291 GB, free: 4.402 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.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.08670952601824]