Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.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.001441/0.001441, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001473/0.001473, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.797 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.269/3.269, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,fileNamePrefix="Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch",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.002036/0.002036, allocations: 72.27 kB / 1.186 GB, free: 13.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3888/0.3908, allocations: 181.9 MB / 1.363 GB, free: 14.15 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003208/0.394, allocations: 1.697 MB / 1.365 GB, free: 12.44 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.3951, allocations: 0.492 MB / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.035e-05/0.3952, allocations: 0 / 1.366 GB, free: 11.94 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 4.14e-05/0.3952, allocations: 7.922 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.991e-05/0.3953, allocations: 15.81 kB / 1.366 GB, free: 11.92 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002656/0.3956, allocations: 51.88 kB / 1.366 GB, free: 11.87 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001544/0.3957, allocations: 83.7 kB / 1.366 GB, free: 11.79 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001277/0.3959, allocations: 28.42 kB / 1.366 GB, free: 11.75 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000155/0.396, allocations: 39.86 kB / 1.366 GB, free: 11.71 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.467e-05/0.3961, allocations: 35.78 kB / 1.366 GB, free: 11.68 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.369e-05/0.3961, allocations: 8 kB / 1.366 GB, free: 11.67 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.183e-05/0.3962, allocations: 8 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.556e-05/0.3962, allocations: 19.97 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.961e-05/0.3963, allocations: 35.8 kB / 1.366 GB, free: 11.61 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002052/0.3965, allocations: 91.62 kB / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.3965, allocations: 0 / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.555e-06/0.3965, allocations: 0 / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.3965, allocations: 0 / 1.366 GB, free: 11.52 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0007031/0.3972, allocations: 321.9 kB / 1.366 GB, free: 11.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.202e-05/0.3972, allocations: 8.031 kB / 1.366 GB, free: 11.17 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.122e-05/0.3973, allocations: 38.73 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002542/0.3976, allocations: 24.88 kB / 1.366 GB, free: 11.1 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003343/0.3979, allocations: 142.3 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.04e-05/0.3979, allocations: 4.375 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.719e-05/0.3979, allocations: 4.375 kB / 1.366 GB, free: 10.93 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002923/0.3982, allocations: 121.1 kB / 1.367 GB, free: 10.79 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3982, allocations: 7.938 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.239e-05/0.3982, allocations: 4 kB / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.398e-06/0.3982, allocations: 0 / 1.367 GB, free: 10.78 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001658/0.3984, allocations: 47.97 kB / 1.367 GB, free: 10.73 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006295/0.399, allocations: 287.8 kB / 1.367 GB, free: 10.41 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.3992, allocations: 46.56 kB / 1.367 GB, free: 10.35 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001089/0.3993, allocations: 32.94 kB / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.3993, allocations: 0 / 1.367 GB, free: 10.32 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.088e-05/0.3994, allocations: 34.56 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.523e-06/0.3994, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.000378/0.3998, allocations: 105.6 kB / 1.367 GB, free: 10.16 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.779e-05/0.3998, allocations: 77.11 kB / 1.367 GB, free: 10.07 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001623/0.4, allocations: 140.1 kB / 1.367 GB, free: 9.926 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/0.4, allocations: 25.7 kB / 1.367 GB, free: 9.895 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.4001, allocations: 104 kB / 1.367 GB, free: 9.789 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.365e-05/0.4002, allocations: 11.95 kB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.931e-05/0.4002, allocations: 17.72 kB / 1.367 GB, free: 9.754 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001874/0.4004, allocations: 318.8 kB / 1.368 GB, free: 9.434 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.246e-05/0.4005, allocations: 27.98 kB / 1.368 GB, free: 9.406 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000113/0.4006, allocations: 63.41 kB / 1.368 GB, free: 9.332 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001458/0.4007, allocations: 48.77 kB / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.4007, allocations: 0 / 1.368 GB, free: 9.281 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00021/0.4009, allocations: 93.64 kB / 1.368 GB, free: 9.184 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.401, allocations: 7.938 kB / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.401, allocations: 0 / 1.368 GB, free: 9.176 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.928e-05/0.401, allocations: 4 kB / 1.368 GB, free: 9.172 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001116/0.4011, allocations: 7.984 kB / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.4011, allocations: 0 / 1.368 GB, free: 9.164 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.281e-05/0.4012, allocations: 20.06 kB / 1.368 GB, free: 9.145 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.492e-05/0.4012, allocations: 8 kB / 1.368 GB, free: 9.137 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (chiSwi.hysteresis.y,$PRE.chiSwi.hysteresis.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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.0001343/0.4013, allocations: 118 kB / 1.368 GB, free: 9.012 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.295e-05/0.4014, allocations: 7.953 kB / 1.368 GB, free: 9.004 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.759e-05/0.4014, allocations: 12.33 kB / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.4014, allocations: 0 / 1.368 GB, free: 8.98 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.4014, allocations: 7.938 kB / 1.368 GB, free: 8.973 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.145e-06/0.4014, allocations: 7.922 kB / 1.368 GB, free: 8.965 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002455/0.4017, allocations: 152.7 kB / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.4017, allocations: 0 / 1.368 GB, free: 8.773 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.336e-05/0.4018, allocations: 7.984 kB / 1.368 GB, free: 8.766 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.021e-06/0.4018, allocations: 4 kB / 1.368 GB, free: 8.762 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.4018, allocations: 4 kB / 1.368 GB, free: 8.758 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4018, allocations: 7.938 kB / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4018, allocations: 0 / 1.368 GB, free: 8.75 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002901/0.4021, allocations: 179.4 kB / 1.369 GB, free: 8.559 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.835e-05/0.4021, allocations: 7.953 kB / 1.369 GB, free: 8.551 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.156e-05/0.4021, allocations: 0 / 1.369 GB, free: 8.551 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.4022, allocations: 11.98 kB / 1.369 GB, free: 8.539 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.547e-05/0.4023, allocations: 15.92 kB / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.96e-06/0.4023, allocations: 0 / 1.369 GB, free: 8.523 MB / 1.061 GB Notification: Performance of sorting global known variables: time 9.068e-05/0.4024, allocations: 113.2 kB / 1.369 GB, free: 8.414 MB / 1.061 GB Notification: Performance of sort global known variables: time 1e-07/0.4024, allocations: 4 kB / 1.369 GB, free: 8.41 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002277/0.4026, allocations: 8 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (chiSwi.hysteresis.y) * Number of discrete states: 1 (chiSwi.hysteresis.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006104/0.4032, allocations: 0.7085 MB / 1.369 GB, free: 7.668 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.4035, allocations: 55.89 kB / 1.369 GB, free: 7.613 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 4.067e-06/0.4035, allocations: 4 kB / 1.369 GB, free: 7.609 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.552e-05/0.4035, allocations: 23.98 kB / 1.369 GB, free: 7.586 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002688/0.4038, allocations: 11.94 kB / 1.369 GB, free: 7.574 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.4059, allocations: 1.456 MB / 1.371 GB, free: 6.039 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.4061, allocations: 79.83 kB / 1.371 GB, free: 5.938 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 6.294e-05/0.4061, allocations: 12.17 kB / 1.371 GB, free: 5.926 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.666e-05/0.4062, allocations: 23.42 kB / 1.371 GB, free: 5.902 MB / 1.061 GB Notification: Performance of SimCode: time 6.71e-07/0.4062, allocations: 0 / 1.371 GB, free: 5.902 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03119/0.4374, allocations: 2.703 MB / 1.374 GB, free: 3.355 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.06/11.5, allocations: 0 / 1.374 GB, free: 3.355 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.csv --start-time 0 --stop-time 86400 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_latest_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.fmu > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable chiSwi.TSet in file Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.csv. Warning: Get data of variable chiSwi.TSet from file Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.csv failed! Error: Could not read variable chiSwi.chiCHWST in file Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.csv. Warning: Get data of variable chiSwi.chiCHWST from file Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.csv failed! Error: Could not read variable chiSwi.y in file Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.csv. Warning: Get data of variable chiSwi.y from file Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.44157431088388]