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.001758/0.001758, allocations: 106.4 kB / 16.45 MB, free: 6.453 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.002085/0.002085, allocations: 213.7 kB / 19.43 MB, free: 3.625 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.439/1.439, allocations: 230.6 MB / 252.8 MB, free: 8.945 MB / 206.1 MB " [Timeout remaining time 178] 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 3.182/3.182, allocations: 0.505 GB / 0.8066 GB, free: 23.11 MB / 0.6231 GB " [Timeout remaining time 176] 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.002449/0.002449, allocations: 64.23 kB / 1.172 GB, free: 17.51 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3347/0.3372, allocations: 180.2 MB / 1.348 GB, free: 9.969 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.SolarCollectors.Controls.BaseClasses.Examples.GCritCalc): time 0.002628/0.3398, allocations: 1.541 MB / 1.349 GB, free: 8.418 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0008316/0.3406, allocations: 494.8 kB / 1.35 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.055e-05/0.3407, allocations: 0 / 1.35 GB, free: 7.93 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.405e-05/0.3407, allocations: 11.81 kB / 1.35 GB, free: 7.918 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.761e-05/0.3408, allocations: 15.86 kB / 1.35 GB, free: 7.902 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002173/0.341, allocations: 31.95 kB / 1.35 GB, free: 7.871 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001204/0.3411, allocations: 59.78 kB / 1.35 GB, free: 7.812 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 9.482e-05/0.3412, allocations: 8 kB / 1.35 GB, free: 7.805 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000129/0.3413, allocations: 35.84 kB / 1.35 GB, free: 7.77 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.415e-05/0.3414, allocations: 27.84 kB / 1.35 GB, free: 7.742 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.389e-05/0.3414, allocations: 4 kB / 1.35 GB, free: 7.738 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.238e-05/0.3415, allocations: 4 kB / 1.35 GB, free: 7.734 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.3415, allocations: 4 kB / 1.35 GB, free: 7.73 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.415e-05/0.3415, allocations: 31.8 kB / 1.35 GB, free: 7.699 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001269/0.3416, allocations: 52.03 kB / 1.35 GB, free: 7.648 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.3416, allocations: 3.984 kB / 1.35 GB, free: 7.645 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.022e-06/0.3416, allocations: 0 / 1.35 GB, free: 7.645 MB / 1.045 GB Notification: Performance of Transformations before backend: time 4.92e-06/0.3417, allocations: 4 kB / 1.35 GB, free: 7.641 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.0005235/0.3422, allocations: 371.2 kB / 1.35 GB, free: 7.23 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.926e-05/0.3422, allocations: 11.98 kB / 1.35 GB, free: 7.219 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.05e-05/0.3423, allocations: 30.75 kB / 1.35 GB, free: 7.18 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002099/0.3425, allocations: 28.86 kB / 1.35 GB, free: 7.152 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.3427, allocations: 188.1 kB / 1.351 GB, free: 6.93 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.258e-06/0.3427, allocations: 8.375 kB / 1.351 GB, free: 6.922 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.077e-06/0.3427, allocations: 384 / 1.351 GB, free: 6.922 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.3429, allocations: 61.8 kB / 1.351 GB, free: 6.855 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.853e-06/0.3429, allocations: 0 / 1.351 GB, free: 6.855 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/0.3429, allocations: 0 / 1.351 GB, free: 6.855 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.3429, allocations: 0 / 1.351 GB, free: 6.855 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001294/0.343, allocations: 35.95 kB / 1.351 GB, free: 6.82 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003785/0.3434, allocations: 280.8 kB / 1.351 GB, free: 6.496 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.3435, allocations: 46.55 kB / 1.351 GB, free: 6.441 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.295e-05/0.3436, allocations: 20.94 kB / 1.351 GB, free: 6.418 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.536e-05/0.3436, allocations: 0 / 1.351 GB, free: 6.418 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.582e-05/0.3436, allocations: 34.56 kB / 1.351 GB, free: 6.375 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 7.22e-07/0.3436, allocations: 4 kB / 1.351 GB, free: 6.371 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0003145/0.3439, allocations: 85.55 kB / 1.351 GB, free: 6.281 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.189e-05/0.344, allocations: 59.41 kB / 1.351 GB, free: 6.211 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.3441, allocations: 121.8 kB / 1.351 GB, free: 6.082 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.715e-05/0.3441, allocations: 25.7 kB / 1.351 GB, free: 6.051 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.755e-05/0.3442, allocations: 88.14 kB / 1.351 GB, free: 5.961 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.452e-05/0.3442, allocations: 15.83 kB / 1.351 GB, free: 5.945 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.779e-05/0.3442, allocations: 21.72 kB / 1.351 GB, free: 5.918 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.3444, allocations: 318.8 kB / 1.352 GB, free: 5.598 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.2e-05/0.3444, allocations: 15.98 kB / 1.352 GB, free: 5.582 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.072e-05/0.3445, allocations: 15.98 kB / 1.352 GB, free: 5.566 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.3446, allocations: 40.83 kB / 1.352 GB, free: 5.523 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.3446, allocations: 0 / 1.352 GB, free: 5.523 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001826/0.3448, allocations: 85.55 kB / 1.352 GB, free: 5.434 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.433e-05/0.3448, allocations: 4 kB / 1.352 GB, free: 5.43 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.548e-06/0.3448, allocations: 0 / 1.352 GB, free: 5.43 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.3448, allocations: 0 / 1.352 GB, free: 5.43 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.814e-05/0.3449, allocations: 11.98 kB / 1.352 GB, free: 5.418 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.3449, allocations: 0 / 1.352 GB, free: 5.418 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.02e-05/0.345, allocations: 7.938 kB / 1.352 GB, free: 5.41 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.474e-06/0.345, allocations: 0 / 1.352 GB, free: 5.41 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 9.235e-05/0.3451, allocations: 121.8 kB / 1.352 GB, free: 5.281 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.946e-05/0.3451, allocations: 7.953 kB / 1.352 GB, free: 5.273 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.388e-05/0.3452, allocations: 15.89 kB / 1.352 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.3452, allocations: 0 / 1.352 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.556e-06/0.3452, allocations: 0 / 1.352 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.3452, allocations: 0 / 1.352 GB, free: 5.246 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001854/0.3454, allocations: 173.6 kB / 1.352 GB, free: 5.027 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3454, allocations: 0 / 1.352 GB, free: 5.027 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.619e-05/0.3454, allocations: 11.92 kB / 1.352 GB, free: 5.016 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3454, allocations: 4 kB / 1.352 GB, free: 5.012 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.233e-06/0.3454, allocations: 4 kB / 1.352 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3454, allocations: 0 / 1.352 GB, free: 5.008 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3454, allocations: 3.984 kB / 1.352 GB, free: 5.004 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002344/0.3457, allocations: 167.7 kB / 1.352 GB, free: 4.824 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 4.363e-05/0.3457, allocations: 81.06 kB / 1.353 GB, free: 4.727 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.504e-05/0.3457, allocations: 4.031 kB / 1.353 GB, free: 4.723 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.623e-05/0.3458, allocations: 15.98 kB / 1.353 GB, free: 4.707 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.3458, allocations: 4 kB / 1.353 GB, free: 4.703 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.636e-06/0.3458, allocations: 0 / 1.353 GB, free: 4.703 MB / 1.045 GB Notification: Performance of sorting global known variables: time 5.78e-05/0.3459, allocations: 93.64 kB / 1.353 GB, free: 4.613 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3459, allocations: 4 kB / 1.353 GB, free: 4.609 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002143/0.3461, allocations: 4 kB / 1.353 GB, free: 4.605 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.0005277/0.3466, allocations: 0.7162 MB / 1.353 GB, free: 3.863 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001779/0.3468, allocations: 35.97 kB / 1.353 GB, free: 3.828 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.3468, allocations: 0 / 1.353 GB, free: 3.828 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.165e-05/0.3469, allocations: 19.98 kB / 1.353 GB, free: 3.809 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002105/0.3471, allocations: 7.766 kB / 1.353 GB, free: 3.805 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001544/0.3487, allocations: 1.384 MB / 1.355 GB, free: 2.344 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003146/0.349, allocations: 0.6846 MB / 1.355 GB, free: 1.633 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.207e-05/0.349, allocations: 4 kB / 1.355 GB, free: 1.629 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.52e-05/0.349, allocations: 19.38 kB / 1.355 GB, free: 1.609 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.349, allocations: 4 kB / 1.355 GB, free: 1.605 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02371/0.3728, allocations: 1.585 MB / 1.357 GB, free: 160 kB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.055/8.427, allocations: 6.281 kB / 1.357 GB, free: 160 kB / 1.045 GB " [Timeout remaining time 292] (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.004613085882738]