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.001387/0.001387, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001738/0.001738, allocations: 211.8 kB / 22.24 MB, free: 5.262 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.663/1.663, allocations: 230.6 MB / 256 MB, free: 7.805 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 3.013/3.013, allocations: 475.9 MB / 0.7699 GB, free: 4.781 MB / 0.6231 GB " [Timeout remaining time 176] 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.002096/0.002096, allocations: 67.06 kB / 1.117 GB, free: 41.15 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3692, allocations: 170 MB / 1.283 GB, free: 12.01 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002939/0.3721, allocations: 1.52 MB / 1.285 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009512/0.3731, allocations: 468.6 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.62e-05/0.3731, allocations: 4 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.732e-05/0.3732, allocations: 3.938 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.595e-05/0.3732, allocations: 7.875 kB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002456/0.3735, allocations: 43.88 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001215/0.3736, allocations: 47.8 kB / 1.285 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.886e-05/0.3737, allocations: 11.98 kB / 1.285 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001376/0.3738, allocations: 23.92 kB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.952e-05/0.3739, allocations: 27.84 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.772e-05/0.3739, allocations: 4 kB / 1.285 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.704e-05/0.374, allocations: 7.938 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.231e-05/0.374, allocations: 15.92 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.374, allocations: 11.94 kB / 1.285 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001403/0.3742, allocations: 63.61 kB / 1.285 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.3742, allocations: 4 kB / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3742, allocations: 0 / 1.285 GB, free: 9.75 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.3742, allocations: 0 / 1.285 GB, free: 9.75 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.0005457/0.3747, allocations: 290.1 kB / 1.285 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.3748, allocations: 8.031 kB / 1.286 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002313/0.375, allocations: 24.91 kB / 1.286 GB, free: 9.406 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002202/0.3752, allocations: 134 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.089e-05/0.3752, allocations: 384 / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.3752, allocations: 8.375 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001795/0.3754, allocations: 57.98 kB / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3754, allocations: 0 / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.3754, allocations: 0 / 1.286 GB, free: 9.184 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.484e-06/0.3755, allocations: 3.984 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.3756, allocations: 35.91 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003538/0.3759, allocations: 220.6 kB / 1.286 GB, free: 8.898 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000142/0.3761, allocations: 42.5 kB / 1.286 GB, free: 8.848 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.592e-05/0.3762, allocations: 24.94 kB / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.686e-05/0.3762, allocations: 0 / 1.286 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.206e-05/0.3762, allocations: 30.56 kB / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 8.91e-07/0.3762, allocations: 0 / 1.286 GB, free: 8.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003241/0.3765, allocations: 93.55 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.348e-05/0.3766, allocations: 51.41 kB / 1.286 GB, free: 8.621 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001219/0.3767, allocations: 129.8 kB / 1.286 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.745e-05/0.3767, allocations: 29.7 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.522e-05/0.3768, allocations: 88.14 kB / 1.286 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.498e-05/0.3768, allocations: 15.89 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.173e-05/0.3768, allocations: 9.719 kB / 1.286 GB, free: 8.328 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001472/0.377, allocations: 322.8 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.389e-05/0.3771, allocations: 19.98 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.997e-05/0.3771, allocations: 19.98 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.3772, allocations: 36.78 kB / 1.287 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.737e-06/0.3772, allocations: 7.938 kB / 1.287 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000177/0.3774, allocations: 73.66 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3774, allocations: 4 kB / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.3774, allocations: 0 / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.35e-05/0.3774, allocations: 0 / 1.287 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001028/0.3776, allocations: 11.98 kB / 1.287 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.3776, allocations: 3.938 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.628e-05/0.3776, allocations: 11.94 kB / 1.287 GB, free: 7.809 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-06/0.3776, allocations: 4 kB / 1.287 GB, free: 7.805 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 8.701e-05/0.3777, allocations: 117.8 kB / 1.287 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.611e-05/0.3777, allocations: 3.953 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.3778, allocations: 12 kB / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3778, allocations: 0 / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.3778, allocations: 0 / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.224e-06/0.3778, allocations: 0 / 1.287 GB, free: 7.66 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001557/0.3779, allocations: 129.2 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3779, allocations: 0 / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.173e-05/0.378, allocations: 7.984 kB / 1.287 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.378, allocations: 4 kB / 1.287 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.378, allocations: 7.938 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.378, allocations: 0 / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.378, allocations: 0 / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002326/0.3782, allocations: 171.7 kB / 1.287 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.265e-05/0.3783, allocations: 7.984 kB / 1.287 GB, free: 7.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.3783, allocations: 4 kB / 1.287 GB, free: 7.289 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.355e-05/0.3784, allocations: 7.984 kB / 1.287 GB, free: 7.281 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.816e-05/0.3784, allocations: 4 kB / 1.287 GB, free: 7.277 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.3784, allocations: 4 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.306e-05/0.3785, allocations: 95.27 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3785, allocations: 0 / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002248/0.3787, allocations: 8 kB / 1.288 GB, free: 7.172 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.0001178/0.3788, allocations: 107.2 kB / 1.288 GB, free: 7.059 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001883/0.379, allocations: 31.97 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.379, allocations: 0 / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.513e-05/0.3791, allocations: 27.98 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002378/0.3793, allocations: 10.12 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.3797, allocations: 168.7 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.732e-05/0.3798, allocations: 71.58 kB / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.723e-05/0.3798, allocations: 0 / 1.288 GB, free: 6.711 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.596e-05/0.3799, allocations: 11.44 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3799, allocations: 4 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of Templates: time 0.002977/0.3829, allocations: 0.4888 MB / 1.288 GB, free: 6.207 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/jenkins/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: 9.710401667281985]