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.00136/0.00136, 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.001519/0.001519, allocations: 169 kB / 24.05 MB, free: 460 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.967/0.967, allocations: 177.1 MB / 204.5 MB, free: 5.512 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.062/2.062, allocations: 429.5 MB / 0.6743 GB, free: 3.938 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.743e-06/1.743e-06, allocations: 0 / 0.8794 GB, free: 6.012 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.688e-05/1.863e-05, allocations: 3.125 kB / 0.8794 GB, free: 6.008 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter): time 0.002881/0.0029, allocations: 1.592 MB / 0.881 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0009085/0.003808, allocations: 0.4938 MB / 0.8814 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.675e-05/0.003885, allocations: 0 / 0.8814 GB, free: 3.934 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001032/0.003988, allocations: 8.906 kB / 0.8815 GB, free: 3.926 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.927e-05/0.004047, allocations: 19.86 kB / 0.8815 GB, free: 3.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000272/0.004319, allocations: 44.94 kB / 0.8815 GB, free: 3.863 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001682/0.004488, allocations: 87.7 kB / 0.8816 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.95e-05/0.004587, allocations: 13.02 kB / 0.8816 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001967/0.004784, allocations: 59.83 kB / 0.8817 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.812e-05/0.004862, allocations: 31.89 kB / 0.8817 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.245e-05/0.004884, allocations: 5.094 kB / 0.8817 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 4.572e-05/0.00493, allocations: 11.98 kB / 0.8817 GB, free: 3.66 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.633e-05/0.004967, allocations: 12.72 kB / 0.8817 GB, free: 3.648 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.199e-05/0.005008, allocations: 23.91 kB / 0.8817 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001516/0.00516, allocations: 77.23 kB / 0.8818 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.005162, allocations: 0 / 0.8818 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.81e-07/0.005163, allocations: 0 / 0.8818 GB, free: 3.551 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.717e-06/0.005167, allocations: 0 / 0.8818 GB, free: 3.551 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.0005552/0.005722, allocations: 472.2 kB / 0.8823 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.005759, allocations: 9.5 kB / 0.8823 GB, free: 3.035 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001365/0.005896, allocations: 20.88 kB / 0.8823 GB, free: 3.016 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.00606, allocations: 136.4 kB / 0.8824 GB, free: 2.855 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.445e-05/0.006074, allocations: 8.891 kB / 0.8824 GB, free: 2.848 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.557e-05/0.00609, allocations: 8.375 kB / 0.8824 GB, free: 2.84 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001919/0.006282, allocations: 121.3 kB / 0.8826 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.228e-06/0.006291, allocations: 1.281 kB / 0.8826 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.113e-05/0.006302, allocations: 384 / 0.8826 GB, free: 2.707 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.115e-06/0.00631, allocations: 7.938 kB / 0.8826 GB, free: 2.699 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.814e-05/0.006369, allocations: 43.06 kB / 0.8826 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003701/0.006739, allocations: 284.3 kB / 0.8829 GB, free: 2.348 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.00684, allocations: 72.78 kB / 0.883 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.737e-05/0.006887, allocations: 48.75 kB / 0.883 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.355e-05/0.006901, allocations: 4 kB / 0.883 GB, free: 2.199 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001523/0.007053, allocations: 114.7 kB / 0.8831 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.563e-06/0.007055, allocations: 0 / 0.8831 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0002964/0.007351, allocations: 178.7 kB / 0.8833 GB, free: 1.867 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.202e-05/0.007403, allocations: 85.09 kB / 0.8834 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.007519, allocations: 193.2 kB / 0.8836 GB, free: 1.562 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.072e-05/0.00754, allocations: 33.7 kB / 0.8836 GB, free: 1.523 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.886e-05/0.007619, allocations: 140 kB / 0.8837 GB, free: 1.383 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.283e-05/0.007641, allocations: 19.88 kB / 0.8837 GB, free: 1.363 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.017e-05/0.007702, allocations: 31.38 kB / 0.8838 GB, free: 1.324 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004878/0.008189, allocations: 0.4933 MB / 0.8842 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.124e-05/0.008251, allocations: 67.39 kB / 0.8843 GB, free: 0.7422 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.31e-05/0.008304, allocations: 67.39 kB / 0.8844 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000102/0.008406, allocations: 120.7 kB / 0.8845 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.008408, allocations: 0 / 0.8845 GB, free: 0.5234 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002067/0.008614, allocations: 208.4 kB / 0.8847 GB, free: 296 kB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 4.164e-05/0.008656, allocations: 69.42 kB / 0.8848 GB, free: 216 kB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.008661, allocations: 0 / 0.8848 GB, free: 216 kB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.347e-06/0.00867, allocations: 0 / 0.8848 GB, free: 216 kB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.367e-05/0.008764, allocations: 19.92 kB / 0.8848 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.066e-06/0.008767, allocations: 0 / 0.8848 GB, free: 196 kB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.495e-05/0.008842, allocations: 19.88 kB / 0.8848 GB, free: 176 kB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.302e-05/0.008855, allocations: 4 kB / 0.8848 GB, free: 172 kB / 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 0.0001178/0.008973, allocations: 190.3 kB / 0.885 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.367e-05/0.008996, allocations: 15.89 kB / 0.885 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.911e-05/0.009025, allocations: 16.72 kB / 0.885 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.247e-06/0.009029, allocations: 4 kB / 0.885 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.744e-06/0.00903, allocations: 0 / 0.885 GB, free: 15.93 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.009034, allocations: 3.938 kB / 0.885 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002981/0.009332, allocations: 377.4 kB / 0.8854 GB, free: 15.51 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.555e-06/0.009335, allocations: 3.938 kB / 0.8854 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.164e-05/0.009386, allocations: 8 kB / 0.8854 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.00939, allocations: 4 kB / 0.8854 GB, free: 15.49 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.009402, allocations: 7.984 kB / 0.8854 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/0.009404, allocations: 0 / 0.8854 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.009405, allocations: 0 / 0.8854 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.009622, allocations: 291.3 kB / 0.8857 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.009638, allocations: 11.89 kB / 0.8857 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.901e-05/0.009657, allocations: 3.938 kB / 0.8857 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.29e-05/0.00975, allocations: 15.98 kB / 0.8857 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.27e-05/0.009833, allocations: 19.97 kB / 0.8857 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.266e-06/0.009841, allocations: 0 / 0.8857 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 6.542e-05/0.009907, allocations: 147.2 kB / 0.8859 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.009907, allocations: 0 / 0.8859 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002625/0.01017, allocations: 19.98 kB / 0.8859 GB, free: 14.95 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 0.0001069/0.01028, allocations: 107.2 kB / 0.886 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002187/0.01049, allocations: 243.5 kB / 0.8862 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.223e-06/0.0105, allocations: 0 / 0.8862 GB, free: 14.55 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 9.812e-05/0.01059, allocations: 113.2 kB / 0.8863 GB, free: 14.42 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002823/0.01088, allocations: 19.92 kB / 0.8863 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005636/0.01144, allocations: 228.3 kB / 0.8866 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.279e-05/0.01148, allocations: 59.34 kB / 0.8866 GB, free: 14.07 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.127e-05/0.01152, allocations: 7.984 kB / 0.8866 GB, free: 14.06 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.751e-05/0.01162, allocations: 86.2 kB / 0.8867 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of SimCode: time 7.42e-07/0.01162, allocations: 7.938 kB / 0.8867 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of Templates: time 0.003925/0.01555, allocations: 1.564 MB / 0.8882 GB, free: 12.46 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.355041922070086]