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.001771/0.001771, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002523/0.002523, allocations: 214.8 kB / 22.25 MB, free: 5.082 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.463/1.463, allocations: 230.6 MB / 256 MB, free: 8.012 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.873/2.873, allocations: 476.8 MB / 0.7707 GB, free: 4.285 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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_11_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) [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.002066/0.002066, allocations: 68.36 kB / 1.117 GB, free: 40.39 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3687/0.3708, allocations: 170 MB / 1.283 GB, free: 11.75 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.00306/0.3739, allocations: 1.539 MB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009581/0.3748, allocations: 0.4966 MB / 1.285 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.913e-05/0.3749, allocations: 4 kB / 1.285 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.112e-05/0.3749, allocations: 7.922 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.924e-05/0.375, allocations: 7.875 kB / 1.285 GB, free: 9.68 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.3752, allocations: 35.89 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001303/0.3753, allocations: 51.78 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.3754, allocations: 15.94 kB / 1.285 GB, free: 9.578 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001302/0.3756, allocations: 23.92 kB / 1.286 GB, free: 9.555 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.135e-05/0.3757, allocations: 31.84 kB / 1.286 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.554e-05/0.3757, allocations: 4 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.561e-05/0.3757, allocations: 7.984 kB / 1.286 GB, free: 9.512 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.813e-05/0.3757, allocations: 11.94 kB / 1.286 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.192e-05/0.3758, allocations: 23.86 kB / 1.286 GB, free: 9.477 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001336/0.3759, allocations: 59.2 kB / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3759, allocations: 0 / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.913e-06/0.3759, allocations: 0 / 1.286 GB, free: 9.422 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.3759, allocations: 0 / 1.286 GB, free: 9.422 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.0005321/0.3765, allocations: 298.1 kB / 1.286 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.431e-05/0.3765, allocations: 8.031 kB / 1.286 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.927e-05/0.3766, allocations: 30.75 kB / 1.286 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000227/0.3768, allocations: 24.91 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002337/0.377, allocations: 130.4 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.377, allocations: 384 / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.117e-06/0.377, allocations: 4.375 kB / 1.286 GB, free: 8.875 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.3772, allocations: 57.8 kB / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.3772, allocations: 0 / 1.286 GB, free: 8.812 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.472e-05/0.3773, allocations: 4 kB / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.3773, allocations: 0 / 1.286 GB, free: 8.809 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001303/0.3774, allocations: 35.91 kB / 1.286 GB, free: 8.773 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004236/0.3778, allocations: 248 kB / 1.286 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001326/0.3779, allocations: 42.55 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.948e-05/0.378, allocations: 24.94 kB / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.888e-05/0.378, allocations: 0 / 1.287 GB, free: 8.41 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.146e-05/0.3781, allocations: 34.5 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 9.42e-07/0.3781, allocations: 0 / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003543/0.3784, allocations: 93.59 kB / 1.287 GB, free: 8.27 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.3785, allocations: 55.41 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000131/0.3786, allocations: 125.2 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.845e-05/0.3786, allocations: 25.7 kB / 1.287 GB, free: 8.043 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.837e-05/0.3787, allocations: 92.12 kB / 1.287 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/0.3787, allocations: 11.84 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.825e-05/0.3788, allocations: 17.72 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001571/0.3789, allocations: 326.8 kB / 1.287 GB, free: 7.586 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.995e-05/0.379, allocations: 15.98 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.79e-05/0.379, allocations: 19.92 kB / 1.287 GB, free: 7.551 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001253/0.3792, allocations: 44.77 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.3792, allocations: 4 kB / 1.287 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001716/0.3793, allocations: 73.61 kB / 1.287 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.3794, allocations: 4 kB / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3794, allocations: 0 / 1.287 GB, free: 7.418 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3794, allocations: 4 kB / 1.287 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.924e-05/0.3795, allocations: 7.984 kB / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.77e-06/0.3795, allocations: 0 / 1.287 GB, free: 7.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.799e-05/0.3795, allocations: 4 kB / 1.287 GB, free: 7.402 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3795, allocations: 3.984 kB / 1.287 GB, free: 7.398 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.672e-05/0.3796, allocations: 121.7 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.999e-05/0.3797, allocations: 15.95 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.753e-05/0.3797, allocations: 8 kB / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3797, allocations: 0 / 1.288 GB, free: 7.242 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3797, allocations: 4 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.3797, allocations: 0 / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001898/0.3799, allocations: 148.6 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.3799, allocations: 0 / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.74e-05/0.38, allocations: 11.98 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.38, allocations: 0 / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.564e-06/0.38, allocations: 0 / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.38, allocations: 4 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.38, allocations: 0 / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002316/0.3802, allocations: 171.4 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.312e-05/0.3802, allocations: 8.328 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.697e-05/0.3802, allocations: 4 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-05/0.3803, allocations: 4 kB / 1.288 GB, free: 6.836 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.814e-05/0.3804, allocations: 11.92 kB / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.567e-06/0.3804, allocations: 0 / 1.288 GB, free: 6.824 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.899e-05/0.3804, allocations: 95.27 kB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3804, allocations: 0 / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002194/0.3806, allocations: 8 kB / 1.288 GB, free: 6.723 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.0005753/0.3812, allocations: 0.7085 MB / 1.289 GB, free: 5.988 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001918/0.3814, allocations: 43.91 kB / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.523e-06/0.3814, allocations: 0 / 1.289 GB, free: 5.945 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.249e-05/0.3815, allocations: 19.98 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.3817, allocations: 6.281 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00166/0.3834, allocations: 1.378 MB / 1.29 GB, free: 4.465 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003866/0.3837, allocations: 0.6922 MB / 1.291 GB, free: 3.746 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.558e-05/0.3838, allocations: 4 kB / 1.291 GB, free: 3.742 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.361e-05/0.3838, allocations: 19.42 kB / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3838, allocations: 0 / 1.291 GB, free: 3.723 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02916/0.413, allocations: 1.672 MB / 1.292 GB, free: 2.195 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.71/11.12, allocations: 7.062 kB / 1.292 GB, free: 2.191 MB / 0.9825 GB " [Timeout remaining time 288] (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv --start-time 0 --stop-time 100 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_11_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv","/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] "Error: Could not read variable criSol.TEnv in file Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv. Warning: Get data of variable criSol.TEnv from file Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv failed! Error: Could not read variable criSol.TIn in file Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv. Warning: Get data of variable criSol.TIn from file Buildings_11_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.053887097999905]