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.001947/0.001947, allocations: 89.27 kB / 19.43 MB, free: 1.984 MB / 14.72 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.00209/0.00209, allocations: 165.1 kB / 22.75 MB, free: 4.77 MB / 14.72 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.469/1.469, allocations: 177.1 MB / 203.1 MB, free: 9.043 MB / 190.1 MB " [Timeout remaining time 178] 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 3.1/3.1, allocations: 428.5 MB / 0.6719 GB, free: 9.613 MB / 0.6387 GB " [Timeout remaining time 176] 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.904e-06/1.904e-06, allocations: 0 / 0.8763 GB, free: 2.047 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.829e-05/3.02e-05, allocations: 7.062 kB / 0.8763 GB, free: 2.039 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter): time 0.00288/0.00291, allocations: 1.561 MB / 0.8778 GB, free: 496 kB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001051/0.003961, allocations: 492.5 kB / 0.8783 GB, free: 0 / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.839e-05/0.004029, allocations: 0 / 0.8783 GB, free: 0 / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001284/0.004157, allocations: 8.016 kB / 0.8783 GB, free: 15.99 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 6.958e-05/0.004227, allocations: 20.83 kB / 0.8783 GB, free: 15.97 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002822/0.004509, allocations: 48.86 kB / 0.8783 GB, free: 15.93 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.004685, allocations: 83.7 kB / 0.8784 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 9.537e-05/0.004781, allocations: 11.98 kB / 0.8784 GB, free: 15.83 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002195/0.005, allocations: 60.86 kB / 0.8785 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.097e-05/0.005081, allocations: 23.95 kB / 0.8785 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.657e-05/0.005108, allocations: 9.125 kB / 0.8785 GB, free: 15.74 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 5.108e-05/0.005159, allocations: 15.94 kB / 0.8785 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.458e-05/0.005203, allocations: 11.98 kB / 0.8785 GB, free: 15.71 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.677e-05/0.00526, allocations: 28.88 kB / 0.8786 GB, free: 15.69 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001824/0.005443, allocations: 83.75 kB / 0.8787 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.005445, allocations: 0 / 0.8787 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.92e-07/0.005446, allocations: 0.5 kB / 0.8787 GB, free: 15.61 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.00545, allocations: 1.875 kB / 0.8787 GB, free: 15.61 MB / 0.8419 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.0007558/0.006206, allocations: 377.4 kB / 0.879 GB, free: 15.2 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.00624, allocations: 8.031 kB / 0.879 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001875/0.006428, allocations: 30.16 kB / 0.8791 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002494/0.006677, allocations: 129.6 kB / 0.8792 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.006694, allocations: 8.375 kB / 0.8792 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.866e-05/0.006713, allocations: 5.438 kB / 0.8792 GB, free: 15 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003379/0.00705, allocations: 123.9 kB / 0.8793 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.858e-06/0.00706, allocations: 0.8438 kB / 0.8793 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.007075, allocations: 2.031 kB / 0.8793 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.007082, allocations: 7.875 kB / 0.8793 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003243/0.007406, allocations: 109.6 kB / 0.8794 GB, free: 14.74 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005658/0.007972, allocations: 256.5 kB / 0.8797 GB, free: 14.46 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003348/0.008307, allocations: 112.2 kB / 0.8798 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/0.0085, allocations: 78.59 kB / 0.8799 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.008515, allocations: 4 kB / 0.8799 GB, free: 14.25 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003124/0.008827, allocations: 141 kB / 0.88 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/0.008829, allocations: 0 / 0.88 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of matching and sorting (n=7): time 0.0007169/0.009546, allocations: 270.6 kB / 0.8802 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.037e-05/0.009636, allocations: 77.11 kB / 0.8803 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001364/0.009773, allocations: 130.1 kB / 0.8804 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.733e-05/0.0098, allocations: 29.7 kB / 0.8805 GB, free: 13.53 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.466e-05/0.009895, allocations: 108 kB / 0.8806 GB, free: 13.42 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.593e-05/0.009921, allocations: 19.89 kB / 0.8806 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.323e-05/0.009984, allocations: 25.7 kB / 0.8806 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001514/0.01014, allocations: 318.8 kB / 0.8809 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002272/0.01036, allocations: 107.4 kB / 0.881 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002025/0.01057, allocations: 103.4 kB / 0.8811 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003671/0.01093, allocations: 173.8 kB / 0.8813 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.01093, allocations: 0 / 0.8813 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000542/0.01148, allocations: 276.2 kB / 0.8816 GB, free: 12.33 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.614e-05/0.01154, allocations: 63.39 kB / 0.8816 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.01155, allocations: 0 / 0.8816 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.01157, allocations: 4 kB / 0.8816 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001294/0.01169, allocations: 11.98 kB / 0.8816 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.0117, allocations: 0 / 0.8816 GB, free: 12.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001348/0.01183, allocations: 27.88 kB / 0.8817 GB, free: 12.21 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.952e-05/0.01185, allocations: 7.984 kB / 0.8817 GB, free: 12.2 MB / 0.8419 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.0001388/0.01199, allocations: 147.5 kB / 0.8818 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.159e-05/0.01202, allocations: 11.89 kB / 0.8818 GB, free: 12.03 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.01206, allocations: 20.75 kB / 0.8818 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.01206, allocations: 0 / 0.8818 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/0.01207, allocations: 0 / 0.8818 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.01207, allocations: 0 / 0.8818 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000643/0.01271, allocations: 409.5 kB / 0.8822 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.013e-06/0.01272, allocations: 0 / 0.8822 GB, free: 11.56 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.269e-05/0.01281, allocations: 15.92 kB / 0.8822 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.215e-06/0.01281, allocations: 0 / 0.8822 GB, free: 11.55 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.191e-05/0.01282, allocations: 4 kB / 0.8822 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.219e-06/0.01283, allocations: 4 kB / 0.8822 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.846e-06/0.01283, allocations: 3.984 kB / 0.8823 GB, free: 11.54 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000523/0.01335, allocations: 306.7 kB / 0.8825 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 1.848e-05/0.01337, allocations: 7.953 kB / 0.8826 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.505e-05/0.01341, allocations: 4 kB / 0.8826 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.01357, allocations: 15.98 kB / 0.8826 GB, free: 11.18 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.713e-05/0.01366, allocations: 19.97 kB / 0.8826 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/0.01368, allocations: 3.984 kB / 0.8826 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.413e-05/0.01376, allocations: 105.9 kB / 0.8827 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of sort global known variables: time 9e-08/0.01376, allocations: 0 / 0.8827 GB, free: 11.05 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002572/0.01402, allocations: 16 kB / 0.8827 GB, free: 11.04 MB / 0.8419 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.0001294/0.01415, allocations: 103.2 kB / 0.8828 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.000574/0.01472, allocations: 307.8 kB / 0.8831 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01472, allocations: 0 / 0.8831 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0002486/0.01497, allocations: 133.1 kB / 0.8832 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002979/0.01527, allocations: 16.55 kB / 0.8832 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005871/0.01586, allocations: 238.2 kB / 0.8835 GB, free: 10.16 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.661e-05/0.01594, allocations: 83.5 kB / 0.8836 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 5.415e-05/0.016, allocations: 11.98 kB / 0.8836 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.438e-05/0.01604, allocations: 12.5 kB / 0.8836 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of SimCode: time 5.31e-07/0.01604, allocations: 4 kB / 0.8836 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of Templates: time 0.004815/0.02086, allocations: 1.426 MB / 0.885 GB, free: 8.672 MB / 0.8419 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 800] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.82855998724699]