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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 115.7 kB / 18.89 MB, free: 2.898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 200.2 kB / 22.17 MB, free: 5.211 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.653/1.653, allocations: 225.6 MB / 250.9 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.883/2.883, allocations: 476.7 MB / 0.7645 GB, free: 10.07 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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: Performance of FrontEnd - loaded program: time 0.001956/0.001956, allocations: 73.03 kB / 1.109 GB, free: 12.1 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3875/0.3894, allocations: 168.7 MB / 1.274 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003868/0.3933, allocations: 1.522 MB / 1.276 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009812/0.3943, allocations: 415 kB / 1.276 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.402e-05/0.3943, allocations: 0 / 1.276 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.802e-05/0.3944, allocations: 7.922 kB / 1.276 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.047e-05/0.3944, allocations: 15.86 kB / 1.276 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002099/0.3947, allocations: 11.98 kB / 1.276 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001241/0.3948, allocations: 55.72 kB / 1.276 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.654e-05/0.3949, allocations: 8 kB / 1.276 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001296/0.395, allocations: 27.91 kB / 1.276 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.782e-05/0.3951, allocations: 27.91 kB / 1.276 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.934e-05/0.3951, allocations: 4 kB / 1.276 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/0.3951, allocations: 4 kB / 1.276 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.846e-05/0.3952, allocations: 3.938 kB / 1.276 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.875e-05/0.3952, allocations: 27.86 kB / 1.276 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001192/0.3953, allocations: 43.81 kB / 1.276 GB, free: 9 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.3953, allocations: 4 kB / 1.276 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.503e-06/0.3953, allocations: 0 / 1.276 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.3953, allocations: 0 / 1.276 GB, free: 8.996 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.0006985/0.396, allocations: 363.2 kB / 1.277 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.3961, allocations: 12.02 kB / 1.277 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.1e-05/0.3961, allocations: 16.83 kB / 1.277 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.3963, allocations: 172.3 kB / 1.277 GB, free: 8.359 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.366e-05/0.3963, allocations: 4.375 kB / 1.277 GB, free: 8.355 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.393e-05/0.3963, allocations: 4.375 kB / 1.277 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.3965, allocations: 57.98 kB / 1.277 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.757e-06/0.3965, allocations: 0 / 1.277 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.3965, allocations: 3.984 kB / 1.277 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.027e-06/0.3965, allocations: 0 / 1.277 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001443/0.3967, allocations: 31.97 kB / 1.277 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000562/0.3972, allocations: 280.8 kB / 1.277 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.3974, allocations: 38.56 kB / 1.277 GB, free: 7.883 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.013e-05/0.3974, allocations: 22.09 kB / 1.277 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.193e-05/0.3975, allocations: 4 kB / 1.277 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.882e-05/0.3975, allocations: 30.56 kB / 1.277 GB, free: 7.816 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/0.3975, allocations: 4 kB / 1.277 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003606/0.3979, allocations: 93.53 kB / 1.277 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.911e-05/0.3979, allocations: 51.41 kB / 1.277 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001268/0.398, allocations: 117.8 kB / 1.277 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.398, allocations: 29.7 kB / 1.277 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.485e-05/0.3981, allocations: 92.12 kB / 1.278 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.389e-05/0.3981, allocations: 19.81 kB / 1.278 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.252e-05/0.3982, allocations: 13.72 kB / 1.278 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002066/0.3984, allocations: 326.8 kB / 1.278 GB, free: 7.031 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.478e-05/0.3985, allocations: 15.98 kB / 1.278 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.72e-05/0.3985, allocations: 15.98 kB / 1.278 GB, free: 7 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001375/0.3987, allocations: 40.83 kB / 1.278 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3987, allocations: 0 / 1.278 GB, free: 6.957 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000196/0.3989, allocations: 77.56 kB / 1.278 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.3989, allocations: 4 kB / 1.278 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3989, allocations: 4 kB / 1.278 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.3989, allocations: 3.938 kB / 1.278 GB, free: 6.863 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.399, allocations: 7.984 kB / 1.278 GB, free: 6.855 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.145e-05/0.399, allocations: 8 kB / 1.278 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.223e-05/0.3991, allocations: 0 / 1.278 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.608e-05/0.3991, allocations: 7.984 kB / 1.278 GB, free: 6.84 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.703e-05/0.3992, allocations: 117.8 kB / 1.278 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.138e-05/0.3992, allocations: 7.953 kB / 1.278 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.513e-05/0.3993, allocations: 7.906 kB / 1.278 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.3993, allocations: 0 / 1.278 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.3993, allocations: 0 / 1.278 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.3993, allocations: 4 kB / 1.278 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000222/0.3995, allocations: 173.6 kB / 1.278 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-06/0.3995, allocations: 0 / 1.278 GB, free: 6.473 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.541e-05/0.3996, allocations: 8 kB / 1.278 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.3996, allocations: 7.984 kB / 1.278 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.3996, allocations: 0 / 1.278 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.3996, allocations: 0 / 1.278 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.3996, allocations: 0 / 1.278 GB, free: 6.457 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.3998, allocations: 179.7 kB / 1.279 GB, free: 6.266 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.382e-05/0.3999, allocations: 81.09 kB / 1.279 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.618e-05/0.3999, allocations: 0 / 1.279 GB, free: 6.168 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.4, allocations: 8 kB / 1.279 GB, free: 6.16 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.204e-05/0.4, allocations: 7.984 kB / 1.279 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.4, allocations: 0 / 1.279 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.109e-05/0.4001, allocations: 91.27 kB / 1.279 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4001, allocations: 0 / 1.279 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002242/0.4004, allocations: 8 kB / 1.279 GB, free: 6.055 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.0001581/0.4005, allocations: 99.78 kB / 1.279 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003257/0.4008, allocations: 43.91 kB / 1.279 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4008, allocations: 0 / 1.279 GB, free: 5.902 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.671e-05/0.4009, allocations: 19.98 kB / 1.279 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002439/0.4012, allocations: 13.28 kB / 1.279 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007949/0.402, allocations: 174.7 kB / 1.279 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006262/0.4026, allocations: 0.6923 MB / 1.28 GB, free: 4.957 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 5.007e-05/0.4026, allocations: 4 kB / 1.28 GB, free: 4.953 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.079e-05/0.4027, allocations: 11.44 kB / 1.28 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of SimCode: time 1.112e-06/0.4027, allocations: 0 / 1.28 GB, free: 4.945 MB / 0.9825 GB Notification: Performance of Templates: time 0.004185/0.4069, allocations: 471 kB / 1.28 GB, free: 4.488 MB / 0.9825 GB " [Timeout remaining time 300] 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 -s cvode -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_2/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.313918645028025]