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.001214/0.001214, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.001009/0.001009, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.9052/0.9052, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.637/1.637, allocations: 359 MB / 0.6037 GB, free: 11.11 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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: Performance of FrontEnd - loaded program: time 2.104e-06/2.104e-06, allocations: 0 / 0.9505 GB, free: 3.512 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.025e-05/3.235e-05, allocations: 9.172 kB / 0.9505 GB, free: 3.504 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003548/0.00358, allocations: 1.687 MB / 0.9521 GB, free: 1.801 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0007516/0.004332, allocations: 0.4909 MB / 0.9526 GB, free: 1.305 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.583e-05/0.004397, allocations: 3.938 kB / 0.9526 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 3.122e-05/0.004429, allocations: 7.922 kB / 0.9526 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 7.328e-05/0.004502, allocations: 19.8 kB / 0.9526 GB, free: 1.273 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.000251/0.004753, allocations: 51.81 kB / 0.9527 GB, free: 1.223 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.004878, allocations: 87.64 kB / 0.9528 GB, free: 1.137 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001129/0.004991, allocations: 20.22 kB / 0.9528 GB, free: 1.113 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000147/0.005138, allocations: 55.83 kB / 0.9529 GB, free: 1.059 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.938e-05/0.005197, allocations: 27.91 kB / 0.9529 GB, free: 1.031 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.888e-05/0.005216, allocations: 8 kB / 0.9529 GB, free: 1.023 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.743e-05/0.005263, allocations: 16 kB / 0.9529 GB, free: 1.008 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.791e-05/0.005281, allocations: 15.91 kB / 0.9529 GB, free: 0.9922 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.701e-05/0.005308, allocations: 23.92 kB / 0.9529 GB, free: 0.9688 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001426/0.005451, allocations: 99.67 kB / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.005454, allocations: 0 / 0.953 GB, free: 0.8711 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.142e-06/0.005455, allocations: 3.938 kB / 0.953 GB, free: 0.8672 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.929e-06/0.00546, allocations: 0 / 0.953 GB, free: 0.8672 MB / 0.9011 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.000484/0.005944, allocations: 325.9 kB / 0.9534 GB, free: 0.5195 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.005982, allocations: 8.031 kB / 0.9534 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.153e-05/0.006014, allocations: 38.73 kB / 0.9534 GB, free: 476 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000134/0.006148, allocations: 24.88 kB / 0.9534 GB, free: 452 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001978/0.006345, allocations: 144.2 kB / 0.9536 GB, free: 284 kB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.006356, allocations: 4.375 kB / 0.9536 GB, free: 280 kB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.059e-05/0.006366, allocations: 4.375 kB / 0.9536 GB, free: 276 kB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002076/0.006574, allocations: 113.6 kB / 0.9537 GB, free: 144 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.673e-06/0.006581, allocations: 4.188 kB / 0.9537 GB, free: 140 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.3e-05/0.006594, allocations: 8.125 kB / 0.9537 GB, free: 132 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.969e-06/0.006599, allocations: 3.984 kB / 0.9537 GB, free: 128 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.608e-05/0.006695, allocations: 51.91 kB / 0.9537 GB, free: 76 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003661/0.007061, allocations: 275.9 kB / 0.954 GB, free: 15.76 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 9.925e-05/0.00716, allocations: 54.58 kB / 0.9541 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/0.007207, allocations: 28.94 kB / 0.9541 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.43e-05/0.007221, allocations: 0 / 0.9541 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.139e-05/0.007243, allocations: 38.56 kB / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 9.62e-07/0.007244, allocations: 0 / 0.9541 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.0002297/0.007474, allocations: 101.5 kB / 0.9542 GB, free: 15.52 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.829e-05/0.007512, allocations: 81.11 kB / 0.9543 GB, free: 15.42 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.894e-05/0.007591, allocations: 133.8 kB / 0.9544 GB, free: 15.28 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.302e-05/0.007604, allocations: 29.7 kB / 0.9544 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.676e-05/0.007651, allocations: 104 kB / 0.9545 GB, free: 15.14 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.007667, allocations: 15.94 kB / 0.9546 GB, free: 15.12 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.081e-05/0.007698, allocations: 17.72 kB / 0.9546 GB, free: 15.1 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.358e-05/0.007771, allocations: 322.8 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.804e-05/0.007819, allocations: 27.98 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.529e-05/0.007875, allocations: 59.41 kB / 0.955 GB, free: 14.68 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.044e-05/0.007955, allocations: 48.95 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.007957, allocations: 4 kB / 0.955 GB, free: 14.62 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001168/0.008074, allocations: 93.64 kB / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.286e-05/0.008086, allocations: 7.938 kB / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.008092, allocations: 0 / 0.9551 GB, free: 14.52 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.236e-05/0.008104, allocations: 7.938 kB / 0.9551 GB, free: 14.51 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.913e-05/0.008173, allocations: 7.984 kB / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.008178, allocations: 0 / 0.9551 GB, free: 14.5 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.07e-05/0.008219, allocations: 15.94 kB / 0.9551 GB, free: 14.48 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.008225, allocations: 0 / 0.9551 GB, free: 14.48 MB / 0.9167 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 6.688e-05/0.008292, allocations: 125.8 kB / 0.9553 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.509e-05/0.008307, allocations: 4 kB / 0.9553 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.427e-05/0.008331, allocations: 8.344 kB / 0.9553 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.008333, allocations: 0 / 0.9553 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.041e-06/0.008339, allocations: 4 kB / 0.9553 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.008342, allocations: 0 / 0.9553 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001286/0.00847, allocations: 156.6 kB / 0.9554 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.008472, allocations: 4 kB / 0.9554 GB, free: 14.13 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.173e-05/0.008503, allocations: 4 kB / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.008505, allocations: 0 / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.008515, allocations: 7.984 kB / 0.9554 GB, free: 14.12 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.008516, allocations: 4 kB / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008518, allocations: 0 / 0.9555 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001482/0.008666, allocations: 183.3 kB / 0.9556 GB, free: 13.92 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.074e-05/0.008676, allocations: 7.953 kB / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.587e-05/0.008692, allocations: 4 kB / 0.9556 GB, free: 13.91 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.238e-05/0.008745, allocations: 15.92 kB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.149e-05/0.008786, allocations: 3.984 kB / 0.9557 GB, free: 13.89 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-06/0.008791, allocations: 8.062 kB / 0.9557 GB, free: 13.88 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.43e-05/0.008835, allocations: 105.8 kB / 0.9558 GB, free: 13.78 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6.1e-08/0.008835, allocations: 4 kB / 0.9558 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001586/0.008994, allocations: 19.94 kB / 0.9558 GB, free: 13.75 MB / 0.9167 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.0003257/0.00932, allocations: 0.7164 MB / 0.9565 GB, free: 13.01 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001454/0.009465, allocations: 51.97 kB / 0.9565 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.009467, allocations: 0 / 0.9565 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 4.487e-05/0.009512, allocations: 31.97 kB / 0.9566 GB, free: 12.93 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001923/0.009704, allocations: 8.5 kB / 0.9566 GB, free: 12.92 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.01084, allocations: 1.451 MB / 0.958 GB, free: 11.39 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.117e-05/0.0109, allocations: 79.67 kB / 0.9581 GB, free: 11.29 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.664e-05/0.01093, allocations: 11.98 kB / 0.9581 GB, free: 11.27 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.989e-05/0.01098, allocations: 20.5 kB / 0.9581 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of SimCode: time 9.42e-07/0.01099, allocations: 0 / 0.9581 GB, free: 11.25 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01682/0.0278, allocations: 2.838 MB / 0.9609 GB, free: 8.582 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.886/6.913, allocations: 6.344 kB / 0.9609 GB, free: 8.582 MB / 0.9167 GB " [Timeout remaining time 293] (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/jenkins/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: 11.0267626773566]