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.001651/0.001651, allocations: 103.8 kB / 16.45 MB, free: 6.449 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.002003/0.002003, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.55/1.55, allocations: 230.6 MB / 252.8 MB, free: 9.133 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.828/2.828, allocations: 476.7 MB / 0.7672 GB, free: 5.219 MB / 0.6231 GB " [Timeout remaining time 177] 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.002057/0.002057, allocations: 71.89 kB / 1.112 GB, free: 1.539 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8953/0.8974, allocations: 169.9 MB / 1.278 GB, free: 13.43 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003648/0.901, allocations: 1.527 MB / 1.28 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001303/0.9023, allocations: 0.4887 MB / 1.28 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.993e-05/0.9024, allocations: 4 kB / 1.28 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.498e-05/0.9025, allocations: 3.938 kB / 1.28 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.989e-05/0.9025, allocations: 19.8 kB / 1.28 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003004/0.9028, allocations: 39.89 kB / 1.28 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000156/0.903, allocations: 55.78 kB / 1.28 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001228/0.9031, allocations: 4 kB / 1.28 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.9033, allocations: 31.91 kB / 1.28 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.9034, allocations: 23.86 kB / 1.28 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.9034, allocations: 4 kB / 1.28 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.768e-05/0.9035, allocations: 11.98 kB / 1.28 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.9035, allocations: 4 kB / 1.28 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.868e-05/0.9035, allocations: 27.8 kB / 1.28 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001607/0.9037, allocations: 53.64 kB / 1.281 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.949e-06/0.9037, allocations: 0 / 1.281 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9037, allocations: 0 / 1.281 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.9037, allocations: 3.938 kB / 1.281 GB, free: 11.12 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.0006309/0.9043, allocations: 371.2 kB / 1.281 GB, free: 10.71 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.366e-05/0.9044, allocations: 11.97 kB / 1.281 GB, free: 10.7 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.248e-05/0.9044, allocations: 34.75 kB / 1.281 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002448/0.9047, allocations: 24.86 kB / 1.281 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002883/0.905, allocations: 192.2 kB / 1.281 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.294e-05/0.905, allocations: 4.375 kB / 1.281 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.905, allocations: 384 / 1.281 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.9052, allocations: 57.8 kB / 1.281 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.766e-06/0.9052, allocations: 0 / 1.281 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.249e-05/0.9052, allocations: 4 kB / 1.281 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.9052, allocations: 0 / 1.281 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001457/0.9054, allocations: 39.91 kB / 1.281 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004448/0.9058, allocations: 272.8 kB / 1.281 GB, free: 9.98 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001485/0.906, allocations: 42.56 kB / 1.282 GB, free: 9.93 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.213e-05/0.906, allocations: 20.94 kB / 1.282 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.057e-05/0.9061, allocations: 8 kB / 1.282 GB, free: 9.898 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.921e-05/0.9061, allocations: 34.56 kB / 1.282 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.9061, allocations: 0 / 1.282 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003535/0.9064, allocations: 93.53 kB / 1.282 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/0.9065, allocations: 51.41 kB / 1.282 GB, free: 9.695 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000124/0.9066, allocations: 119.3 kB / 1.282 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.115e-05/0.9066, allocations: 29.7 kB / 1.282 GB, free: 9.535 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.809e-05/0.9067, allocations: 96.12 kB / 1.282 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.301e-05/0.9067, allocations: 7.906 kB / 1.282 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.006e-05/0.9068, allocations: 21.7 kB / 1.282 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.9069, allocations: 314.8 kB / 1.282 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.716e-05/0.907, allocations: 19.98 kB / 1.282 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.507e-05/0.9071, allocations: 15.98 kB / 1.282 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001445/0.9072, allocations: 49.05 kB / 1.282 GB, free: 9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.9072, allocations: 0 / 1.282 GB, free: 9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000194/0.9074, allocations: 73.66 kB / 1.282 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.9074, allocations: 4 kB / 1.282 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.9074, allocations: 0 / 1.282 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.9075, allocations: 0 / 1.282 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001043/0.9076, allocations: 11.98 kB / 1.282 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.27e-06/0.9076, allocations: 0 / 1.282 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.104e-05/0.9076, allocations: 11.98 kB / 1.282 GB, free: 8.895 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.155e-06/0.9076, allocations: 3.938 kB / 1.282 GB, free: 8.891 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 0.0001786/0.9078, allocations: 118.3 kB / 1.283 GB, free: 8.766 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.9079, allocations: 7.953 kB / 1.283 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.045e-05/0.9079, allocations: 3.906 kB / 1.283 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.9079, allocations: 0 / 1.283 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.9079, allocations: 0 / 1.283 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.9079, allocations: 7.922 kB / 1.283 GB, free: 8.734 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003063/0.9082, allocations: 177.6 kB / 1.283 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.9082, allocations: 3.938 kB / 1.283 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.392e-05/0.9083, allocations: 15.98 kB / 1.283 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.9083, allocations: 0 / 1.283 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.255e-06/0.9083, allocations: 0 / 1.283 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.9083, allocations: 0 / 1.283 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.9083, allocations: 0 / 1.283 GB, free: 8.492 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002671/0.9086, allocations: 171.4 kB / 1.283 GB, free: 8.309 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.329e-05/0.9086, allocations: 85.06 kB / 1.283 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.905e-05/0.9086, allocations: 4 kB / 1.283 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.149e-05/0.9087, allocations: 3.984 kB / 1.283 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.9088, allocations: 8 kB / 1.283 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.9088, allocations: 0 / 1.283 GB, free: 8.191 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.206e-05/0.9088, allocations: 103.4 kB / 1.283 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.9088, allocations: 0 / 1.283 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002241/0.9091, allocations: 7.938 kB / 1.283 GB, free: 8.086 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.0007486/0.9098, allocations: 0.7085 MB / 1.284 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002024/0.91, allocations: 39.97 kB / 1.284 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.91, allocations: 0 / 1.284 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.479e-05/0.9101, allocations: 27.91 kB / 1.284 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000228/0.9103, allocations: 14.38 kB / 1.284 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001893/0.9122, allocations: 1.354 MB / 1.285 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004447/0.9127, allocations: 0.6922 MB / 1.286 GB, free: 5.121 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.871e-05/0.9127, allocations: 12.3 kB / 1.286 GB, free: 5.109 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.515e-05/0.9128, allocations: 19.42 kB / 1.286 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of SimCode: time 4.61e-07/0.9128, allocations: 3.938 kB / 1.286 GB, free: 5.086 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02486/0.9376, allocations: 1.57 MB / 1.287 GB, free: 3.656 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.334/9.271, allocations: 3.281 kB / 1.287 GB, free: 3.656 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.543266193009913]