Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0007714/0.0007714, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001016/0.001787, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001062/0.001062, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001428/0.00249, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9591/0.9591, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.07971/1.039, allocations: 53.67 MB / 243.4 MB, free: 15.49 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.363/2.363, allocations: 447.1 MB / 0.675 GB, free: 5.898 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2481/2.611, allocations: 146 MB / 0.8176 GB, free: 3.812 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.412e-06/1.412e-06, allocations: 0 / 0.8189 GB, free: 2.484 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.807e-05/1.949e-05, allocations: 4.984 kB / 0.8189 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002755/0.002774, allocations: 1.626 MB / 0.8205 GB, free: 0.8359 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007696/0.003544, allocations: 490.6 kB / 0.821 GB, free: 360 kB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.623e-05/0.00359, allocations: 4 kB / 0.821 GB, free: 356 kB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.351e-05/0.003613, allocations: 7.922 kB / 0.821 GB, free: 348 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.465e-05/0.003648, allocations: 15.8 kB / 0.821 GB, free: 332 kB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001146/0.003763, allocations: 31.95 kB / 0.821 GB, free: 300 kB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 9.018e-05/0.003853, allocations: 55.73 kB / 0.8211 GB, free: 244 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 7.611e-05/0.003929, allocations: 11.94 kB / 0.8211 GB, free: 232 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000126/0.004055, allocations: 51.78 kB / 0.8212 GB, free: 180 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.89e-05/0.004114, allocations: 19.91 kB / 0.8212 GB, free: 160 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.329e-05/0.004127, allocations: 8 kB / 0.8212 GB, free: 152 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 5.401e-05/0.004181, allocations: 12 kB / 0.8212 GB, free: 140 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.395e-05/0.004195, allocations: 4 kB / 0.8212 GB, free: 136 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 1.719e-05/0.004212, allocations: 11.94 kB / 0.8212 GB, free: 124 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 9.589e-05/0.004308, allocations: 39.78 kB / 0.8213 GB, free: 84 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.138e-05/0.004319, allocations: 0 / 0.8213 GB, free: 84 kB / 0.7917 GB Notification: Performance of FrontEnd: time 5.31e-07/0.00432, allocations: 0 / 0.8213 GB, free: 84 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.211e-05/0.004332, allocations: 0 / 0.8213 GB, free: 84 kB / 0.7917 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.0003637/0.004696, allocations: 276.4 kB / 0.8215 GB, free: 15.79 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.899e-05/0.004725, allocations: 8.031 kB / 0.8215 GB, free: 15.78 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001566/0.004881, allocations: 106 kB / 0.8216 GB, free: 15.66 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.005004, allocations: 129.6 kB / 0.8217 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.604e-06/0.005011, allocations: 384 / 0.8217 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.005021, allocations: 4.375 kB / 0.8218 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.647e-05/0.005107, allocations: 58.94 kB / 0.8218 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.661e-06/0.005113, allocations: 192 / 0.8218 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.162e-06/0.005119, allocations: 384 / 0.8218 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.005125, allocations: 3.938 kB / 0.8218 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.852e-05/0.005144, allocations: 8 kB / 0.8218 GB, free: 15.43 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001772/0.005321, allocations: 164.2 kB / 0.822 GB, free: 15.25 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.45e-05/0.005375, allocations: 26.56 kB / 0.822 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.34e-05/0.005389, allocations: 8.859 kB / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.005398, allocations: 0 / 0.822 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.005423, allocations: 30.56 kB / 0.822 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=3): time 6.21e-07/0.005424, allocations: 0 / 0.822 GB, free: 15.16 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3): time 0.000105/0.005529, allocations: 53.72 kB / 0.8221 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.386e-05/0.005553, allocations: 51.41 kB / 0.8221 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.052e-05/0.005613, allocations: 129.3 kB / 0.8223 GB, free: 14.91 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.738e-06/0.005623, allocations: 25.7 kB / 0.8223 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 2.884e-05/0.005652, allocations: 92.12 kB / 0.8224 GB, free: 14.78 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.772e-05/0.005669, allocations: 15.89 kB / 0.8224 GB, free: 14.77 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.316e-05/0.005693, allocations: 13.72 kB / 0.8224 GB, free: 14.75 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.872e-05/0.005761, allocations: 326.8 kB / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.799e-06/0.005771, allocations: 0 / 0.8227 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.027e-06/0.00578, allocations: 4 kB / 0.8227 GB, free: 14.41 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.624e-05/0.005806, allocations: 21.11 kB / 0.8227 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.005808, allocations: 4 kB / 0.8227 GB, free: 14.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=3) (initialization): time 4.377e-05/0.005852, allocations: 41.62 kB / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.005862, allocations: 4 kB / 0.8228 GB, free: 14.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.005866, allocations: 7.938 kB / 0.8228 GB, free: 14.33 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.005877, allocations: 4 kB / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.132e-05/0.005938, allocations: 7.984 kB / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.264e-06/0.005941, allocations: 0 / 0.8228 GB, free: 14.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.84e-05/0.005959, allocations: 4 kB / 0.8228 GB, free: 14.31 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.005963, allocations: 0 / 0.8228 GB, free: 14.31 MB / 0.8073 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 4.604e-05/0.00601, allocations: 105.8 kB / 0.8229 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.006022, allocations: 8 kB / 0.8229 GB, free: 14.19 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.208e-05/0.006044, allocations: 15.92 kB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.006046, allocations: 0 / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.81e-07/0.006047, allocations: 4 kB / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.00605, allocations: 0 / 0.8229 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.233e-05/0.006132, allocations: 77.88 kB / 0.823 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.006133, allocations: 0 / 0.823 GB, free: 14.07 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.622e-05/0.006159, allocations: 11.98 kB / 0.823 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.865e-06/0.006167, allocations: 11.89 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.006168, allocations: 0 / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.867e-06/0.006172, allocations: 0 / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.006174, allocations: 7.875 kB / 0.823 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.006176, allocations: 3.984 kB / 0.823 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.354e-05/0.00625, allocations: 131.5 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.605e-06/0.006258, allocations: 4 kB / 0.8232 GB, free: 13.89 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.301e-05/0.006291, allocations: 7.984 kB / 0.8232 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.924e-05/0.00632, allocations: 3.938 kB / 0.8232 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.957e-06/0.006324, allocations: 4 kB / 0.8232 GB, free: 13.88 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.079e-05/0.006345, allocations: 28.83 kB / 0.8232 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.006345, allocations: 0 / 0.8232 GB, free: 13.84 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001082/0.006453, allocations: 8 kB / 0.8232 GB, free: 13.84 MB / 0.8073 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 6.826e-05/0.006521, allocations: 80.41 kB / 0.8233 GB, free: 13.75 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.643e-05/0.006577, allocations: 20.73 kB / 0.8233 GB, free: 13.73 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 4.889e-06/0.006582, allocations: 4 kB / 0.8233 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.155e-05/0.006604, allocations: 16.84 kB / 0.8233 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001158/0.00672, allocations: 14.25 kB / 0.8234 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.007813, allocations: 168.3 kB / 0.8235 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.569e-05/0.007848, allocations: 55.36 kB / 0.8236 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.596e-05/0.007874, allocations: 12.36 kB / 0.8236 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.615e-05/0.00792, allocations: 51.38 kB / 0.8236 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of SimCode: time 7.22e-07/0.007921, allocations: 0 / 0.8236 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of Templates: time 0.001892/0.009813, allocations: 0.5102 MB / 0.8241 GB, free: 12.86 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.sim & ./Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc/Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.183435635641217]