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.0009982/0.0009982, allocations: 80.75 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.001753/0.001753, 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.9508/0.9508, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.449/2.449, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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.763e-06/1.763e-06, allocations: 0 / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.67e-05/2.846e-05, allocations: 4.141 kB / 0.8386 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch): time 0.003439/0.003468, allocations: 1.788 MB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.000868/0.004336, allocations: 0.5142 MB / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.699e-05/0.004403, allocations: 0 / 0.8409 GB, free: 11.79 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 3.729e-05/0.00444, allocations: 11.86 kB / 0.8409 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 9.159e-05/0.004532, allocations: 19.81 kB / 0.8409 GB, free: 11.76 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002179/0.004749, allocations: 51.81 kB / 0.841 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.004893, allocations: 83.66 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.004998, allocations: 24.2 kB / 0.8411 GB, free: 11.6 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001575/0.005155, allocations: 55.88 kB / 0.8411 GB, free: 11.54 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 6.831e-05/0.005224, allocations: 19.97 kB / 0.8411 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.003e-05/0.005244, allocations: 8 kB / 0.8412 GB, free: 11.52 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.931e-05/0.005303, allocations: 19.94 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 2.005e-05/0.005323, allocations: 15.98 kB / 0.8412 GB, free: 11.48 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 3.349e-05/0.005356, allocations: 23.91 kB / 0.8412 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.00549, allocations: 71.69 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.005493, allocations: 0 / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.062e-06/0.005494, allocations: 0 / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.928e-06/0.005498, allocations: 0 / 0.8413 GB, free: 11.39 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.0003895/0.005887, allocations: 292.6 kB / 0.8416 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.005927, allocations: 8.625 kB / 0.8416 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001831/0.00611, allocations: 28.91 kB / 0.8416 GB, free: 11.04 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.00628, allocations: 141.5 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.006294, allocations: 8.375 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.226e-05/0.006306, allocations: 4.375 kB / 0.8417 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001602/0.006466, allocations: 110.3 kB / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.006474, allocations: 192 / 0.8418 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.106e-05/0.006485, allocations: 4.375 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.006493, allocations: 3.938 kB / 0.8419 GB, free: 10.73 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.953e-05/0.006533, allocations: 11.98 kB / 0.8419 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003091/0.006842, allocations: 188.2 kB / 0.842 GB, free: 10.52 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 7.126e-05/0.006913, allocations: 34.56 kB / 0.8421 GB, free: 10.48 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.577e-05/0.006939, allocations: 8.859 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.573e-05/0.006955, allocations: 7.969 kB / 0.8421 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.609e-05/0.006981, allocations: 34.56 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.006982, allocations: 0 / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=4): time 0.0001373/0.007119, allocations: 41.78 kB / 0.8422 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.131e-05/0.00716, allocations: 81.11 kB / 0.8422 GB, free: 10.27 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.157e-05/0.007252, allocations: 142.5 kB / 0.8424 GB, free: 10.12 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.11e-05/0.007273, allocations: 25.7 kB / 0.8424 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.917e-05/0.007322, allocations: 96.06 kB / 0.8425 GB, free: 9.988 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.327e-05/0.007345, allocations: 19.89 kB / 0.8425 GB, free: 9.969 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.994e-05/0.007385, allocations: 17.7 kB / 0.8425 GB, free: 9.945 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.875e-05/0.007484, allocations: 322.8 kB / 0.8428 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.644e-05/0.0075, allocations: 0 / 0.8428 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.043e-05/0.007541, allocations: 51.36 kB / 0.8429 GB, free: 9.559 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.867e-05/0.00759, allocations: 16.84 kB / 0.8429 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.007592, allocations: 0 / 0.8429 GB, free: 9.539 MB / 0.8073 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.172e-05/0.007673, allocations: 49.62 kB / 0.843 GB, free: 9.484 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.428e-05/0.007688, allocations: 9.859 kB / 0.843 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.007692, allocations: 0 / 0.843 GB, free: 9.477 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.454e-05/0.007706, allocations: 8.031 kB / 0.843 GB, free: 9.469 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.15e-05/0.007778, allocations: 7.938 kB / 0.843 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.555e-06/0.00778, allocations: 0 / 0.843 GB, free: 9.461 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.24e-05/0.007823, allocations: 11.98 kB / 0.843 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.533e-06/0.007829, allocations: 0 / 0.843 GB, free: 9.449 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 6.875e-05/0.007898, allocations: 114 kB / 0.8431 GB, free: 9.328 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.007925, allocations: 7.922 kB / 0.8431 GB, free: 9.32 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.688e-05/0.007952, allocations: 20.28 kB / 0.8431 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.954e-06/0.007954, allocations: 0 / 0.8431 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.523e-06/0.007955, allocations: 4 kB / 0.8431 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.344e-06/0.007958, allocations: 0 / 0.8431 GB, free: 9.297 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001384/0.008096, allocations: 93.81 kB / 0.8432 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.008097, allocations: 0 / 0.8432 GB, free: 9.188 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.053e-05/0.008137, allocations: 7.984 kB / 0.8432 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.00814, allocations: 0 / 0.8432 GB, free: 9.18 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.917e-06/0.008149, allocations: 4.125 kB / 0.8432 GB, free: 9.176 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.008151, allocations: 4 kB / 0.8432 GB, free: 9.172 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.008154, allocations: 3.984 kB / 0.8432 GB, free: 9.168 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.008269, allocations: 143.5 kB / 0.8434 GB, free: 9.012 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.072e-05/0.00828, allocations: 4 kB / 0.8434 GB, free: 9.008 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.148e-05/0.008301, allocations: 7.938 kB / 0.8434 GB, free: 9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.982e-05/0.008381, allocations: 15.98 kB / 0.8434 GB, free: 8.984 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.976e-05/0.008421, allocations: 3.984 kB / 0.8434 GB, free: 8.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.622e-06/0.008427, allocations: 4 kB / 0.8434 GB, free: 8.977 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.996e-05/0.008457, allocations: 24.83 kB / 0.8434 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.008457, allocations: 0 / 0.8434 GB, free: 8.949 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002385/0.008696, allocations: 19.89 kB / 0.8435 GB, free: 8.93 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 0.0001039/0.0088, allocations: 84.41 kB / 0.8435 GB, free: 8.84 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.558e-05/0.008895, allocations: 24.78 kB / 0.8436 GB, free: 8.812 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.008898, allocations: 4 kB / 0.8436 GB, free: 8.809 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.953e-05/0.008927, allocations: 12.86 kB / 0.8436 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002021/0.00913, allocations: 8.609 kB / 0.8436 GB, free: 8.785 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005768/0.009706, allocations: 183.4 kB / 0.8438 GB, free: 8.582 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.388e-05/0.00975, allocations: 63.34 kB / 0.8438 GB, free: 8.5 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.919e-05/0.009789, allocations: 4 kB / 0.8438 GB, free: 8.496 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.704e-05/0.009866, allocations: 63.36 kB / 0.8439 GB, free: 8.434 MB / 0.8073 GB Notification: Performance of SimCode: time 6.01e-07/0.009867, allocations: 7.938 kB / 0.8439 GB, free: 8.426 MB / 0.8073 GB Notification: Performance of Templates: time 0.003247/0.01311, allocations: 0.9581 MB / 0.8448 GB, free: 7.523 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 -s gbode -gbm=radauIIA3 -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.278640022035688]