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.0008728/0.0008728, allocations: 80.44 kB / 19.17 MB, free: 0.7461 MB / 13.93 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.001026/0.001026, allocations: 165.9 kB / 22.46 MB, free: 2.109 MB / 18.57 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 0.9492/0.9492, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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 1.781/1.781, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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: Performance of FrontEnd - loaded program: time 3.587e-06/3.587e-06, allocations: 0 / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.082e-05/3.441e-05, allocations: 6.219 kB / 0.9997 GB, free: 13.48 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002755/0.002789, allocations: 1.688 MB / 1.001 GB, free: 11.79 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008887/0.003678, allocations: 494.7 kB / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.027e-05/0.003748, allocations: 0 / 1.002 GB, free: 11.3 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.672e-05/0.003785, allocations: 15.86 kB / 1.002 GB, free: 11.28 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 8.022e-05/0.003865, allocations: 15.8 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002767/0.004142, allocations: 47.83 kB / 1.002 GB, free: 11.22 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001467/0.004289, allocations: 91.69 kB / 1.002 GB, free: 11.13 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001181/0.004407, allocations: 16.22 kB / 1.002 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001699/0.004577, allocations: 55.89 kB / 1.002 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.604e-05/0.004643, allocations: 27.91 kB / 1.002 GB, free: 11.03 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.893e-05/0.004662, allocations: 8 kB / 1.002 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.978e-05/0.004701, allocations: 12 kB / 1.002 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.205e-05/0.004723, allocations: 23.91 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.842e-05/0.004752, allocations: 23.92 kB / 1.002 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001513/0.004903, allocations: 95.67 kB / 1.002 GB, free: 10.87 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.004907, allocations: 3.938 kB / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.433e-06/0.004908, allocations: 0 / 1.002 GB, free: 10.86 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.629e-06/0.004913, allocations: 0 / 1.002 GB, free: 10.86 MB / 0.9636 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.0004346/0.005347, allocations: 314 kB / 1.003 GB, free: 10.53 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.005395, allocations: 12.75 kB / 1.003 GB, free: 10.52 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.208e-05/0.005428, allocations: 34.73 kB / 1.003 GB, free: 10.47 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001477/0.005575, allocations: 36.83 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000223/0.005798, allocations: 143.9 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.005808, allocations: 4.375 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/0.00582, allocations: 8.375 kB / 1.003 GB, free: 10.26 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.005982, allocations: 117.6 kB / 1.003 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.005989, allocations: 4.125 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.21e-05/0.006002, allocations: 8.125 kB / 1.003 GB, free: 10.12 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.006007, allocations: 4 kB / 1.003 GB, free: 10.11 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.297e-05/0.0061, allocations: 43.97 kB / 1.003 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003596/0.00646, allocations: 291.7 kB / 1.003 GB, free: 9.742 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 9.946e-05/0.006559, allocations: 46.56 kB / 1.003 GB, free: 9.688 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.686e-05/0.006606, allocations: 28.94 kB / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.417e-05/0.00662, allocations: 0 / 1.003 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.00664, allocations: 34.56 kB / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 7.71e-07/0.00664, allocations: 0 / 1.003 GB, free: 9.613 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002317/0.006872, allocations: 109.6 kB / 1.003 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.679e-05/0.006909, allocations: 77.11 kB / 1.003 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.702e-05/0.006986, allocations: 133.8 kB / 1.004 GB, free: 9.266 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.235e-05/0.006998, allocations: 25.7 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.615e-05/0.007044, allocations: 104 kB / 1.004 GB, free: 9.129 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.518e-05/0.00706, allocations: 11.91 kB / 1.004 GB, free: 9.117 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.273e-05/0.007092, allocations: 21.72 kB / 1.004 GB, free: 9.09 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.166e-05/0.007164, allocations: 322.8 kB / 1.004 GB, free: 8.766 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.708e-05/0.007211, allocations: 23.98 kB / 1.004 GB, free: 8.742 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.607e-05/0.007267, allocations: 63.41 kB / 1.004 GB, free: 8.668 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.729e-05/0.007354, allocations: 52.77 kB / 1.004 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.007356, allocations: 0 / 1.004 GB, free: 8.613 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001204/0.007477, allocations: 89.61 kB / 1.004 GB, free: 8.52 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.342e-05/0.00749, allocations: 4.031 kB / 1.004 GB, free: 8.516 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.007495, allocations: 4 kB / 1.004 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.007506, allocations: 0 / 1.004 GB, free: 8.512 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.145e-05/0.007578, allocations: 11.98 kB / 1.004 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.007583, allocations: 0 / 1.004 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.936e-05/0.007622, allocations: 11.98 kB / 1.004 GB, free: 8.488 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.211e-06/0.007628, allocations: 0 / 1.004 GB, free: 8.488 MB / 0.9636 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.0001554/0.007783, allocations: 121.8 kB / 1.004 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.542e-05/0.007799, allocations: 7.953 kB / 1.004 GB, free: 8.352 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.592e-05/0.007825, allocations: 16.28 kB / 1.004 GB, free: 8.328 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.205e-06/0.007827, allocations: 4 kB / 1.004 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.007833, allocations: 192 / 1.004 GB, free: 8.324 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.152e-06/0.007839, allocations: 7.984 kB / 1.004 GB, free: 8.316 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001191/0.007958, allocations: 160.5 kB / 1.005 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.007959, allocations: 0 / 1.005 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.488e-05/0.007994, allocations: 11.98 kB / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-06/0.007997, allocations: 0 / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.008004, allocations: 0 / 1.005 GB, free: 8.105 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.008006, allocations: 4 kB / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.008007, allocations: 0 / 1.005 GB, free: 8.102 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.008152, allocations: 183.4 kB / 1.005 GB, free: 7.906 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.019e-05/0.008162, allocations: 4.188 kB / 1.005 GB, free: 7.902 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.008177, allocations: 4 kB / 1.005 GB, free: 7.898 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.19e-05/0.008229, allocations: 11.92 kB / 1.005 GB, free: 7.887 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.169e-05/0.00828, allocations: 15.97 kB / 1.005 GB, free: 7.871 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.008285, allocations: 7.938 kB / 1.005 GB, free: 7.863 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.328e-05/0.008328, allocations: 105 kB / 1.005 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.008328, allocations: 0 / 1.005 GB, free: 7.762 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.000148/0.008476, allocations: 12 kB / 1.005 GB, free: 7.75 MB / 0.9636 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.0003228/0.008799, allocations: 0.7124 MB / 1.006 GB, free: 7.012 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.000142/0.008941, allocations: 55.89 kB / 1.006 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.492e-06/0.008943, allocations: 0 / 1.006 GB, free: 6.957 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 4.325e-05/0.008986, allocations: 27.98 kB / 1.006 GB, free: 6.93 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000196/0.009182, allocations: 6.25 kB / 1.006 GB, free: 6.926 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.01024, allocations: 1.467 MB / 1.007 GB, free: 5.375 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.239e-05/0.01029, allocations: 79.75 kB / 1.007 GB, free: 5.273 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.555e-05/0.01032, allocations: 3.984 kB / 1.007 GB, free: 5.27 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.106e-05/0.01038, allocations: 32.48 kB / 1.007 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of SimCode: time 7.82e-07/0.01038, allocations: 0 / 1.007 GB, free: 5.234 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.02746, allocations: 2.824 MB / 1.01 GB, free: 2.57 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.878/6.905, allocations: 10.38 kB / 1.01 GB, free: 2.566 MB / 0.9636 GB " [Timeout remaining time 293] (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/jenkins/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: 11.200100389309227]