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.001424/0.001424, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001571/0.001571, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9881/0.9881, allocations: 177.1 MB / 204.5 MB, free: 5.5 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.1/2.1, allocations: 429.5 MB / 0.6743 GB, free: 3.906 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.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: 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.222e-06/1.222e-06, allocations: 0 / 0.8794 GB, free: 5.98 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.465e-05/1.587e-05, allocations: 5.797 kB / 0.8794 GB, free: 5.977 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.ChillerSwitch): time 0.002082/0.002098, allocations: 1.758 MB / 0.8811 GB, free: 4.234 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.000666/0.002764, allocations: 0.4991 MB / 0.8816 GB, free: 3.73 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.373e-05/0.002828, allocations: 3.938 kB / 0.8816 GB, free: 3.727 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 2.865e-05/0.002857, allocations: 7.875 kB / 0.8816 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 7.947e-05/0.002936, allocations: 17.31 kB / 0.8816 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002045/0.003141, allocations: 43.88 kB / 0.8817 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.00326, allocations: 91.66 kB / 0.8818 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.659e-05/0.003356, allocations: 21.19 kB / 0.8818 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001426/0.003499, allocations: 67.81 kB / 0.8818 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.617e-05/0.003565, allocations: 27.89 kB / 0.8819 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.771e-05/0.003583, allocations: 9.125 kB / 0.8819 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.984e-05/0.003623, allocations: 8 kB / 0.8819 GB, free: 3.438 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 1.703e-05/0.00364, allocations: 15.94 kB / 0.8819 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.477e-05/0.003664, allocations: 25.02 kB / 0.8819 GB, free: 3.398 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001159/0.00378, allocations: 71.72 kB / 0.882 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.003782, allocations: 0 / 0.882 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.082e-06/0.003784, allocations: 1.062 kB / 0.882 GB, free: 3.328 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.747e-06/0.003787, allocations: 4 kB / 0.882 GB, free: 3.324 MB / 0.8386 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.0003534/0.004141, allocations: 417.1 kB / 0.8824 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.234e-05/0.004173, allocations: 12.03 kB / 0.8824 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001368/0.00431, allocations: 25.53 kB / 0.8824 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001279/0.004438, allocations: 140.4 kB / 0.8826 GB, free: 2.688 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.502e-05/0.004453, allocations: 4.375 kB / 0.8826 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.048e-05/0.004463, allocations: 8.375 kB / 0.8826 GB, free: 2.676 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001235/0.004587, allocations: 120.4 kB / 0.8827 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.43e-06/0.004592, allocations: 2 kB / 0.8827 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.004602, allocations: 4.359 kB / 0.8827 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.7e-06/0.004607, allocations: 7.938 kB / 0.8827 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.93e-05/0.004637, allocations: 11.94 kB / 0.8827 GB, free: 2.512 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.00491, allocations: 281.5 kB / 0.883 GB, free: 2.211 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.239e-05/0.004972, allocations: 43.08 kB / 0.883 GB, free: 2.156 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.936e-05/0.004991, allocations: 16.31 kB / 0.883 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.07e-05/0.005002, allocations: 0 / 0.883 GB, free: 2.137 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.005022, allocations: 46.25 kB / 0.8831 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.005023, allocations: 0 / 0.8831 GB, free: 2.082 MB / 0.8386 GB Notification: Performance of matching and sorting (n=4): time 0.0001321/0.005155, allocations: 55.23 kB / 0.8831 GB, free: 2.023 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.327e-05/0.005188, allocations: 81.05 kB / 0.8832 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001023/0.005291, allocations: 185.9 kB / 0.8834 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.005308, allocations: 29.7 kB / 0.8834 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.4e-05/0.005362, allocations: 149.6 kB / 0.8836 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.871e-05/0.005381, allocations: 15.84 kB / 0.8836 GB, free: 1.527 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.677e-05/0.005418, allocations: 27.34 kB / 0.8836 GB, free: 1.492 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001043/0.005522, allocations: 0.4923 MB / 0.8841 GB, free: 0.9883 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.415e-05/0.005536, allocations: 4 kB / 0.8841 GB, free: 0.9844 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.064e-05/0.005567, allocations: 45.08 kB / 0.8841 GB, free: 0.9258 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.394e-05/0.005601, allocations: 23.67 kB / 0.8842 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.005602, allocations: 1.781 kB / 0.8842 GB, free: 0.8984 MB / 0.8386 GB Notification: Performance of matching and sorting (n=5) (initialization): time 6.969e-05/0.005672, allocations: 65.7 kB / 0.8842 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 9.609e-06/0.005682, allocations: 4 kB / 0.8842 GB, free: 0.8242 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.379e-06/0.005686, allocations: 4 kB / 0.8842 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.803e-06/0.005693, allocations: 0 / 0.8842 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.321e-05/0.005746, allocations: 12.03 kB / 0.8842 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.114e-06/0.005748, allocations: 0 / 0.8842 GB, free: 0.8086 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.181e-05/0.00578, allocations: 7.984 kB / 0.8843 GB, free: 0.8008 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.398e-06/0.005784, allocations: 0 / 0.8843 GB, free: 0.8008 MB / 0.8386 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.178e-05/0.005846, allocations: 160.8 kB / 0.8844 GB, free: 0.6328 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.047e-05/0.005867, allocations: 11.89 kB / 0.8844 GB, free: 0.6211 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.316e-05/0.00589, allocations: 20.31 kB / 0.8844 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.005892, allocations: 0 / 0.8844 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.074e-06/0.005894, allocations: 0 / 0.8844 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.235e-06/0.005896, allocations: 0 / 0.8844 GB, free: 0.5977 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000103/0.005999, allocations: 117.2 kB / 0.8845 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.392e-06/0.006, allocations: 0 / 0.8845 GB, free: 468 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.639e-05/0.006027, allocations: 7.984 kB / 0.8846 GB, free: 460 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.52e-07/0.006028, allocations: 4 kB / 0.8846 GB, free: 456 kB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.591e-06/0.006033, allocations: 3.938 kB / 0.8846 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.11e-07/0.006034, allocations: 3.938 kB / 0.8846 GB, free: 448 kB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.006035, allocations: 0 / 0.8846 GB, free: 448 kB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001049/0.00614, allocations: 199.9 kB / 0.8848 GB, free: 228 kB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-06/0.00615, allocations: 15.88 kB / 0.8848 GB, free: 212 kB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.588e-05/0.006166, allocations: 3.938 kB / 0.8848 GB, free: 208 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.174e-05/0.006207, allocations: 8 kB / 0.8848 GB, free: 200 kB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.565e-05/0.006243, allocations: 15.97 kB / 0.8848 GB, free: 184 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-06/0.006248, allocations: 4 kB / 0.8848 GB, free: 180 kB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.007e-05/0.006288, allocations: 133.5 kB / 0.8849 GB, free: 48 kB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.006288, allocations: 0 / 0.8849 GB, free: 48 kB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001481/0.006436, allocations: 23.89 kB / 0.885 GB, free: 24 kB / 0.8386 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.0001138/0.00655, allocations: 99.25 kB / 0.885 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.547e-05/0.006625, allocations: 31.59 kB / 0.8851 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.142e-06/0.006626, allocations: 0 / 0.8851 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.52e-05/0.006652, allocations: 23.67 kB / 0.8851 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001591/0.006811, allocations: 8 kB / 0.8851 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004115/0.007222, allocations: 186.6 kB / 0.8853 GB, free: 15.63 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.307e-05/0.007255, allocations: 59.34 kB / 0.8853 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.99e-05/0.007285, allocations: 4 kB / 0.8853 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.199e-05/0.007347, allocations: 86.19 kB / 0.8854 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of SimCode: time 5.11e-07/0.007348, allocations: 0 / 0.8854 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of Templates: time 0.002367/0.009714, allocations: 1.041 MB / 0.8864 GB, free: 14.48 MB / 0.8542 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.287097609136254]