Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Examples.ChillerPlant.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.0009507/0.0009507, allocations: 80.39 kB / 21.47 MB, free: 3.031 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.0009889/0.0009889, allocations: 171.5 kB / 24.87 MB, free: 9.258 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.9363/0.9363, allocations: 177.1 MB / 205.3 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.73/1.73, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.273e-06/1.273e-06, allocations: 0 / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.252e-05/2.38e-05, allocations: 9.578 kB / 0.7883 GB, free: 12.21 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002173/0.002197, allocations: 1.573 MB / 0.7898 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0006617/0.002859, allocations: 0.4964 MB / 0.7903 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.886e-05/0.002917, allocations: 4.594 kB / 0.7903 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.00302, allocations: 7.922 kB / 0.7903 GB, free: 10.13 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 4.46e-05/0.003065, allocations: 8.938 kB / 0.7903 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002257/0.00329, allocations: 54.09 kB / 0.7904 GB, free: 10.07 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/0.00342, allocations: 83.7 kB / 0.7905 GB, free: 9.988 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 8.873e-05/0.003509, allocations: 15.97 kB / 0.7905 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.003658, allocations: 59.83 kB / 0.7906 GB, free: 9.914 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.848e-05/0.003717, allocations: 31.89 kB / 0.7906 GB, free: 9.883 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.734e-05/0.003734, allocations: 9.938 kB / 0.7906 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.614e-05/0.00377, allocations: 8 kB / 0.7906 GB, free: 9.867 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 3.611e-05/0.003806, allocations: 15.92 kB / 0.7906 GB, free: 9.852 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.509e-05/0.003841, allocations: 23.97 kB / 0.7906 GB, free: 9.828 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001255/0.003967, allocations: 67.73 kB / 0.7907 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.745e-06/0.003969, allocations: 0 / 0.7907 GB, free: 9.762 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.112e-06/0.003971, allocations: 5.5 kB / 0.7907 GB, free: 9.758 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.003974, allocations: 0 / 0.7907 GB, free: 9.758 MB / 0.7448 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.0004678/0.004442, allocations: 467.7 kB / 0.7912 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.454e-05/0.004476, allocations: 13.41 kB / 0.7912 GB, free: 9.242 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.00459, allocations: 20.89 kB / 0.7912 GB, free: 9.223 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001374/0.004728, allocations: 136.4 kB / 0.7913 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.004738, allocations: 6.125 kB / 0.7913 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.004749, allocations: 4.375 kB / 0.7913 GB, free: 9.055 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001517/0.004901, allocations: 112.6 kB / 0.7914 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.382e-06/0.004907, allocations: 192 / 0.7914 GB, free: 8.93 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.049e-05/0.004918, allocations: 5.453 kB / 0.7914 GB, free: 8.926 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.004923, allocations: 3.938 kB / 0.7914 GB, free: 8.922 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.164e-05/0.004965, allocations: 45.62 kB / 0.7915 GB, free: 8.871 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002919/0.005256, allocations: 290.2 kB / 0.7918 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.796e-05/0.005334, allocations: 64.75 kB / 0.7918 GB, free: 8.48 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.819e-05/0.005373, allocations: 53.53 kB / 0.7919 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 1.115e-05/0.005384, allocations: 2.594 kB / 0.7919 GB, free: 8.418 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001101/0.005494, allocations: 114.7 kB / 0.792 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=7): time 1.092e-06/0.005495, allocations: 0 / 0.792 GB, free: 8.285 MB / 0.7448 GB Notification: Performance of matching and sorting (n=7): time 0.0001974/0.005692, allocations: 178.7 kB / 0.7922 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.698e-05/0.005729, allocations: 85.05 kB / 0.7922 GB, free: 7.984 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.945e-05/0.005809, allocations: 188.3 kB / 0.7924 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.371e-05/0.005822, allocations: 29.7 kB / 0.7924 GB, free: 7.75 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 5.954e-05/0.005882, allocations: 147.5 kB / 0.7926 GB, free: 7.602 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.456e-05/0.005897, allocations: 19.84 kB / 0.7926 GB, free: 7.582 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.144e-05/0.005938, allocations: 31.89 kB / 0.7926 GB, free: 7.543 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001048/0.006043, allocations: 0.4939 MB / 0.7931 GB, free: 7.039 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.302e-05/0.006086, allocations: 71.39 kB / 0.7932 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.556e-05/0.006121, allocations: 67.39 kB / 0.7933 GB, free: 6.879 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.749e-05/0.006189, allocations: 116.9 kB / 0.7934 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.00619, allocations: 0.6562 kB / 0.7934 GB, free: 6.742 MB / 0.7448 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001493/0.00634, allocations: 220.2 kB / 0.7936 GB, free: 6.496 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.429e-05/0.006374, allocations: 64.34 kB / 0.7936 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.006378, allocations: 0 / 0.7936 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.165e-06/0.006386, allocations: 0 / 0.7936 GB, free: 6.422 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.033e-05/0.006456, allocations: 21.08 kB / 0.7937 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.564e-06/0.006459, allocations: 0 / 0.7937 GB, free: 6.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.38e-05/0.006513, allocations: 20.77 kB / 0.7937 GB, free: 6.383 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.006523, allocations: 4 kB / 0.7937 GB, free: 6.379 MB / 0.7448 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.553e-05/0.006598, allocations: 191.1 kB / 0.7939 GB, free: 6.176 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.544e-05/0.006614, allocations: 17.17 kB / 0.7939 GB, free: 6.16 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.029e-05/0.006634, allocations: 8.781 kB / 0.7939 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.006635, allocations: 0 / 0.7939 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.783e-06/0.006637, allocations: 0 / 0.7939 GB, free: 6.156 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.00664, allocations: 4.844 kB / 0.7939 GB, free: 6.152 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002172/0.006858, allocations: 381.4 kB / 0.7943 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.00686, allocations: 5.031 kB / 0.7943 GB, free: 5.73 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.427e-05/0.006894, allocations: 11.98 kB / 0.7943 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.006895, allocations: 0 / 0.7943 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.006901, allocations: 1.375 kB / 0.7943 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.21e-07/0.006902, allocations: 0 / 0.7943 GB, free: 5.719 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.006903, allocations: 4 kB / 0.7943 GB, free: 5.715 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.007047, allocations: 295.6 kB / 0.7946 GB, free: 5.395 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.098e-05/0.007058, allocations: 13.3 kB / 0.7946 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.395e-05/0.007072, allocations: 0 / 0.7946 GB, free: 5.383 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.447e-05/0.007126, allocations: 11.98 kB / 0.7946 GB, free: 5.371 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.894e-05/0.007185, allocations: 22.92 kB / 0.7946 GB, free: 5.352 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.173e-06/0.007192, allocations: 7.922 kB / 0.7946 GB, free: 5.344 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.871e-05/0.007231, allocations: 139.2 kB / 0.7947 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.007231, allocations: 0 / 0.7947 GB, free: 5.207 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001545/0.007386, allocations: 20 kB / 0.7948 GB, free: 5.188 MB / 0.7448 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 8.42e-05/0.00747, allocations: 103.2 kB / 0.7949 GB, free: 5.074 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001652/0.007635, allocations: 244.1 kB / 0.7951 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-06/0.007636, allocations: 1.344 kB / 0.7951 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.451e-05/0.007701, allocations: 116.7 kB / 0.7952 GB, free: 4.652 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001879/0.007889, allocations: 15.92 kB / 0.7952 GB, free: 4.637 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004201/0.008309, allocations: 230.4 kB / 0.7954 GB, free: 4.379 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.295e-05/0.008342, allocations: 63.28 kB / 0.7955 GB, free: 4.297 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.957e-05/0.008371, allocations: 10.8 kB / 0.7955 GB, free: 4.289 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.456e-05/0.008446, allocations: 90.19 kB / 0.7956 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of SimCode: time 6.01e-07/0.008447, allocations: 0 / 0.7956 GB, free: 4.199 MB / 0.7448 GB Notification: Performance of Templates: time 0.002865/0.01131, allocations: 1.571 MB / 0.7971 GB, free: 2.672 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Examples_ChillerPlant_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: 4.7933202451094985]