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.001451/0.001451, allocations: 109.2 kB / 18.94 MB, free: 2.949 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.001613/0.001613, allocations: 218.2 kB / 22.26 MB, free: 5.125 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.311/1.311, allocations: 230.6 MB / 256 MB, free: 7.949 MB / 206.1 MB " [Timeout remaining time 179] 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 2.903/2.903, allocations: 0.505 GB / 0.8101 GB, free: 22.06 MB / 0.6231 GB " [Timeout remaining time 177] 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: "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc,fileNamePrefix="Buildings_latest_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.001789/0.001789, allocations: 66.2 kB / 1.177 GB, free: 16.99 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2919/0.2937, allocations: 180.2 MB / 1.353 GB, free: 8.457 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002606/0.2963, allocations: 1.557 MB / 1.354 GB, free: 6.891 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0007443/0.2971, allocations: 498.8 kB / 1.355 GB, free: 6.398 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.834e-05/0.2971, allocations: 4 kB / 1.355 GB, free: 6.395 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.544e-05/0.2971, allocations: 7.875 kB / 1.355 GB, free: 6.387 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.989e-05/0.2972, allocations: 15.8 kB / 1.355 GB, free: 6.371 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001851/0.2974, allocations: 35.89 kB / 1.355 GB, free: 6.336 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001052/0.2975, allocations: 51.8 kB / 1.355 GB, free: 6.285 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 7.896e-05/0.2975, allocations: 11.98 kB / 1.355 GB, free: 6.273 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001172/0.2977, allocations: 35.84 kB / 1.355 GB, free: 6.238 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.614e-05/0.2977, allocations: 23.86 kB / 1.355 GB, free: 6.215 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.272e-05/0.2977, allocations: 8 kB / 1.355 GB, free: 6.207 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.258e-05/0.2978, allocations: 8 kB / 1.355 GB, free: 6.199 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.248e-05/0.2978, allocations: 7.984 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.434e-05/0.2978, allocations: 31.8 kB / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.000103/0.2979, allocations: 48.03 kB / 1.355 GB, free: 6.113 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2979, allocations: 0 / 1.355 GB, free: 6.113 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.102e-06/0.2979, allocations: 0 / 1.355 GB, free: 6.113 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.2979, allocations: 0 / 1.355 GB, free: 6.113 MB / 1.045 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.0004359/0.2984, allocations: 296 kB / 1.355 GB, free: 5.797 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.2984, allocations: 16.03 kB / 1.355 GB, free: 5.781 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.551e-05/0.2984, allocations: 34.73 kB / 1.355 GB, free: 5.738 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001889/0.2986, allocations: 20.88 kB / 1.355 GB, free: 5.719 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001675/0.2988, allocations: 131.3 kB / 1.356 GB, free: 5.566 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.285e-06/0.2988, allocations: 4.312 kB / 1.356 GB, free: 5.562 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.728e-06/0.2988, allocations: 4.375 kB / 1.356 GB, free: 5.559 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001494/0.299, allocations: 57.8 kB / 1.356 GB, free: 5.496 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.014e-06/0.299, allocations: 4 kB / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-06/0.299, allocations: 0 / 1.356 GB, free: 5.492 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.623e-06/0.299, allocations: 4 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.2991, allocations: 31.97 kB / 1.356 GB, free: 5.457 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003278/0.2994, allocations: 244 kB / 1.356 GB, free: 5.176 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.2995, allocations: 50.48 kB / 1.356 GB, free: 5.117 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.217e-05/0.2996, allocations: 20.94 kB / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.499e-05/0.2996, allocations: 0 / 1.356 GB, free: 5.094 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.689e-05/0.2997, allocations: 38.55 kB / 1.356 GB, free: 5.047 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 7.61e-07/0.2997, allocations: 0 / 1.356 GB, free: 5.047 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0002804/0.2999, allocations: 89.55 kB / 1.356 GB, free: 4.953 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.796e-05/0.3, allocations: 55.41 kB / 1.356 GB, free: 4.887 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.3001, allocations: 127.5 kB / 1.356 GB, free: 4.754 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.3001, allocations: 25.7 kB / 1.356 GB, free: 4.723 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.362e-05/0.3001, allocations: 84.14 kB / 1.356 GB, free: 4.637 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.29e-05/0.3002, allocations: 19.84 kB / 1.356 GB, free: 4.617 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.007e-05/0.3002, allocations: 13.7 kB / 1.356 GB, free: 4.598 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001335/0.3003, allocations: 326.8 kB / 1.357 GB, free: 4.27 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.353e-05/0.3004, allocations: 19.98 kB / 1.357 GB, free: 4.25 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.966e-05/0.3004, allocations: 19.98 kB / 1.357 GB, free: 4.23 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001108/0.3005, allocations: 44.77 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.263e-06/0.3005, allocations: 0 / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001544/0.3007, allocations: 73.56 kB / 1.357 GB, free: 4.105 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.3007, allocations: 13.39 kB / 1.357 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.916e-06/0.3007, allocations: 0 / 1.357 GB, free: 4.094 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.3007, allocations: 4 kB / 1.357 GB, free: 4.09 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.968e-05/0.3008, allocations: 8 kB / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.757e-06/0.3008, allocations: 0 / 1.357 GB, free: 4.082 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.734e-05/0.3009, allocations: 11.92 kB / 1.357 GB, free: 4.07 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.4e-06/0.3009, allocations: 0 / 1.357 GB, free: 4.07 MB / 1.045 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 7.801e-05/0.3009, allocations: 122.4 kB / 1.357 GB, free: 3.941 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.301, allocations: 3.953 kB / 1.357 GB, free: 3.938 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.301, allocations: 15.98 kB / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-06/0.301, allocations: 0 / 1.357 GB, free: 3.918 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.645e-06/0.301, allocations: 4 kB / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.301, allocations: 0 / 1.357 GB, free: 3.914 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.3012, allocations: 144.7 kB / 1.357 GB, free: 3.73 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.3012, allocations: 0 / 1.357 GB, free: 3.73 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.198e-05/0.3012, allocations: 7.984 kB / 1.357 GB, free: 3.723 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5e-06/0.3012, allocations: 4 kB / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.202e-06/0.3012, allocations: 0 / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3012, allocations: 0 / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.3012, allocations: 0 / 1.357 GB, free: 3.719 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002087/0.3014, allocations: 179.4 kB / 1.357 GB, free: 3.527 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.478e-06/0.3015, allocations: 4.328 kB / 1.357 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.22e-05/0.3015, allocations: 0 / 1.357 GB, free: 3.523 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.896e-05/0.3015, allocations: 7.984 kB / 1.357 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.607e-05/0.3016, allocations: 0 / 1.357 GB, free: 3.516 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.346e-06/0.3016, allocations: 4 kB / 1.357 GB, free: 3.512 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.391e-05/0.3016, allocations: 94.52 kB / 1.358 GB, free: 3.422 MB / 1.045 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3016, allocations: 4 kB / 1.358 GB, free: 3.418 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002036/0.3018, allocations: 12 kB / 1.358 GB, free: 3.406 MB / 1.045 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.0004794/0.3023, allocations: 0.7045 MB / 1.358 GB, free: 2.676 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001618/0.3025, allocations: 47.95 kB / 1.358 GB, free: 2.629 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.412e-06/0.3025, allocations: 0 / 1.358 GB, free: 2.629 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.249e-05/0.3025, allocations: 19.98 kB / 1.358 GB, free: 2.609 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001945/0.3027, allocations: 0 / 1.358 GB, free: 2.609 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001392/0.3041, allocations: 1.387 MB / 1.36 GB, free: 1.145 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.3044, allocations: 0.6846 MB / 1.36 GB, free: 444 kB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.013e-05/0.3045, allocations: 4 kB / 1.36 GB, free: 440 kB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.387e-05/0.3045, allocations: 23.36 kB / 1.36 GB, free: 416 kB / 1.045 GB Notification: Performance of SimCode: time 2.9e-07/0.3045, allocations: 0 / 1.36 GB, free: 416 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02572/0.3302, allocations: 1.663 MB / 1.362 GB, free: 14.87 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.548/9.878, allocations: 9.656 kB / 1.362 GB, free: 14.87 MB / 1.061 GB " [Timeout remaining time 290] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv --start-time 0 --stop-time 100 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.04 Buildings_latest_Buildings_Fluid_SolarCollectors_Controls_BaseClasses_Examples_GCritCalc.fmu > Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv","/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] "Error: Could not read variable criSol.TEnv in file Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv. Warning: Get data of variable criSol.TEnv from file Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv failed! Error: Could not read variable criSol.TIn in file Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv. Warning: Get data of variable criSol.TIn from file Buildings_latest_Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.86546096299935]