Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001381/0.001381, allocations: 109 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 225.6 MB / 249.3 MB, free: 3.152 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.471/2.471, allocations: 476.7 MB / 0.7628 GB, free: 15.09 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,fileNamePrefix="Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch,fileNamePrefix="Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001778/0.001778, allocations: 67.89 kB / 1.107 GB, free: 5.164 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.706/0.7078, allocations: 168.7 MB / 1.271 GB, free: 7.695 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002243/0.71, allocations: 1.696 MB / 1.273 GB, free: 6.543 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0005685/0.7106, allocations: 455.5 kB / 1.273 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.21e-05/0.7107, allocations: 0.8438 kB / 1.273 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.988e-05/0.7107, allocations: 10.64 kB / 1.273 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 6.284e-05/0.7107, allocations: 10.95 kB / 1.273 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001486/0.7109, allocations: 28.11 kB / 1.274 GB, free: 6.199 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001083/0.711, allocations: 84.67 kB / 1.274 GB, free: 6.156 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.991e-05/0.7111, allocations: 24.97 kB / 1.274 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 8.962e-05/0.7112, allocations: 45.5 kB / 1.274 GB, free: 6.117 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.914e-05/0.7113, allocations: 37.78 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.138e-05/0.7113, allocations: 7.531 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.707e-05/0.7113, allocations: 7.031 kB / 1.274 GB, free: 6.098 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.225e-05/0.7113, allocations: 21.33 kB / 1.274 GB, free: 6.082 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.808e-05/0.7114, allocations: 36.2 kB / 1.274 GB, free: 6.059 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001142/0.7115, allocations: 77.77 kB / 1.274 GB, free: 6.027 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.098e-06/0.7115, allocations: 4.812 kB / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.483e-06/0.7115, allocations: 0 / 1.274 GB, free: 6.023 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.489e-06/0.7115, allocations: 4 kB / 1.274 GB, free: 6.02 MB / 0.9981 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.0004565/0.7119, allocations: 390 kB / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.547e-05/0.712, allocations: 10.31 kB / 1.274 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.335e-05/0.712, allocations: 38.05 kB / 1.274 GB, free: 5.594 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.933e-05/0.712, allocations: 9.109 kB / 1.274 GB, free: 5.59 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.844e-05/0.7121, allocations: 177.5 kB / 1.274 GB, free: 5.387 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.254e-05/0.7122, allocations: 5.938 kB / 1.274 GB, free: 5.383 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.389e-05/0.7122, allocations: 7.031 kB / 1.274 GB, free: 5.379 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.7124, allocations: 92.38 kB / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.7124, allocations: 0 / 1.275 GB, free: 5.312 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.7124, allocations: 4.938 kB / 1.275 GB, free: 5.309 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.7124, allocations: 4.938 kB / 1.275 GB, free: 5.305 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001472/0.7125, allocations: 54.19 kB / 1.275 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003862/0.7129, allocations: 323.7 kB / 1.275 GB, free: 4.984 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001263/0.713, allocations: 55.53 kB / 1.275 GB, free: 4.945 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.354e-05/0.7131, allocations: 29.08 kB / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.626e-05/0.7131, allocations: 1.031 kB / 1.275 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.685e-05/0.7131, allocations: 35.16 kB / 1.275 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 8.82e-07/0.7131, allocations: 0 / 1.275 GB, free: 4.887 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.000322/0.7135, allocations: 102 kB / 1.275 GB, free: 4.836 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.727e-05/0.7135, allocations: 79.17 kB / 1.275 GB, free: 4.742 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.065e-05/0.7136, allocations: 135.3 kB / 1.275 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.074e-05/0.7136, allocations: 26.61 kB / 1.275 GB, free: 4.594 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.714e-05/0.7136, allocations: 99.78 kB / 1.275 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.7136, allocations: 15.05 kB / 1.275 GB, free: 4.488 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.7137, allocations: 27.12 kB / 1.275 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.375e-05/0.7137, allocations: 324.4 kB / 1.276 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.77e-05/0.7138, allocations: 28.31 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.371e-05/0.7139, allocations: 37.39 kB / 1.276 GB, free: 4.105 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001262/0.714, allocations: 48.42 kB / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.714, allocations: 0 / 1.276 GB, free: 4.086 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000171/0.7142, allocations: 91.33 kB / 1.276 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.7142, allocations: 5.156 kB / 1.276 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.737e-06/0.7142, allocations: 0.875 kB / 1.276 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.7142, allocations: 0 / 1.276 GB, free: 4.035 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.573e-05/0.7143, allocations: 12.03 kB / 1.276 GB, free: 4.031 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.53e-06/0.7143, allocations: 4.828 kB / 1.276 GB, free: 4.027 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.91e-05/0.7144, allocations: 23.59 kB / 1.276 GB, free: 4.016 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.705e-06/0.7144, allocations: 1.281 kB / 1.276 GB, free: 4.016 MB / 0.9981 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 5.698e-05/0.7144, allocations: 114.6 kB / 1.276 GB, free: 3.898 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.87e-05/0.7145, allocations: 7.734 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.796e-05/0.7145, allocations: 12.17 kB / 1.276 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.7145, allocations: 0.7812 kB / 1.276 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.476e-06/0.7145, allocations: 0 / 1.276 GB, free: 3.879 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.068e-06/0.7145, allocations: 5.859 kB / 1.276 GB, free: 3.875 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001353/0.7146, allocations: 185.9 kB / 1.276 GB, free: 3.672 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.7146, allocations: 5.484 kB / 1.276 GB, free: 3.668 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.914e-05/0.7147, allocations: 13.86 kB / 1.276 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.7147, allocations: 0 / 1.276 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.127e-06/0.7147, allocations: 2.375 kB / 1.276 GB, free: 3.664 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/0.7147, allocations: 5.312 kB / 1.276 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.7147, allocations: 0 / 1.276 GB, free: 3.66 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001835/0.7149, allocations: 182.3 kB / 1.277 GB, free: 3.508 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.896e-05/0.7149, allocations: 87.64 kB / 1.277 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.962e-05/0.715, allocations: 2.391 kB / 1.277 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001007/0.7151, allocations: 9.734 kB / 1.277 GB, free: 3.406 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.256e-05/0.7151, allocations: 12.31 kB / 1.277 GB, free: 3.402 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.712e-06/0.7151, allocations: 6.188 kB / 1.277 GB, free: 3.398 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.201e-05/0.7151, allocations: 100.4 kB / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.7151, allocations: 0 / 1.277 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002093/0.7154, allocations: 11.31 kB / 1.277 GB, free: 3.316 MB / 0.9981 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.0003289/0.7157, allocations: 0.721 MB / 1.277 GB, free: 2.633 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.00019/0.7159, allocations: 50.67 kB / 1.278 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.7159, allocations: 0.6875 kB / 1.278 GB, free: 2.621 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.478e-05/0.7159, allocations: 28.48 kB / 1.278 GB, free: 2.613 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.7162, allocations: 15.61 kB / 1.278 GB, free: 2.605 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001236/0.7174, allocations: 1.443 MB / 1.279 GB, free: 17.32 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002839/0.7177, allocations: 0.6903 MB / 1.28 GB, free: 16.63 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.685e-05/0.7178, allocations: 6.781 kB / 1.28 GB, free: 16.62 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.065e-05/0.7178, allocations: 24.86 kB / 1.28 GB, free: 16.61 MB / 1.014 GB Notification: Performance of SimCode: time 6.61e-07/0.7178, allocations: 0 / 1.28 GB, free: 16.61 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02338/0.7412, allocations: 2.05 MB / 1.282 GB, free: 16.2 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.976/7.717, allocations: 13.41 kB / 1.282 GB, free: 16.19 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.csv --start-time 0 --stop-time 86400 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 Buildings_11_Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.fmu > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_ChillerSwitch.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.csv. Warning: Get data of variable chiSwi.TSet from file Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.csv failed! Error: Could not read variable chiSwi.chiCHWST in file Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.csv. Warning: Get data of variable chiSwi.chiCHWST from file Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.csv failed! Error: Could not read variable chiSwi.y in file Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.csv. Warning: Get data of variable chiSwi.y from file Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 13.048150490001717]