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.001512/0.001512, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001628/0.001628, allocations: 216 kB / 22.25 MB, free: 5.125 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.486/1.486, allocations: 230.6 MB / 256 MB, free: 7.98 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.283/3.283, allocations: 0.505 GB / 0.8101 GB, free: 22.05 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.001998/0.001998, allocations: 62.91 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3619/0.3639, allocations: 180.2 MB / 1.353 GB, free: 8.465 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.0031/0.367, allocations: 1.718 MB / 1.355 GB, free: 6.734 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001006/0.368, allocations: 0.5266 MB / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.015e-05/0.368, allocations: 0 / 1.355 GB, free: 6.203 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 4.288e-05/0.3681, allocations: 11.86 kB / 1.355 GB, free: 6.191 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 8.326e-05/0.3682, allocations: 11.88 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002488/0.3684, allocations: 55.88 kB / 1.355 GB, free: 6.125 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001667/0.3686, allocations: 87.64 kB / 1.355 GB, free: 6.039 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001237/0.3687, allocations: 24.45 kB / 1.355 GB, free: 6.012 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000156/0.3689, allocations: 39.89 kB / 1.355 GB, free: 5.973 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.369, allocations: 43.78 kB / 1.355 GB, free: 5.93 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.088e-05/0.369, allocations: 8 kB / 1.355 GB, free: 5.922 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.617e-05/0.369, allocations: 8 kB / 1.355 GB, free: 5.914 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.968e-05/0.3691, allocations: 15.92 kB / 1.355 GB, free: 5.898 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.69e-05/0.3691, allocations: 35.81 kB / 1.355 GB, free: 5.863 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001616/0.3693, allocations: 87.62 kB / 1.355 GB, free: 5.777 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.3693, allocations: 4 kB / 1.355 GB, free: 5.773 MB / 1.045 GB Notification: Performance of FrontEnd: time 3.517e-06/0.3693, allocations: 3.984 kB / 1.355 GB, free: 5.77 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.3693, allocations: 0 / 1.355 GB, free: 5.77 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.0005421/0.3698, allocations: 333.8 kB / 1.356 GB, free: 5.414 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.75e-05/0.3699, allocations: 8.031 kB / 1.356 GB, free: 5.406 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.244e-05/0.3699, allocations: 34.73 kB / 1.356 GB, free: 5.363 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002079/0.3701, allocations: 28.88 kB / 1.356 GB, free: 5.336 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002305/0.3703, allocations: 143.8 kB / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.228e-06/0.3703, allocations: 384 / 1.356 GB, free: 5.172 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.568e-05/0.3704, allocations: 8.375 kB / 1.356 GB, free: 5.164 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.3706, allocations: 99.41 kB / 1.356 GB, free: 5.055 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.3706, allocations: 0 / 1.356 GB, free: 5.055 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.96e-05/0.3706, allocations: 8 kB / 1.356 GB, free: 5.047 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.008e-06/0.3706, allocations: 0 / 1.356 GB, free: 5.047 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001527/0.3708, allocations: 47.97 kB / 1.356 GB, free: 5 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004838/0.3712, allocations: 295.8 kB / 1.356 GB, free: 4.668 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001419/0.3714, allocations: 50.56 kB / 1.356 GB, free: 4.609 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.95e-05/0.3715, allocations: 28.94 kB / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.007e-05/0.3715, allocations: 0 / 1.357 GB, free: 4.578 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.192e-05/0.3715, allocations: 34.59 kB / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.3715, allocations: 0 / 1.357 GB, free: 4.535 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0003564/0.3719, allocations: 105.6 kB / 1.357 GB, free: 4.426 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.248e-05/0.372, allocations: 77.11 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001225/0.3721, allocations: 143.8 kB / 1.357 GB, free: 4.184 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.3721, allocations: 25.7 kB / 1.357 GB, free: 4.152 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.667e-05/0.3722, allocations: 104 kB / 1.357 GB, free: 4.047 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.3722, allocations: 11.91 kB / 1.357 GB, free: 4.035 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.594e-05/0.3723, allocations: 21.7 kB / 1.357 GB, free: 4.008 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001665/0.3724, allocations: 318.8 kB / 1.357 GB, free: 3.688 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.723e-05/0.3725, allocations: 19.98 kB / 1.357 GB, free: 3.668 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.47e-05/0.3726, allocations: 49.62 kB / 1.357 GB, free: 3.613 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001344/0.3727, allocations: 44.84 kB / 1.357 GB, free: 3.566 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.3727, allocations: 0 / 1.357 GB, free: 3.566 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001928/0.3729, allocations: 85.8 kB / 1.358 GB, free: 3.477 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.3729, allocations: 8 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.3729, allocations: 4 kB / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.165e-05/0.373, allocations: 0 / 1.358 GB, free: 3.465 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001014/0.3731, allocations: 16.02 kB / 1.358 GB, free: 3.449 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.3731, allocations: 7.875 kB / 1.358 GB, free: 3.441 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.77e-05/0.3731, allocations: 15.92 kB / 1.358 GB, free: 3.426 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.275e-06/0.3731, allocations: 7.938 kB / 1.358 GB, free: 3.418 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.762e-05/0.3732, allocations: 121.7 kB / 1.358 GB, free: 3.289 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.041e-05/0.3733, allocations: 7.953 kB / 1.358 GB, free: 3.281 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.3733, allocations: 8.344 kB / 1.358 GB, free: 3.27 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3733, allocations: 7.984 kB / 1.358 GB, free: 3.262 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.988e-06/0.3733, allocations: 4 kB / 1.358 GB, free: 3.258 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.3733, allocations: 3.938 kB / 1.358 GB, free: 3.254 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.3735, allocations: 164.6 kB / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.3735, allocations: 0 / 1.358 GB, free: 3.051 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.13e-05/0.3736, allocations: 12 kB / 1.358 GB, free: 3.039 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.3736, allocations: 0 / 1.358 GB, free: 3.039 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.3736, allocations: 3.984 kB / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.3736, allocations: 0 / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.3736, allocations: 0 / 1.358 GB, free: 3.035 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.3738, allocations: 183.4 kB / 1.358 GB, free: 2.84 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.508e-05/0.3739, allocations: 8.188 kB / 1.358 GB, free: 2.832 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.95e-05/0.3739, allocations: 0 / 1.358 GB, free: 2.832 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001067/0.374, allocations: 11.98 kB / 1.358 GB, free: 2.82 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.966e-05/0.374, allocations: 15.91 kB / 1.358 GB, free: 2.805 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.999e-06/0.374, allocations: 4 kB / 1.358 GB, free: 2.801 MB / 1.045 GB Notification: Performance of sorting global known variables: time 7.587e-05/0.3741, allocations: 109 kB / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of sort global known variables: time 1e-07/0.3741, allocations: 0 / 1.358 GB, free: 2.695 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002269/0.3743, allocations: 15.95 kB / 1.358 GB, free: 2.68 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.0005387/0.3749, allocations: 0.7103 MB / 1.359 GB, free: 1.945 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.000207/0.3751, allocations: 55.91 kB / 1.359 GB, free: 1.891 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3751, allocations: 0 / 1.359 GB, free: 1.891 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 9.922e-05/0.3752, allocations: 27.97 kB / 1.359 GB, free: 1.863 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002539/0.3754, allocations: 11.94 kB / 1.359 GB, free: 1.852 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001681/0.3771, allocations: 1.444 MB / 1.36 GB, free: 332 kB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.3775, allocations: 0.6963 MB / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.958e-05/0.3775, allocations: 0 / 1.361 GB, free: 15.6 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.457e-05/0.3776, allocations: 23.42 kB / 1.361 GB, free: 15.58 MB / 1.061 GB Notification: Performance of SimCode: time 5.41e-07/0.3776, allocations: 3.938 kB / 1.361 GB, free: 15.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02881/0.4064, allocations: 2.245 MB / 1.363 GB, free: 13.47 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.9, allocations: 6.828 kB / 1.363 GB, free: 13.46 MB / 1.061 GB " [Timeout remaining time 289] (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: 17.878278066000348]