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.002347/0.002347, allocations: 105.5 kB / 16.45 MB, free: 6.508 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.002334/0.002334, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.473/1.473, allocations: 230.6 MB / 252.8 MB, free: 9.113 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.274/3.274, allocations: 0.505 GB / 0.8066 GB, free: 23.04 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.002978/0.002978, allocations: 73.06 kB / 1.172 GB, free: 17.54 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3767/0.3796, allocations: 180.2 MB / 1.348 GB, free: 10 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003131/0.3828, allocations: 1.698 MB / 1.349 GB, free: 8.289 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0009832/0.3837, allocations: 0.5304 MB / 1.35 GB, free: 7.754 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.818e-05/0.3838, allocations: 0 / 1.35 GB, free: 7.754 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 3.633e-05/0.3839, allocations: 7.875 kB / 1.35 GB, free: 7.746 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 9.52e-05/0.3839, allocations: 19.8 kB / 1.35 GB, free: 7.727 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002426/0.3842, allocations: 47.94 kB / 1.35 GB, free: 7.68 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.3843, allocations: 91.64 kB / 1.35 GB, free: 7.59 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001204/0.3845, allocations: 28.38 kB / 1.35 GB, free: 7.559 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001418/0.3846, allocations: 35.92 kB / 1.35 GB, free: 7.523 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 9.115e-05/0.3847, allocations: 43.7 kB / 1.35 GB, free: 7.48 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.121e-05/0.3847, allocations: 8 kB / 1.35 GB, free: 7.473 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 5.113e-05/0.3848, allocations: 15.98 kB / 1.35 GB, free: 7.457 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.346e-05/0.3848, allocations: 15.94 kB / 1.35 GB, free: 7.441 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.409e-05/0.3848, allocations: 35.8 kB / 1.35 GB, free: 7.406 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001782/0.385, allocations: 79.69 kB / 1.35 GB, free: 7.328 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.791e-06/0.385, allocations: 12 kB / 1.35 GB, free: 7.316 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.373e-06/0.385, allocations: 0 / 1.35 GB, free: 7.316 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.883e-06/0.385, allocations: 0 / 1.35 GB, free: 7.316 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006022/0.3856, allocations: 395 kB / 1.351 GB, free: 6.883 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.241e-05/0.3857, allocations: 15.92 kB / 1.351 GB, free: 6.867 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.387e-05/0.3857, allocations: 38.75 kB / 1.351 GB, free: 6.82 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002268/0.3859, allocations: 28.86 kB / 1.351 GB, free: 6.793 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002703/0.3862, allocations: 208 kB / 1.351 GB, free: 6.551 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.3862, allocations: 8.375 kB / 1.351 GB, free: 6.543 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.3862, allocations: 384 / 1.351 GB, free: 6.543 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002155/0.3865, allocations: 91.5 kB / 1.351 GB, free: 6.441 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.3865, allocations: 4 kB / 1.351 GB, free: 6.438 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.137e-05/0.3865, allocations: 0 / 1.351 GB, free: 6.438 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.3865, allocations: 0 / 1.351 GB, free: 6.438 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.3867, allocations: 55.91 kB / 1.351 GB, free: 6.383 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005001/0.3872, allocations: 320.7 kB / 1.351 GB, free: 6.02 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001503/0.3873, allocations: 54.58 kB / 1.352 GB, free: 5.957 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.618e-05/0.3874, allocations: 28.94 kB / 1.352 GB, free: 5.926 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.3874, allocations: 0 / 1.352 GB, free: 5.926 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.149e-05/0.3874, allocations: 38.56 kB / 1.352 GB, free: 5.879 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 8.62e-07/0.3874, allocations: 0 / 1.352 GB, free: 5.879 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0003674/0.3878, allocations: 93.61 kB / 1.352 GB, free: 5.781 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.186e-05/0.3879, allocations: 81.09 kB / 1.352 GB, free: 5.684 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001375/0.388, allocations: 148 kB / 1.352 GB, free: 5.531 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.265e-05/0.388, allocations: 29.7 kB / 1.352 GB, free: 5.496 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.079e-05/0.3881, allocations: 96.08 kB / 1.352 GB, free: 5.398 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.3881, allocations: 15.83 kB / 1.352 GB, free: 5.383 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.371e-05/0.3882, allocations: 21.72 kB / 1.352 GB, free: 5.355 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001564/0.3883, allocations: 318.8 kB / 1.352 GB, free: 5.035 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.292e-05/0.3884, allocations: 19.98 kB / 1.352 GB, free: 5.016 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.182e-05/0.3885, allocations: 41.7 kB / 1.352 GB, free: 4.969 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001465/0.3887, allocations: 52.95 kB / 1.352 GB, free: 4.914 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3887, allocations: 0 / 1.352 GB, free: 4.914 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002008/0.3889, allocations: 85.62 kB / 1.353 GB, free: 4.824 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.3889, allocations: 7.984 kB / 1.353 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.3889, allocations: 3.938 kB / 1.353 GB, free: 4.812 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3889, allocations: 0 / 1.353 GB, free: 4.812 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001064/0.389, allocations: 16.03 kB / 1.353 GB, free: 4.797 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.389, allocations: 0 / 1.353 GB, free: 4.797 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.419e-05/0.3891, allocations: 15.92 kB / 1.353 GB, free: 4.781 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.3891, allocations: 3.938 kB / 1.353 GB, free: 4.777 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: 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 9.802e-05/0.3892, allocations: 117.8 kB / 1.353 GB, free: 4.652 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.279e-05/0.3892, allocations: 8.141 kB / 1.353 GB, free: 4.645 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.953e-05/0.3893, allocations: 16.23 kB / 1.353 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.3893, allocations: 0 / 1.353 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3893, allocations: 4 kB / 1.353 GB, free: 4.617 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.3893, allocations: 3.938 kB / 1.353 GB, free: 4.613 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002208/0.3895, allocations: 201.5 kB / 1.353 GB, free: 4.367 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.3895, allocations: 0 / 1.353 GB, free: 4.367 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.13e-05/0.3896, allocations: 11.98 kB / 1.353 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.422e-06/0.3896, allocations: 0 / 1.353 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.047e-06/0.3896, allocations: 0 / 1.353 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.3896, allocations: 0 / 1.353 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.3896, allocations: 0 / 1.353 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002537/0.3898, allocations: 183.4 kB / 1.353 GB, free: 4.16 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 5.256e-05/0.3899, allocations: 85.06 kB / 1.353 GB, free: 4.059 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.29e-05/0.3899, allocations: 3.984 kB / 1.353 GB, free: 4.055 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001073/0.39, allocations: 12 kB / 1.353 GB, free: 4.043 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.356e-05/0.3901, allocations: 11.92 kB / 1.353 GB, free: 4.031 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.3901, allocations: 3.984 kB / 1.353 GB, free: 4.027 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.184e-05/0.3902, allocations: 101 kB / 1.353 GB, free: 3.93 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3902, allocations: 8 kB / 1.353 GB, free: 3.922 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002236/0.3904, allocations: 11.95 kB / 1.353 GB, free: 3.91 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: 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.0005704/0.391, allocations: 0.7163 MB / 1.354 GB, free: 3.168 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002211/0.3912, allocations: 60.02 kB / 1.354 GB, free: 3.109 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 4.568e-06/0.3912, allocations: 4 kB / 1.354 GB, free: 3.105 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.452e-05/0.3913, allocations: 23.92 kB / 1.354 GB, free: 3.082 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.3915, allocations: 11.94 kB / 1.354 GB, free: 3.07 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001684/0.3932, allocations: 1.453 MB / 1.356 GB, free: 1.535 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.3935, allocations: 0.6924 MB / 1.356 GB, free: 0.8164 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 4.204e-05/0.3936, allocations: 7.984 kB / 1.356 GB, free: 0.8086 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.837e-05/0.3937, allocations: 27.42 kB / 1.356 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of SimCode: time 2.91e-07/0.3937, allocations: 0 / 1.356 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02519/0.4188, allocations: 2.147 MB / 1.358 GB, free: 14.79 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.1/8.519, allocations: 8 kB / 1.358 GB, free: 14.78 MB / 1.061 GB " [Timeout remaining time 291] (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: 15.534404616104439]