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.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.001836/0.001836, allocations: 101.3 kB / 16.45 MB, free: 6.5 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.00236/0.00236, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.504/1.504, allocations: 230.6 MB / 252.8 MB, free: 8.973 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 2.913/2.913, allocations: 476.7 MB / 0.7672 GB, free: 5.227 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.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: 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.002022/0.002022, allocations: 68.19 kB / 1.112 GB, free: 1.555 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8399/0.842, allocations: 169.9 MB / 1.278 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002959/0.8449, allocations: 1.709 MB / 1.28 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0009563/0.8459, allocations: 0.5276 MB / 1.28 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.361e-05/0.8459, allocations: 4 kB / 1.28 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.296e-05/0.846, allocations: 3.938 kB / 1.28 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.617e-05/0.8461, allocations: 15.8 kB / 1.28 GB, free: 11.29 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002547/0.8463, allocations: 47.88 kB / 1.281 GB, free: 11.24 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001526/0.8465, allocations: 83.72 kB / 1.281 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.8466, allocations: 22.05 kB / 1.281 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001496/0.8468, allocations: 43.83 kB / 1.281 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.323e-05/0.8468, allocations: 43.78 kB / 1.281 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.8469, allocations: 8 kB / 1.281 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.687e-05/0.8469, allocations: 12 kB / 1.281 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.529e-05/0.8469, allocations: 19.91 kB / 1.281 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.535e-05/0.847, allocations: 39.8 kB / 1.281 GB, free: 10.97 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001686/0.8471, allocations: 87.62 kB / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.8471, allocations: 0 / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.193e-06/0.8471, allocations: 0 / 1.281 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.44e-06/0.8472, allocations: 3.938 kB / 1.281 GB, free: 10.88 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.000587/0.8477, allocations: 395.1 kB / 1.281 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.571e-05/0.8478, allocations: 11.97 kB / 1.281 GB, free: 10.44 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.611e-05/0.8478, allocations: 42.72 kB / 1.281 GB, free: 10.39 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.848, allocations: 28.83 kB / 1.281 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002562/0.8483, allocations: 192.2 kB / 1.281 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.676e-06/0.8483, allocations: 8.312 kB / 1.281 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.619e-05/0.8483, allocations: 4.375 kB / 1.282 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.8485, allocations: 99.44 kB / 1.282 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.023e-06/0.8485, allocations: 0 / 1.282 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.8486, allocations: 0 / 1.282 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.744e-06/0.8486, allocations: 4 kB / 1.282 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.8487, allocations: 47.95 kB / 1.282 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000485/0.8492, allocations: 336.7 kB / 1.282 GB, free: 9.582 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.8494, allocations: 46.56 kB / 1.282 GB, free: 9.527 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.415e-05/0.8494, allocations: 24.94 kB / 1.282 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.278e-05/0.8495, allocations: 0 / 1.282 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.862e-05/0.8495, allocations: 34.56 kB / 1.282 GB, free: 9.457 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.8495, allocations: 4 kB / 1.282 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0003422/0.8498, allocations: 101.6 kB / 1.282 GB, free: 9.348 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.8499, allocations: 81.11 kB / 1.282 GB, free: 9.25 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.85, allocations: 140 kB / 1.282 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.636e-05/0.85, allocations: 33.7 kB / 1.282 GB, free: 9.066 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.562e-05/0.8501, allocations: 100.1 kB / 1.283 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.8501, allocations: 11.84 kB / 1.283 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.471e-05/0.8502, allocations: 25.7 kB / 1.283 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.8503, allocations: 318.8 kB / 1.283 GB, free: 8.602 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.021e-05/0.8504, allocations: 23.98 kB / 1.283 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.351e-05/0.8505, allocations: 41.69 kB / 1.283 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001511/0.8506, allocations: 48.94 kB / 1.283 GB, free: 8.48 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.8506, allocations: 4 kB / 1.283 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002074/0.8508, allocations: 89.61 kB / 1.283 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.8508, allocations: 4 kB / 1.283 GB, free: 8.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.8509, allocations: 4 kB / 1.283 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.386e-05/0.8509, allocations: 0 / 1.283 GB, free: 8.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.814e-05/0.851, allocations: 7.984 kB / 1.283 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.851, allocations: 4 kB / 1.283 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.409e-05/0.8511, allocations: 15.92 kB / 1.283 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.045e-05/0.8511, allocations: 7.938 kB / 1.283 GB, free: 8.34 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: 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.537e-05/0.8512, allocations: 114.4 kB / 1.283 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.223e-05/0.8512, allocations: 11.89 kB / 1.283 GB, free: 8.207 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.311e-05/0.8512, allocations: 12.19 kB / 1.283 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.413e-06/0.8512, allocations: 0 / 1.283 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.878e-06/0.8512, allocations: 4 kB / 1.283 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.963e-06/0.8512, allocations: 7.922 kB / 1.283 GB, free: 8.176 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.8515, allocations: 181.6 kB / 1.283 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.8515, allocations: 4 kB / 1.283 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.367e-05/0.8515, allocations: 11.98 kB / 1.283 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.8515, allocations: 0 / 1.283 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.8515, allocations: 4 kB / 1.283 GB, free: 7.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.046e-06/0.8516, allocations: 3.984 kB / 1.283 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.8516, allocations: 0 / 1.283 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002545/0.8518, allocations: 183.6 kB / 1.284 GB, free: 7.73 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.462e-05/0.8519, allocations: 85.06 kB / 1.284 GB, free: 7.629 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.133e-05/0.8519, allocations: 4 kB / 1.284 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001117/0.852, allocations: 11.98 kB / 1.284 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.337e-05/0.852, allocations: 15.86 kB / 1.284 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.852, allocations: 8.062 kB / 1.284 GB, free: 7.59 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.346e-05/0.8521, allocations: 99.27 kB / 1.284 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.8521, allocations: 0 / 1.284 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002317/0.8524, allocations: 15.94 kB / 1.284 GB, free: 7.477 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: 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.0005672/0.8529, allocations: 0.7163 MB / 1.285 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002153/0.8531, allocations: 51.91 kB / 1.285 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.8531, allocations: 0 / 1.285 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 8.667e-05/0.8532, allocations: 27.98 kB / 1.285 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.0002487/0.8535, allocations: 17.17 kB / 1.285 GB, free: 6.641 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001657/0.8551, allocations: 1.463 MB / 1.286 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.8554, allocations: 0.6885 MB / 1.287 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.752e-05/0.8555, allocations: 8 kB / 1.287 GB, free: 4.375 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.076e-05/0.8555, allocations: 27.42 kB / 1.287 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of SimCode: time 2.81e-07/0.8555, allocations: 0 / 1.287 GB, free: 4.352 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.8796, allocations: 2.158 MB / 1.289 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.967/8.847, allocations: 5.312 kB / 1.289 GB, free: 2.344 MB / 0.9825 GB " [Timeout remaining time 291] (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: 15.235631159041077]