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.001914/0.001914, allocations: 79.7 kB / 20.23 MB, free: 4.188 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.001992/0.001992, allocations: 161.3 kB / 23.55 MB, free: 0.8711 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 1.624/1.624, allocations: 177.1 MB / 203.9 MB, free: 5.617 MB / 186.7 MB " [Timeout remaining time 178] 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 2.839/2.839, allocations: 359 MB / 0.6048 GB, free: 10.93 MB / 0.573 GB " [Timeout remaining time 177] 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.673e-06/1.673e-06, allocations: 0 / 0.7864 GB, free: 11.7 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.787e-05/2.955e-05, allocations: 2.938 kB / 0.7864 GB, free: 11.69 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002935/0.002964, allocations: 1.548 MB / 0.7879 GB, free: 10.15 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.003998, allocations: 0.4968 MB / 0.7884 GB, free: 9.648 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.858e-05/0.004066, allocations: 0 / 0.7884 GB, free: 9.648 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 9.962e-05/0.004166, allocations: 7.875 kB / 0.7884 GB, free: 9.641 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.196e-05/0.004228, allocations: 16.84 kB / 0.7884 GB, free: 9.625 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002509/0.004479, allocations: 40.5 kB / 0.7884 GB, free: 9.586 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001717/0.00465, allocations: 88.83 kB / 0.7885 GB, free: 9.5 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.004751, allocations: 15.97 kB / 0.7885 GB, free: 9.484 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.004958, allocations: 63.81 kB / 0.7886 GB, free: 9.422 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 9.264e-05/0.00505, allocations: 29.31 kB / 0.7886 GB, free: 9.395 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.596e-05/0.005076, allocations: 4 kB / 0.7886 GB, free: 9.391 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.702e-05/0.005123, allocations: 11.98 kB / 0.7886 GB, free: 9.379 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.802e-05/0.005171, allocations: 19.92 kB / 0.7887 GB, free: 9.359 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.912e-05/0.00523, allocations: 20.42 kB / 0.7887 GB, free: 9.34 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001828/0.005413, allocations: 88.83 kB / 0.7888 GB, free: 9.254 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.005416, allocations: 0 / 0.7888 GB, free: 9.254 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.41e-07/0.005417, allocations: 0 / 0.7888 GB, free: 9.254 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.005421, allocations: 1.844 kB / 0.7888 GB, free: 9.254 MB / 0.698 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.0007834/0.006205, allocations: 483.3 kB / 0.7892 GB, free: 8.734 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.38e-05/0.006239, allocations: 8.031 kB / 0.7892 GB, free: 8.727 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001681/0.006407, allocations: 20.88 kB / 0.7893 GB, free: 8.707 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002149/0.006622, allocations: 133.2 kB / 0.7894 GB, free: 8.551 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.886e-05/0.006641, allocations: 9.125 kB / 0.7894 GB, free: 8.543 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.703e-05/0.006658, allocations: 4.375 kB / 0.7894 GB, free: 8.539 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002998/0.006957, allocations: 121 kB / 0.7895 GB, free: 8.41 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.006968, allocations: 192 / 0.7895 GB, free: 8.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.723e-05/0.006985, allocations: 4.375 kB / 0.7895 GB, free: 8.406 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.931e-06/0.006991, allocations: 5 kB / 0.7895 GB, free: 8.402 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002417/0.007232, allocations: 77.67 kB / 0.7896 GB, free: 8.32 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005842/0.007817, allocations: 321.1 kB / 0.7899 GB, free: 7.973 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002927/0.008109, allocations: 100.7 kB / 0.79 GB, free: 7.855 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.008273, allocations: 79.11 kB / 0.7901 GB, free: 7.77 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.973e-05/0.008293, allocations: 0 / 0.7901 GB, free: 7.77 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002843/0.008577, allocations: 130.7 kB / 0.7902 GB, free: 7.621 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.193e-06/0.008578, allocations: 2.562 kB / 0.7902 GB, free: 7.621 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0007223/0.009301, allocations: 242.9 kB / 0.7904 GB, free: 7.359 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.846e-05/0.009379, allocations: 85.11 kB / 0.7905 GB, free: 7.258 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001866/0.009566, allocations: 197.9 kB / 0.7907 GB, free: 7.047 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.699e-05/0.009593, allocations: 29.7 kB / 0.7907 GB, free: 7.012 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001094/0.009702, allocations: 147.4 kB / 0.7909 GB, free: 6.863 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.322e-05/0.009735, allocations: 19.84 kB / 0.7909 GB, free: 6.844 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.22e-05/0.009808, allocations: 40.97 kB / 0.7909 GB, free: 6.797 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002712/0.01008, allocations: 0.5 MB / 0.7914 GB, free: 6.285 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001768/0.01026, allocations: 87.39 kB / 0.7915 GB, free: 6.188 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001672/0.01042, allocations: 101.1 kB / 0.7916 GB, free: 6.078 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002854/0.01071, allocations: 156.8 kB / 0.7917 GB, free: 5.902 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01071, allocations: 0 / 0.7917 GB, free: 5.902 MB / 0.698 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004622/0.01117, allocations: 256.8 kB / 0.792 GB, free: 5.621 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 6.053e-05/0.01123, allocations: 61.94 kB / 0.792 GB, free: 5.551 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.948e-06/0.01124, allocations: 0 / 0.792 GB, free: 5.551 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.01125, allocations: 0 / 0.792 GB, free: 5.551 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001197/0.01137, allocations: 21.58 kB / 0.7921 GB, free: 5.531 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.01138, allocations: 4.062 kB / 0.7921 GB, free: 5.527 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.01148, allocations: 11.98 kB / 0.7921 GB, free: 5.516 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.288e-05/0.0115, allocations: 10.08 kB / 0.7921 GB, free: 5.508 MB / 0.698 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.0001572/0.01166, allocations: 194.3 kB / 0.7923 GB, free: 5.301 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.969e-05/0.01169, allocations: 15.89 kB / 0.7923 GB, free: 5.285 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.49e-05/0.01172, allocations: 12.78 kB / 0.7923 GB, free: 5.273 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.01173, allocations: 3.938 kB / 0.7923 GB, free: 5.27 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.01173, allocations: 0.5 kB / 0.7923 GB, free: 5.27 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.01173, allocations: 0.5312 kB / 0.7923 GB, free: 5.27 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005942/0.01233, allocations: 449.4 kB / 0.7927 GB, free: 4.777 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.01233, allocations: 0 / 0.7927 GB, free: 4.777 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.481e-05/0.0124, allocations: 12.52 kB / 0.7927 GB, free: 4.766 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/0.0124, allocations: 1.531 kB / 0.7927 GB, free: 4.766 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.167e-05/0.01242, allocations: 0 / 0.7927 GB, free: 4.766 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.01242, allocations: 0 / 0.7927 GB, free: 4.766 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.01242, allocations: 0 / 0.7927 GB, free: 4.766 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000503/0.01292, allocations: 348.9 kB / 0.7931 GB, free: 4.395 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.596e-05/0.01294, allocations: 3.953 kB / 0.7931 GB, free: 4.391 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.719e-05/0.01296, allocations: 8 kB / 0.7931 GB, free: 4.383 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001239/0.01309, allocations: 13.14 kB / 0.7931 GB, free: 4.371 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.0132, allocations: 19.97 kB / 0.7931 GB, free: 4.352 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.277e-05/0.01321, allocations: 4 kB / 0.7931 GB, free: 4.348 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0001043/0.01332, allocations: 151.4 kB / 0.7933 GB, free: 4.203 MB / 0.698 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01332, allocations: 0 / 0.7933 GB, free: 4.203 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002349/0.01355, allocations: 16 kB / 0.7933 GB, free: 4.188 MB / 0.698 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.0001447/0.0137, allocations: 104.1 kB / 0.7934 GB, free: 4.078 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0005024/0.0142, allocations: 300.3 kB / 0.7937 GB, free: 3.738 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/0.0142, allocations: 0 / 0.7937 GB, free: 3.738 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0002248/0.01442, allocations: 138.1 kB / 0.7938 GB, free: 3.582 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002921/0.01472, allocations: 19.86 kB / 0.7938 GB, free: 3.562 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005503/0.01527, allocations: 229.3 kB / 0.794 GB, free: 3.305 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.831e-05/0.01535, allocations: 77.08 kB / 0.7941 GB, free: 3.211 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.701e-05/0.01541, allocations: 11.98 kB / 0.7941 GB, free: 3.199 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.816e-05/0.01546, allocations: 17.38 kB / 0.7941 GB, free: 3.184 MB / 0.698 GB Notification: Performance of SimCode: time 4.3e-07/0.01546, allocations: 0 / 0.7941 GB, free: 3.184 MB / 0.698 GB Notification: Performance of Templates: time 0.004944/0.0204, allocations: 1.42 MB / 0.7955 GB, free: 1.82 MB / 0.698 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","/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: 7.876978799002245]