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.0009791/0.0009791, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.001053/0.001053, allocations: 169 kB / 23.27 MB, free: 1.223 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.9263/0.9263, allocations: 177.2 MB / 203.7 MB, free: 5.52 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.336/2.336, allocations: 438.1 MB / 0.682 GB, free: 14.17 MB / 0.6511 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.293e-06/1.293e-06, allocations: 0 / 0.8898 GB, free: 9.73 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.669e-05/1.798e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.727 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter): time 0.001893/0.001911, allocations: 1.591 MB / 0.8913 GB, free: 8.125 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0006964/0.002608, allocations: 498.7 kB / 0.8918 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.14e-05/0.002669, allocations: 3.938 kB / 0.8918 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 9.05e-05/0.00276, allocations: 7.938 kB / 0.8918 GB, free: 7.621 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.557e-05/0.002805, allocations: 23.78 kB / 0.8918 GB, free: 7.598 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.003024, allocations: 39.84 kB / 0.8919 GB, free: 7.559 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.003158, allocations: 91.69 kB / 0.892 GB, free: 7.469 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 8.918e-05/0.003247, allocations: 15.98 kB / 0.892 GB, free: 7.453 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001647/0.003412, allocations: 63.81 kB / 0.892 GB, free: 7.391 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.831e-05/0.00347, allocations: 23.97 kB / 0.8921 GB, free: 7.367 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.003489, allocations: 11.94 kB / 0.8921 GB, free: 7.355 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 3.814e-05/0.003527, allocations: 8 kB / 0.8921 GB, free: 7.348 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 3.475e-05/0.003562, allocations: 19.97 kB / 0.8921 GB, free: 7.328 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 3.456e-05/0.003596, allocations: 23.92 kB / 0.8921 GB, free: 7.305 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001191/0.003716, allocations: 67.73 kB / 0.8922 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 1.553e-06/0.003717, allocations: 0 / 0.8922 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of FrontEnd: time 6.51e-07/0.003718, allocations: 0 / 0.8922 GB, free: 7.238 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.003722, allocations: 0 / 0.8922 GB, free: 7.238 MB / 0.8542 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.0004337/0.004155, allocations: 471.7 kB / 0.8926 GB, free: 6.73 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.876e-05/0.004194, allocations: 8.625 kB / 0.8926 GB, free: 6.723 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001004/0.004295, allocations: 28.83 kB / 0.8927 GB, free: 6.695 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001237/0.004418, allocations: 136.4 kB / 0.8928 GB, free: 6.535 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.937e-06/0.004427, allocations: 8.375 kB / 0.8928 GB, free: 6.527 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.36e-05/0.004441, allocations: 8.375 kB / 0.8928 GB, free: 6.52 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000129/0.00457, allocations: 108.6 kB / 0.8929 GB, free: 6.398 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.621e-06/0.004575, allocations: 4.188 kB / 0.8929 GB, free: 6.395 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.296e-06/0.004584, allocations: 8.312 kB / 0.8929 GB, free: 6.387 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/0.00459, allocations: 3.938 kB / 0.8929 GB, free: 6.383 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.891e-05/0.004628, allocations: 45.62 kB / 0.893 GB, free: 6.332 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002801/0.004909, allocations: 284.3 kB / 0.8932 GB, free: 6.027 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.038e-05/0.004989, allocations: 72.73 kB / 0.8933 GB, free: 5.938 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.493e-05/0.005024, allocations: 53.41 kB / 0.8934 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.054e-05/0.005064, allocations: 0 / 0.8934 GB, free: 5.875 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001062/0.005171, allocations: 110.8 kB / 0.8935 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.423e-06/0.005172, allocations: 0 / 0.8935 GB, free: 5.746 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0001991/0.005371, allocations: 178.7 kB / 0.8936 GB, free: 5.547 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.005409, allocations: 85.03 kB / 0.8937 GB, free: 5.445 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.449e-05/0.005503, allocations: 192.6 kB / 0.8939 GB, free: 5.242 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.005518, allocations: 29.7 kB / 0.8939 GB, free: 5.207 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.882e-05/0.005577, allocations: 142.8 kB / 0.8941 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 1.421e-05/0.005591, allocations: 19.89 kB / 0.8941 GB, free: 5.043 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.15e-05/0.005632, allocations: 39.34 kB / 0.8941 GB, free: 4.996 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.005752, allocations: 0.4884 MB / 0.8946 GB, free: 4.496 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.623e-05/0.005798, allocations: 67.39 kB / 0.8947 GB, free: 4.418 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.778e-05/0.005836, allocations: 67.39 kB / 0.8947 GB, free: 4.34 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.599e-05/0.005912, allocations: 112.8 kB / 0.8948 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.005914, allocations: 0 / 0.8948 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001574/0.006071, allocations: 220.2 kB / 0.8951 GB, free: 3.961 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.122e-05/0.006102, allocations: 59.41 kB / 0.8951 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.006106, allocations: 0 / 0.8951 GB, free: 3.891 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.055e-06/0.006114, allocations: 4 kB / 0.8951 GB, free: 3.887 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.485e-05/0.006179, allocations: 23.92 kB / 0.8951 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.946e-06/0.006182, allocations: 0 / 0.8951 GB, free: 3.863 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.997e-05/0.006232, allocations: 15.92 kB / 0.8952 GB, free: 3.848 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.394e-06/0.00624, allocations: 0 / 0.8952 GB, free: 3.848 MB / 0.8542 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 8.222e-05/0.006322, allocations: 190.3 kB / 0.8953 GB, free: 3.645 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.627e-05/0.006338, allocations: 19.88 kB / 0.8954 GB, free: 3.625 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.374e-05/0.006362, allocations: 12.78 kB / 0.8954 GB, free: 3.609 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.006364, allocations: 0 / 0.8954 GB, free: 3.609 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.114e-06/0.006366, allocations: 0 / 0.8954 GB, free: 3.609 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.006369, allocations: 8 kB / 0.8954 GB, free: 3.602 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002108/0.00658, allocations: 373.4 kB / 0.8957 GB, free: 3.191 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.006582, allocations: 7.875 kB / 0.8957 GB, free: 3.184 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.026e-05/0.006613, allocations: 11.98 kB / 0.8957 GB, free: 3.172 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.674e-06/0.006614, allocations: 0 / 0.8957 GB, free: 3.172 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.442e-06/0.006621, allocations: 0 / 0.8957 GB, free: 3.172 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.006621, allocations: 0 / 0.8957 GB, free: 3.172 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.006624, allocations: 7.984 kB / 0.8958 GB, free: 3.164 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001486/0.006773, allocations: 291.3 kB / 0.896 GB, free: 2.848 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.006783, allocations: 15.88 kB / 0.896 GB, free: 2.832 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.236e-05/0.006796, allocations: 4 kB / 0.8961 GB, free: 2.828 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.664e-05/0.006852, allocations: 19.98 kB / 0.8961 GB, free: 2.809 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.353e-05/0.006916, allocations: 23.91 kB / 0.8961 GB, free: 2.785 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.006921, allocations: 0 / 0.8961 GB, free: 2.785 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.541e-05/0.006966, allocations: 143.2 kB / 0.8962 GB, free: 2.645 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.006967, allocations: 0 / 0.8962 GB, free: 2.645 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001457/0.007112, allocations: 16 kB / 0.8962 GB, free: 2.629 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 6.788e-05/0.00718, allocations: 107.2 kB / 0.8963 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001603/0.00734, allocations: 235.8 kB / 0.8966 GB, free: 2.238 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.052e-06/0.007341, allocations: 4 kB / 0.8966 GB, free: 2.234 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.475e-05/0.007416, allocations: 121.2 kB / 0.8967 GB, free: 2.094 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.007601, allocations: 16.27 kB / 0.8967 GB, free: 2.078 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005247/0.008126, allocations: 224.2 kB / 0.8969 GB, free: 1.824 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.632e-05/0.008172, allocations: 59.34 kB / 0.897 GB, free: 1.746 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.39e-05/0.008206, allocations: 8 kB / 0.897 GB, free: 1.738 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.941e-05/0.008295, allocations: 90.19 kB / 0.8971 GB, free: 1.648 MB / 0.8542 GB Notification: Performance of SimCode: time 1.383e-06/0.008297, allocations: 0 / 0.8971 GB, free: 1.648 MB / 0.8542 GB Notification: Performance of Templates: time 0.002883/0.01118, allocations: 1.548 MB / 0.8986 GB, free: 160 kB / 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.179594366811216]