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.001328/0.001328, allocations: 107.6 kB / 18.95 MB, free: 2.828 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.001635/0.001635, allocations: 219.1 kB / 22.25 MB, free: 5.105 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.549/1.549, allocations: 230.6 MB / 256 MB, free: 7.809 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.053/3.053, allocations: 476 MB / 0.7699 GB, free: 4.715 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.002098/0.002098, allocations: 68.75 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3402/0.3423, allocations: 170 MB / 1.283 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.003448/0.3458, allocations: 1.526 MB / 1.284 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001019/0.3468, allocations: 468.7 kB / 1.284 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.645e-05/0.3469, allocations: 3.938 kB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.642e-05/0.3469, allocations: 7.875 kB / 1.285 GB, free: 10.4 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.032e-05/0.347, allocations: 11.86 kB / 1.285 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003176/0.3473, allocations: 31.95 kB / 1.285 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000152/0.3475, allocations: 47.8 kB / 1.285 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.3476, allocations: 15.97 kB / 1.285 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002051/0.3478, allocations: 31.86 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.645e-05/0.3479, allocations: 19.86 kB / 1.285 GB, free: 10.24 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.3479, allocations: 8 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 6.596e-05/0.348, allocations: 8 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.046e-05/0.348, allocations: 11.92 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.722e-05/0.348, allocations: 19.92 kB / 1.285 GB, free: 10.2 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001599/0.3482, allocations: 45.5 kB / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3482, allocations: 0 / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3482, allocations: 0 / 1.285 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.3482, allocations: 4 kB / 1.285 GB, free: 10.15 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.0005884/0.3488, allocations: 290.1 kB / 1.285 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.052e-05/0.3488, allocations: 12.03 kB / 1.285 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.714e-05/0.3489, allocations: 38.73 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002497/0.3491, allocations: 20.92 kB / 1.285 GB, free: 9.758 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002891/0.3494, allocations: 134.4 kB / 1.285 GB, free: 9.602 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.3494, allocations: 4.375 kB / 1.285 GB, free: 9.598 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.3495, allocations: 4.375 kB / 1.285 GB, free: 9.594 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001884/0.3496, allocations: 57.73 kB / 1.285 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3497, allocations: 4 kB / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.3497, allocations: 0 / 1.285 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.065e-06/0.3497, allocations: 7.984 kB / 1.285 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001352/0.3498, allocations: 35.97 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004569/0.3503, allocations: 236 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.3504, allocations: 46.44 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.902e-05/0.3505, allocations: 20.94 kB / 1.286 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.061e-05/0.3505, allocations: 4 kB / 1.286 GB, free: 9.129 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.276e-05/0.3506, allocations: 30.56 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.3506, allocations: 4 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0003542/0.3509, allocations: 93.59 kB / 1.286 GB, free: 8.988 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.801e-05/0.351, allocations: 55.34 kB / 1.286 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.3511, allocations: 126 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.909e-05/0.3511, allocations: 25.7 kB / 1.286 GB, free: 8.762 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.923e-05/0.3512, allocations: 88.14 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.753e-05/0.3512, allocations: 11.91 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.925e-05/0.3513, allocations: 17.7 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3514, allocations: 330.7 kB / 1.286 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.137e-05/0.3515, allocations: 15.98 kB / 1.286 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.672e-05/0.3515, allocations: 15.98 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001269/0.3517, allocations: 44.83 kB / 1.286 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3517, allocations: 0 / 1.286 GB, free: 8.227 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001849/0.3519, allocations: 65.67 kB / 1.287 GB, free: 8.156 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.3519, allocations: 8 kB / 1.287 GB, free: 8.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.3519, allocations: 7.938 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.375e-05/0.3519, allocations: 3.984 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.352, allocations: 8 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.362e-06/0.352, allocations: 0 / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.54e-05/0.3521, allocations: 11.92 kB / 1.287 GB, free: 8.117 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.335e-06/0.3521, allocations: 0 / 1.287 GB, free: 8.117 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.576e-05/0.3522, allocations: 113.8 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.976e-05/0.3522, allocations: 7.953 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.337e-05/0.3522, allocations: 12 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.3522, allocations: 0 / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.3523, allocations: 7.984 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.836e-06/0.3523, allocations: 0 / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.3524, allocations: 140.7 kB / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/0.3524, allocations: 0 / 1.287 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.712e-05/0.3525, allocations: 7.984 kB / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.3525, allocations: 0 / 1.287 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.3525, allocations: 4 kB / 1.287 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.3525, allocations: 3.938 kB / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.3525, allocations: 0 / 1.287 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.3528, allocations: 179.7 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.3528, allocations: 7.984 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.3528, allocations: 8 kB / 1.287 GB, free: 7.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.754e-05/0.3529, allocations: 3.984 kB / 1.287 GB, free: 7.559 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.3529, allocations: 4 kB / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.3529, allocations: 0 / 1.287 GB, free: 7.555 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.143e-05/0.353, allocations: 95.27 kB / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.353, allocations: 0 / 1.287 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002193/0.3532, allocations: 8 kB / 1.287 GB, free: 7.453 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.0005669/0.3538, allocations: 0.7084 MB / 1.288 GB, free: 6.719 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000201/0.354, allocations: 43.95 kB / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.354, allocations: 0 / 1.288 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.092e-05/0.3541, allocations: 19.98 kB / 1.288 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.3543, allocations: 3.938 kB / 1.288 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.356, allocations: 1.384 MB / 1.289 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.882e-05/0.3561, allocations: 75.2 kB / 1.289 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.812e-05/0.3561, allocations: 0 / 1.289 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.826e-05/0.3562, allocations: 19.42 kB / 1.289 GB, free: 5.078 MB / 0.9825 GB Notification: Performance of SimCode: time 6.41e-07/0.3562, allocations: 4 kB / 1.289 GB, free: 5.074 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02818/0.3844, allocations: 2.056 MB / 1.291 GB, free: 3.152 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.88, allocations: 10.72 kB / 1.291 GB, free: 3.145 MB / 0.9825 GB " [Timeout remaining time 287] (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.962164632044733]