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.001588/0.001588, allocations: 100.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.001741/0.001741, allocations: 214.8 kB / 22.99 MB, free: 4.949 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.465/1.465, allocations: 230.6 MB / 256.8 MB, free: 7.816 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.249/3.249, allocations: 0.5107 GB / 0.8166 GB, free: 17.8 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 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: 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.002325/0.002325, allocations: 64.06 kB / 1.187 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3681/0.3704, allocations: 181.9 MB / 1.365 GB, free: 13.61 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002994/0.3734, allocations: 1.525 MB / 1.366 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0009504/0.3744, allocations: 464 kB / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.067e-05/0.3744, allocations: 0 / 1.367 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.356e-05/0.3745, allocations: 3.938 kB / 1.367 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.606e-05/0.3745, allocations: 15.86 kB / 1.367 GB, free: 11.59 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002404/0.3748, allocations: 35.89 kB / 1.367 GB, free: 11.55 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001332/0.3749, allocations: 51.78 kB / 1.367 GB, free: 11.5 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001031/0.375, allocations: 12 kB / 1.367 GB, free: 11.49 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.3751, allocations: 35.8 kB / 1.367 GB, free: 11.45 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.459e-05/0.3752, allocations: 23.91 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.549e-05/0.3752, allocations: 4 kB / 1.367 GB, free: 11.43 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.965e-05/0.3753, allocations: 7.984 kB / 1.367 GB, free: 11.42 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.751e-05/0.3753, allocations: 7.938 kB / 1.367 GB, free: 11.41 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.327e-05/0.3753, allocations: 19.92 kB / 1.367 GB, free: 11.39 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.3754, allocations: 63.62 kB / 1.367 GB, free: 11.33 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3755, allocations: 0 / 1.367 GB, free: 11.33 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.813e-06/0.3755, allocations: 0 / 1.367 GB, free: 11.33 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.019e-05/0.3755, allocations: 0 / 1.367 GB, free: 11.33 MB / 1.061 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.0006093/0.3761, allocations: 290.2 kB / 1.367 GB, free: 11.02 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.3761, allocations: 8.031 kB / 1.367 GB, free: 11.01 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002216/0.3763, allocations: 24.88 kB / 1.367 GB, free: 10.98 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002384/0.3766, allocations: 122.4 kB / 1.367 GB, free: 10.84 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.3766, allocations: 12.38 kB / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.399e-05/0.3766, allocations: 384 / 1.367 GB, free: 10.83 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.3768, allocations: 65.92 kB / 1.367 GB, free: 10.76 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.3768, allocations: 3.938 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.073e-05/0.3768, allocations: 0 / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.058e-06/0.3768, allocations: 0 / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001327/0.3769, allocations: 31.97 kB / 1.367 GB, free: 10.72 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.3773, allocations: 216.6 kB / 1.368 GB, free: 10.48 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.3774, allocations: 50.44 kB / 1.368 GB, free: 10.42 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.744e-05/0.3775, allocations: 20.94 kB / 1.368 GB, free: 10.4 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.157e-05/0.3775, allocations: 7.984 kB / 1.368 GB, free: 10.39 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.074e-05/0.3776, allocations: 30.56 kB / 1.368 GB, free: 10.35 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.162e-06/0.3776, allocations: 0 / 1.368 GB, free: 10.35 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0003336/0.3779, allocations: 93.59 kB / 1.368 GB, free: 10.25 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.3779, allocations: 51.41 kB / 1.368 GB, free: 10.19 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.3781, allocations: 125.8 kB / 1.368 GB, free: 10.06 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.3781, allocations: 25.7 kB / 1.368 GB, free: 10.03 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.281e-05/0.3781, allocations: 96.12 kB / 1.368 GB, free: 9.93 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.269e-05/0.3782, allocations: 11.88 kB / 1.368 GB, free: 9.918 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.788e-05/0.3782, allocations: 13.72 kB / 1.368 GB, free: 9.898 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001624/0.3784, allocations: 326.8 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.011e-05/0.3784, allocations: 15.98 kB / 1.368 GB, free: 9.555 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.983e-05/0.3785, allocations: 15.98 kB / 1.368 GB, free: 9.539 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001313/0.3786, allocations: 48.83 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3786, allocations: 3.938 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001723/0.3788, allocations: 65.62 kB / 1.369 GB, free: 9.414 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.3788, allocations: 9.562 kB / 1.369 GB, free: 9.406 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/0.3788, allocations: 3.984 kB / 1.369 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.3788, allocations: 0 / 1.369 GB, free: 9.402 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.975e-05/0.3789, allocations: 11.92 kB / 1.369 GB, free: 9.391 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.3789, allocations: 4 kB / 1.369 GB, free: 9.387 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.528e-05/0.379, allocations: 11.98 kB / 1.369 GB, free: 9.375 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.219e-05/0.379, allocations: 4 kB / 1.369 GB, free: 9.371 MB / 1.061 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 8.751e-05/0.3791, allocations: 113.7 kB / 1.369 GB, free: 9.25 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.84e-05/0.3791, allocations: 7.953 kB / 1.369 GB, free: 9.242 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.656e-05/0.3792, allocations: 12 kB / 1.369 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.3792, allocations: 0 / 1.369 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3792, allocations: 0 / 1.369 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.3792, allocations: 0 / 1.369 GB, free: 9.219 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.3794, allocations: 125.2 kB / 1.369 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3794, allocations: 0 / 1.369 GB, free: 9.066 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.279e-05/0.3795, allocations: 12 kB / 1.369 GB, free: 9.055 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.098e-06/0.3795, allocations: 3.984 kB / 1.369 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.945e-06/0.3795, allocations: 0 / 1.369 GB, free: 9.051 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.406e-06/0.3795, allocations: 4 kB / 1.369 GB, free: 9.047 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.3795, allocations: 0 / 1.369 GB, free: 9.047 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002766/0.3798, allocations: 171.4 kB / 1.369 GB, free: 8.863 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.216e-05/0.3798, allocations: 7.984 kB / 1.369 GB, free: 8.855 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.3798, allocations: 4 kB / 1.369 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.192e-05/0.3799, allocations: 4 kB / 1.369 GB, free: 8.848 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.978e-05/0.3799, allocations: 7.984 kB / 1.369 GB, free: 8.84 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.066e-05/0.3799, allocations: 4 kB / 1.369 GB, free: 8.836 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.363e-05/0.38, allocations: 93.52 kB / 1.369 GB, free: 8.746 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.38, allocations: 0 / 1.369 GB, free: 8.746 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002294/0.3802, allocations: 11.95 kB / 1.369 GB, free: 8.734 MB / 1.061 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.0001194/0.3803, allocations: 99.62 kB / 1.369 GB, free: 8.629 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.000198/0.3805, allocations: 35.97 kB / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.3805, allocations: 0 / 1.369 GB, free: 8.594 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 7.406e-05/0.3806, allocations: 28.02 kB / 1.369 GB, free: 8.566 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.3808, allocations: 12.02 kB / 1.369 GB, free: 8.555 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004278/0.3813, allocations: 199.1 kB / 1.369 GB, free: 8.328 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.911e-05/0.3813, allocations: 67.59 kB / 1.37 GB, free: 8.242 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.156e-05/0.3814, allocations: 11.44 kB / 1.37 GB, free: 8.23 MB / 1.061 GB Notification: Performance of SimCode: time 4e-07/0.3814, allocations: 0 / 1.37 GB, free: 8.23 MB / 1.061 GB Notification: Performance of Templates: time 0.002399/0.3838, allocations: 0.7889 MB / 1.37 GB, free: 7.449 MB / 1.061 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.275648203212768]