Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.001271/0.001271, allocations: 80.88 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001374/0.001374, allocations: 181 kB / 23.36 MB, free: 1.133 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.9096/0.9096, allocations: 177.2 MB / 203.8 MB, free: 5.477 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 2.352/2.352, allocations: 438.8 MB / 0.6827 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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: translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiSwi.TSet|chiSwi.chiCHWST|chiSwi.y",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.11e-05/1.253e-05, allocations: 6.312 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch): time 0.001899/0.001912, allocations: 1.749 MB / 0.8403 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0006054/0.002517, allocations: 0.5025 MB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.225e-05/0.00257, allocations: 3.938 kB / 0.8408 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 2.519e-05/0.002595, allocations: 11.92 kB / 0.8408 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.868e-05/0.002663, allocations: 15.8 kB / 0.8408 GB, free: 11.9 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001738/0.002837, allocations: 43.89 kB / 0.8409 GB, free: 11.86 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001092/0.002947, allocations: 91.64 kB / 0.841 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 7.324e-05/0.00302, allocations: 20.16 kB / 0.841 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001169/0.003137, allocations: 63.81 kB / 0.841 GB, free: 11.68 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.492e-05/0.003192, allocations: 31.91 kB / 0.8411 GB, free: 11.65 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.535e-05/0.003207, allocations: 8 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.366e-05/0.003241, allocations: 8 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.808e-05/0.003259, allocations: 23.91 kB / 0.8411 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.395e-05/0.003283, allocations: 23.92 kB / 0.8411 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 9.963e-05/0.003382, allocations: 59.75 kB / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.944e-06/0.003384, allocations: 0 / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of FrontEnd: time 8.31e-07/0.003385, allocations: 0 / 0.8412 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.785e-06/0.003388, allocations: 0 / 0.8412 GB, free: 11.53 MB / 0.8073 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.0003026/0.00369, allocations: 300.5 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.788e-05/0.003718, allocations: 8.625 kB / 0.8415 GB, free: 11.21 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001154/0.003834, allocations: 28.91 kB / 0.8415 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.003947, allocations: 139.9 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.043e-06/0.003954, allocations: 384 / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.003964, allocations: 4.375 kB / 0.8416 GB, free: 11.02 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001122/0.004077, allocations: 110.3 kB / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.641e-06/0.004082, allocations: 192 / 0.8418 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.004091, allocations: 12.38 kB / 0.8418 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.004097, allocations: 3.938 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.959e-05/0.004127, allocations: 15.92 kB / 0.8418 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000237/0.004364, allocations: 180.2 kB / 0.842 GB, free: 10.66 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.864e-05/0.004422, allocations: 30.59 kB / 0.842 GB, free: 10.62 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.67e-05/0.004439, allocations: 8.859 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.398e-05/0.004453, allocations: 7.938 kB / 0.842 GB, free: 10.61 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.004471, allocations: 30.56 kB / 0.842 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 1.012e-06/0.004472, allocations: 4 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001121/0.004585, allocations: 57.7 kB / 0.8421 GB, free: 10.5 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.013e-05/0.004615, allocations: 77.11 kB / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.823e-05/0.004683, allocations: 138.5 kB / 0.8423 GB, free: 10.26 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.764e-05/0.004701, allocations: 29.69 kB / 0.8423 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.392e-05/0.004735, allocations: 92.14 kB / 0.8424 GB, free: 10.13 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.762e-05/0.004752, allocations: 19.81 kB / 0.8424 GB, free: 10.11 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.004779, allocations: 17.72 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.189e-05/0.00485, allocations: 322.8 kB / 0.8428 GB, free: 9.762 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.294e-05/0.004863, allocations: 8 kB / 0.8428 GB, free: 9.754 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.761e-05/0.004891, allocations: 43.36 kB / 0.8428 GB, free: 9.699 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.969e-05/0.004921, allocations: 24.88 kB / 0.8428 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.004922, allocations: 0 / 0.8428 GB, free: 9.672 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 5.109e-05/0.004974, allocations: 49.56 kB / 0.8429 GB, free: 9.617 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.1e-05/0.004985, allocations: 9.875 kB / 0.8429 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.004988, allocations: 3.984 kB / 0.8429 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.005, allocations: 0 / 0.8429 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.436e-05/0.005054, allocations: 4 kB / 0.8429 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.736e-06/0.005057, allocations: 4 kB / 0.8429 GB, free: 9.598 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.797e-05/0.005085, allocations: 11.98 kB / 0.8429 GB, free: 9.586 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.927e-06/0.005089, allocations: 0 / 0.8429 GB, free: 9.586 MB / 0.8073 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 4.958e-05/0.005139, allocations: 117.8 kB / 0.843 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.005154, allocations: 7.938 kB / 0.843 GB, free: 9.453 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.328e-05/0.005177, allocations: 12.33 kB / 0.843 GB, free: 9.438 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.005181, allocations: 4 kB / 0.843 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.383e-06/0.005182, allocations: 0 / 0.843 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.005184, allocations: 0 / 0.843 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.273e-05/0.005267, allocations: 85.83 kB / 0.8431 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.005268, allocations: 0 / 0.8431 GB, free: 9.332 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.055e-05/0.005288, allocations: 7.984 kB / 0.8431 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.00529, allocations: 7.938 kB / 0.8431 GB, free: 9.316 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.903e-06/0.005297, allocations: 8.125 kB / 0.8431 GB, free: 9.309 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.005298, allocations: 4 kB / 0.8431 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.005299, allocations: 0 / 0.8431 GB, free: 9.305 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.9e-05/0.005368, allocations: 139.5 kB / 0.8433 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 6.191e-06/0.005374, allocations: 0 / 0.8433 GB, free: 9.152 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.666e-05/0.005391, allocations: 11.94 kB / 0.8433 GB, free: 9.141 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.889e-05/0.00543, allocations: 7.984 kB / 0.8433 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.884e-05/0.005459, allocations: 7.984 kB / 0.8433 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.005461, allocations: 0 / 0.8433 GB, free: 9.125 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.992e-05/0.005481, allocations: 28.83 kB / 0.8433 GB, free: 9.094 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.005481, allocations: 4 kB / 0.8433 GB, free: 9.09 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001172/0.005598, allocations: 19.89 kB / 0.8434 GB, free: 9.07 MB / 0.8073 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 6.223e-05/0.00566, allocations: 80.41 kB / 0.8434 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 6.179e-05/0.005722, allocations: 24.8 kB / 0.8435 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.005725, allocations: 4 kB / 0.8435 GB, free: 8.953 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.956e-05/0.005744, allocations: 16.78 kB / 0.8435 GB, free: 8.934 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001061/0.00585, allocations: 4 kB / 0.8435 GB, free: 8.93 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005837/0.006434, allocations: 199.5 kB / 0.8437 GB, free: 8.711 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.059e-05/0.006465, allocations: 59.34 kB / 0.8437 GB, free: 8.633 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.579e-05/0.00649, allocations: 8.312 kB / 0.8437 GB, free: 8.625 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.057e-05/0.006541, allocations: 59.36 kB / 0.8438 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of SimCode: time 5.41e-07/0.006542, allocations: 0 / 0.8438 GB, free: 8.566 MB / 0.8073 GB Notification: Performance of Templates: time 0.002219/0.008761, allocations: 0.9617 MB / 0.8447 GB, free: 7.656 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_ChillerSwitch.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.018132806289941]