Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.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.0009789/0.0009789, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009624/0.0009624, allocations: 177 kB / 23.5 MB, free: 1.051 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.9129/0.9129, allocations: 177.1 MB / 203.8 MB, free: 5.602 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.095/2.095, allocations: 429.5 MB / 0.6736 GB, free: 4.035 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.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.8782 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.655e-05/1.766e-05, allocations: 3.344 kB / 0.8782 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter): time 0.001826/0.001844, allocations: 1.598 MB / 0.8798 GB, free: 5.023 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0006464/0.00249, allocations: 0.5003 MB / 0.8803 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.257e-05/0.002553, allocations: 0 / 0.8803 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 9.279e-05/0.002645, allocations: 3.938 kB / 0.8803 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.523e-05/0.002691, allocations: 19.8 kB / 0.8803 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002214/0.002912, allocations: 48.44 kB / 0.8803 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001264/0.003038, allocations: 79.77 kB / 0.8804 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 8.711e-05/0.003126, allocations: 13.64 kB / 0.8804 GB, free: 4.363 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001429/0.003268, allocations: 59.83 kB / 0.8805 GB, free: 4.305 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 5.791e-05/0.003326, allocations: 31.89 kB / 0.8805 GB, free: 4.273 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.812e-05/0.003345, allocations: 8 kB / 0.8805 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.498e-05/0.003379, allocations: 12.48 kB / 0.8805 GB, free: 4.254 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.38e-05/0.003413, allocations: 13.38 kB / 0.8805 GB, free: 4.242 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.181e-05/0.003455, allocations: 27.91 kB / 0.8806 GB, free: 4.215 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.003582, allocations: 63.73 kB / 0.8806 GB, free: 4.152 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.003585, allocations: 8 kB / 0.8806 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.82e-07/0.003586, allocations: 0.75 kB / 0.8806 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.266e-06/0.003589, allocations: 0 / 0.8806 GB, free: 4.145 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.0004607/0.00405, allocations: 465.1 kB / 0.8811 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.004082, allocations: 15.97 kB / 0.8811 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001121/0.004194, allocations: 26.47 kB / 0.8811 GB, free: 3.605 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001432/0.004337, allocations: 132.5 kB / 0.8812 GB, free: 3.449 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.162e-05/0.004349, allocations: 4.375 kB / 0.8812 GB, free: 3.445 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.219e-05/0.004361, allocations: 4.375 kB / 0.8812 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001838/0.004545, allocations: 122.1 kB / 0.8814 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.004552, allocations: 4.172 kB / 0.8814 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.062e-05/0.004563, allocations: 8.297 kB / 0.8814 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.634e-06/0.004571, allocations: 3.938 kB / 0.8814 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.662e-05/0.004627, allocations: 53.69 kB / 0.8814 GB, free: 3.234 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003264/0.004954, allocations: 307.7 kB / 0.8817 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 9.211e-05/0.005046, allocations: 76.78 kB / 0.8818 GB, free: 2.805 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.841e-05/0.005094, allocations: 57.44 kB / 0.8818 GB, free: 2.738 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.299e-05/0.005107, allocations: 4 kB / 0.8819 GB, free: 2.734 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001175/0.005225, allocations: 106.7 kB / 0.882 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.162e-06/0.005226, allocations: 0 / 0.882 GB, free: 2.609 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.000235/0.005461, allocations: 194.7 kB / 0.8821 GB, free: 2.395 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.331e-05/0.005504, allocations: 85.11 kB / 0.8822 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.773e-05/0.005592, allocations: 189.8 kB / 0.8824 GB, free: 2.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.335e-05/0.005605, allocations: 33.64 kB / 0.8824 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.715e-05/0.005662, allocations: 146.8 kB / 0.8826 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.005677, allocations: 15.89 kB / 0.8826 GB, free: 1.887 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-05/0.005718, allocations: 35.36 kB / 0.8826 GB, free: 1.844 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001026/0.005821, allocations: 496.1 kB / 0.8831 GB, free: 1.348 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.349e-05/0.005874, allocations: 79.38 kB / 0.8832 GB, free: 1.258 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.562e-05/0.00592, allocations: 75.39 kB / 0.8832 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.878e-05/0.005999, allocations: 120.9 kB / 0.8834 GB, free: 1.031 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.006001, allocations: 3.984 kB / 0.8834 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001552/0.006156, allocations: 224.3 kB / 0.8836 GB, free: 0.7773 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.968e-05/0.006186, allocations: 59.41 kB / 0.8836 GB, free: 0.707 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.006191, allocations: 3.984 kB / 0.8836 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.006202, allocations: 0 / 0.8836 GB, free: 0.7031 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.636e-05/0.006278, allocations: 12 kB / 0.8836 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.579e-06/0.006283, allocations: 0 / 0.8836 GB, free: 0.6914 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.328e-05/0.006336, allocations: 23.88 kB / 0.8837 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.869e-06/0.006346, allocations: 4 kB / 0.8837 GB, free: 0.6641 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: 6 (act1.count,$PRE.act1.count,act1.T_start,$PRE.act1.T_start,reqCou.nInc,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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 7.61e-05/0.006422, allocations: 198.3 kB / 0.8839 GB, free: 464 kB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.929e-05/0.006441, allocations: 11.89 kB / 0.8839 GB, free: 452 kB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.241e-05/0.006464, allocations: 12.78 kB / 0.8839 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.006465, allocations: 0 / 0.8839 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/0.006468, allocations: 0 / 0.8839 GB, free: 436 kB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.006472, allocations: 3.984 kB / 0.8839 GB, free: 432 kB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002303/0.006702, allocations: 404.7 kB / 0.8843 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.006703, allocations: 0 / 0.8843 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.663e-05/0.00674, allocations: 15.98 kB / 0.8843 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.006742, allocations: 0 / 0.8843 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.997e-06/0.006751, allocations: 4 kB / 0.8843 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.006752, allocations: 8 kB / 0.8843 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.21e-07/0.006753, allocations: 0 / 0.8843 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001532/0.006906, allocations: 307.1 kB / 0.8846 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 9.137e-06/0.006916, allocations: 7.953 kB / 0.8846 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.393e-05/0.006929, allocations: 0 / 0.8846 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.715e-05/0.006987, allocations: 11.98 kB / 0.8846 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.348e-05/0.00706, allocations: 23.97 kB / 0.8846 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.605e-06/0.007068, allocations: 4 kB / 0.8846 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.532e-05/0.007113, allocations: 146.6 kB / 0.8848 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.007113, allocations: 0 / 0.8848 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001479/0.007261, allocations: 20 kB / 0.8848 GB, free: 15.41 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,reqCou.nInc,act1.T_start,act1.count) * Number of discrete states: 2 (act1.count,reqCou.nInc) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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 7.193e-05/0.007333, allocations: 113.5 kB / 0.8849 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001886/0.007521, allocations: 255.5 kB / 0.8852 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.007523, allocations: 0 / 0.8852 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 6.815e-05/0.007591, allocations: 112.8 kB / 0.8853 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.007778, allocations: 23.8 kB / 0.8853 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004931/0.008271, allocations: 236.1 kB / 0.8855 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.195e-05/0.008313, allocations: 63.34 kB / 0.8856 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.453e-05/0.008357, allocations: 11.97 kB / 0.8856 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.554e-05/0.008393, allocations: 16.5 kB / 0.8856 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of SimCode: time 8.12e-07/0.008394, allocations: 0 / 0.8856 GB, free: 14.46 MB / 0.8542 GB Notification: Performance of Templates: time 0.002789/0.01118, allocations: 1.422 MB / 0.887 GB, free: 13.11 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_RequestCounter.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.13781188079156]