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.0008803/0.0008803, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0007872/0.0007872, allocations: 178.2 kB / 23.22 MB, free: 1.348 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.8656/0.8656, allocations: 177.1 MB / 203.5 MB, free: 5.762 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.598/1.598, allocations: 359 MB / 0.6044 GB, free: 11.09 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.944e-06/1.944e-06, allocations: 0 / 0.9517 GB, free: 2.98 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.242e-05/2.437e-05, allocations: 6.281 kB / 0.9517 GB, free: 2.973 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.001839/0.001863, allocations: 1.544 MB / 0.9532 GB, free: 1.414 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.0006804/0.002544, allocations: 491.2 kB / 0.9537 GB, free: 0.9297 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.189e-05/0.002606, allocations: 3.938 kB / 0.9537 GB, free: 0.9258 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 9.624e-05/0.002702, allocations: 7.922 kB / 0.9537 GB, free: 0.918 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.378e-05/0.002746, allocations: 15.88 kB / 0.9537 GB, free: 0.9023 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.003, allocations: 47.81 kB / 0.9538 GB, free: 0.8555 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.003144, allocations: 79.77 kB / 0.9539 GB, free: 0.7773 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.00325, allocations: 11.98 kB / 0.9539 GB, free: 0.7656 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001717/0.003422, allocations: 63.77 kB / 0.9539 GB, free: 0.7031 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 6.74e-05/0.003489, allocations: 35.88 kB / 0.954 GB, free: 0.668 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.984e-05/0.003509, allocations: 8 kB / 0.954 GB, free: 0.6602 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 4.029e-05/0.00355, allocations: 8 kB / 0.954 GB, free: 0.6523 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 3.751e-05/0.003587, allocations: 11.94 kB / 0.954 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 4.759e-05/0.003635, allocations: 27.92 kB / 0.954 GB, free: 0.6133 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001473/0.003782, allocations: 91.73 kB / 0.9541 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.314e-06/0.003784, allocations: 0 / 0.9541 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.162e-06/0.003785, allocations: 0 / 0.9541 GB, free: 0.5234 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 4.148e-06/0.00379, allocations: 3.938 kB / 0.9541 GB, free: 0.5195 MB / 0.9011 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.0005747/0.004364, allocations: 377.4 kB / 0.9545 GB, free: 112 kB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.004401, allocations: 8.031 kB / 0.9545 GB, free: 104 kB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001139/0.004514, allocations: 24.83 kB / 0.9545 GB, free: 80 kB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.004692, allocations: 129.6 kB / 0.9546 GB, free: 15.93 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.174e-05/0.004703, allocations: 8.375 kB / 0.9546 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.339e-05/0.004717, allocations: 4.375 kB / 0.9546 GB, free: 15.91 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001983/0.004915, allocations: 127.9 kB / 0.9548 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.954e-06/0.004923, allocations: 192 / 0.9548 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.321e-05/0.004936, allocations: 384 / 0.9548 GB, free: 15.78 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.004942, allocations: 3.938 kB / 0.9548 GB, free: 15.77 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001464/0.005088, allocations: 101.6 kB / 0.9549 GB, free: 15.67 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003893/0.005478, allocations: 268.4 kB / 0.9551 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001643/0.005642, allocations: 108.2 kB / 0.9552 GB, free: 15.25 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.709e-05/0.005729, allocations: 74.59 kB / 0.9553 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.231e-05/0.005741, allocations: 4.094 kB / 0.9553 GB, free: 15.17 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001713/0.005913, allocations: 141 kB / 0.9554 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=7): time 1.172e-06/0.005914, allocations: 0 / 0.9554 GB, free: 15.01 MB / 0.9167 GB Notification: Performance of matching and sorting (n=7): time 0.0003776/0.006291, allocations: 262.6 kB / 0.9557 GB, free: 14.73 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.171e-05/0.006333, allocations: 85.11 kB / 0.9558 GB, free: 14.63 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.623e-05/0.006409, allocations: 126.1 kB / 0.9559 GB, free: 14.49 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.428e-05/0.006424, allocations: 29.7 kB / 0.9559 GB, free: 14.46 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.023e-05/0.006474, allocations: 96.08 kB / 0.956 GB, free: 14.36 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.00649, allocations: 27.78 kB / 0.956 GB, free: 14.33 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.006527, allocations: 33.64 kB / 0.9561 GB, free: 14.29 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.455e-05/0.006602, allocations: 322.8 kB / 0.9564 GB, free: 13.97 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.726e-05/0.006699, allocations: 99.36 kB / 0.9565 GB, free: 13.86 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.872e-05/0.006788, allocations: 103.4 kB / 0.9566 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001602/0.006948, allocations: 170 kB / 0.9567 GB, free: 13.56 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.006951, allocations: 4 kB / 0.9567 GB, free: 13.55 MB / 0.9167 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002457/0.007196, allocations: 276.2 kB / 0.957 GB, free: 13.25 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 4.215e-05/0.007239, allocations: 67.39 kB / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.007244, allocations: 0 / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.207e-05/0.007256, allocations: 0 / 0.9571 GB, free: 13.18 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.303e-05/0.007329, allocations: 15.98 kB / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.007335, allocations: 0 / 0.9571 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.618e-05/0.007391, allocations: 19.98 kB / 0.9571 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.007402, allocations: 3.984 kB / 0.9571 GB, free: 13.14 MB / 0.9167 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.083e-05/0.007482, allocations: 151.5 kB / 0.9572 GB, free: 12.97 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.127e-05/0.007494, allocations: 11.89 kB / 0.9572 GB, free: 12.96 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.234e-05/0.007516, allocations: 16.77 kB / 0.9573 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.007518, allocations: 0 / 0.9573 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.007522, allocations: 0 / 0.9573 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.007525, allocations: 0 / 0.9573 GB, free: 12.94 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003066/0.007832, allocations: 409.5 kB / 0.9577 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.834e-06/0.007834, allocations: 0 / 0.9577 GB, free: 12.49 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.071e-05/0.007875, allocations: 15.92 kB / 0.9577 GB, free: 12.48 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.007878, allocations: 7.984 kB / 0.9577 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.747e-06/0.007887, allocations: 0 / 0.9577 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.61e-07/0.007888, allocations: 0 / 0.9577 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.007889, allocations: 0 / 0.9577 GB, free: 12.47 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003981/0.008288, allocations: 315.1 kB / 0.958 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.008298, allocations: 3.953 kB / 0.958 GB, free: 12.13 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.623e-05/0.008314, allocations: 8 kB / 0.958 GB, free: 12.12 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.326e-05/0.008377, allocations: 11.98 kB / 0.958 GB, free: 12.11 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.316e-05/0.00846, allocations: 23.97 kB / 0.958 GB, free: 12.09 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-06/0.00847, allocations: 4 kB / 0.958 GB, free: 12.08 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.101e-05/0.008511, allocations: 105.8 kB / 0.9581 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of sort global known variables: time 6e-08/0.008511, allocations: 96 / 0.9581 GB, free: 11.98 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001488/0.00866, allocations: 19.94 kB / 0.9581 GB, free: 11.96 MB / 0.9167 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.677e-05/0.008736, allocations: 115.1 kB / 0.9583 GB, free: 11.84 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0002741/0.00901, allocations: 299.8 kB / 0.9585 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.009012, allocations: 0 / 0.9585 GB, free: 11.5 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0001064/0.009118, allocations: 133 kB / 0.9587 GB, free: 11.36 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.00932, allocations: 21.8 kB / 0.9587 GB, free: 11.34 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003642/0.009684, allocations: 259.4 kB / 0.9589 GB, free: 11.05 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.254e-05/0.009737, allocations: 77.58 kB / 0.959 GB, free: 10.95 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.743e-05/0.009774, allocations: 20.48 kB / 0.959 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of SimCode: time 4.51e-07/0.009775, allocations: 0 / 0.959 GB, free: 10.93 MB / 0.9167 GB Notification: Performance of Templates: time 0.002059/0.01183, allocations: 1.299 MB / 0.9603 GB, free: 9.641 MB / 0.9167 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 6.564653578214347]