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.002076/0.002076, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002434/0.002434, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.581/1.581, allocations: 177.1 MB / 203.1 MB, free: 5.613 MB / 186.7 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.41/3.41, allocations: 429.4 MB / 0.6729 GB, free: 3.992 MB / 0.6355 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.613e-06/1.613e-06, allocations: 0 / 0.8775 GB, free: 5.492 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.802e-05, allocations: 3.188 kB / 0.8775 GB, free: 5.488 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter): time 0.002892/0.00292, allocations: 1.552 MB / 0.879 GB, free: 3.949 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001016/0.003936, allocations: 0.4989 MB / 0.8795 GB, free: 3.453 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.656e-05/0.003993, allocations: 0 / 0.8795 GB, free: 3.453 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 9.196e-05/0.004085, allocations: 3.938 kB / 0.8795 GB, free: 3.449 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 6.094e-05/0.004146, allocations: 20.42 kB / 0.8795 GB, free: 3.434 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002667/0.004412, allocations: 47.81 kB / 0.8795 GB, free: 3.387 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001712/0.004584, allocations: 91.75 kB / 0.8796 GB, free: 3.297 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.951e-05/0.004673, allocations: 8 kB / 0.8796 GB, free: 3.289 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002024/0.004876, allocations: 67.75 kB / 0.8797 GB, free: 3.223 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 7.595e-05/0.004952, allocations: 23.91 kB / 0.8797 GB, free: 3.199 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 3.023e-05/0.004982, allocations: 8.875 kB / 0.8797 GB, free: 3.191 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 4.388e-05/0.005026, allocations: 8 kB / 0.8797 GB, free: 3.184 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 4.81e-05/0.005074, allocations: 21.02 kB / 0.8798 GB, free: 3.164 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 6.129e-05/0.005135, allocations: 27.91 kB / 0.8798 GB, free: 3.137 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001876/0.005323, allocations: 79.75 kB / 0.8799 GB, free: 3.059 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.005328, allocations: 5.438 kB / 0.8799 GB, free: 3.055 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.52e-07/0.005328, allocations: 0 / 0.8799 GB, free: 3.055 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 3.677e-06/0.005332, allocations: 3.938 kB / 0.8799 GB, free: 3.051 MB / 0.7917 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.0007485/0.006081, allocations: 476.5 kB / 0.8803 GB, free: 2.539 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.298e-05/0.006114, allocations: 8.031 kB / 0.8803 GB, free: 2.531 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.006291, allocations: 28.28 kB / 0.8804 GB, free: 2.508 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002115/0.006503, allocations: 136.5 kB / 0.8805 GB, free: 2.348 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.006517, allocations: 384 / 0.8805 GB, free: 2.348 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.006537, allocations: 8.375 kB / 0.8805 GB, free: 2.34 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.006813, allocations: 119.8 kB / 0.8806 GB, free: 2.211 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.006822, allocations: 192 / 0.8806 GB, free: 2.211 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.378e-05/0.006836, allocations: 4.375 kB / 0.8806 GB, free: 2.207 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.006845, allocations: 7.938 kB / 0.8806 GB, free: 2.199 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002345/0.007079, allocations: 78.25 kB / 0.8807 GB, free: 2.117 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000581/0.00766, allocations: 317.2 kB / 0.881 GB, free: 1.773 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002821/0.007942, allocations: 104.7 kB / 0.8811 GB, free: 1.652 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00017/0.008112, allocations: 74.97 kB / 0.8812 GB, free: 1.57 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.938e-05/0.008132, allocations: 0 / 0.8812 GB, free: 1.57 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002765/0.008408, allocations: 126.7 kB / 0.8813 GB, free: 1.426 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=7): time 1.272e-06/0.008409, allocations: 4 kB / 0.8813 GB, free: 1.422 MB / 0.7917 GB Notification: Performance of matching and sorting (n=7): time 0.0006151/0.009025, allocations: 238.7 kB / 0.8815 GB, free: 1.164 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.64e-05/0.009111, allocations: 89.09 kB / 0.8816 GB, free: 1.059 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001811/0.009292, allocations: 200.8 kB / 0.8818 GB, free: 0.8477 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 2.846e-05/0.009321, allocations: 29.7 kB / 0.8818 GB, free: 0.8125 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001089/0.009429, allocations: 142.8 kB / 0.882 GB, free: 0.668 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 3.304e-05/0.009462, allocations: 27.81 kB / 0.882 GB, free: 0.6406 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.331e-05/0.009536, allocations: 31.38 kB / 0.882 GB, free: 0.6016 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002768/0.009813, allocations: 0.5 MB / 0.8825 GB, free: 92 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002131/0.01003, allocations: 95.45 kB / 0.8826 GB, free: 15.98 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001793/0.01021, allocations: 95.38 kB / 0.8827 GB, free: 15.88 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002931/0.0105, allocations: 156.8 kB / 0.8828 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.175e-06/0.0105, allocations: 4 kB / 0.8828 GB, free: 15.7 MB / 0.8073 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004662/0.01097, allocations: 256.3 kB / 0.8831 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 7.711e-05/0.01104, allocations: 67.39 kB / 0.8832 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.01105, allocations: 0 / 0.8832 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.304e-05/0.01106, allocations: 4 kB / 0.8832 GB, free: 15.33 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001164/0.01118, allocations: 15.98 kB / 0.8832 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.01118, allocations: 0 / 0.8832 GB, free: 15.32 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.0113, allocations: 15.94 kB / 0.8832 GB, free: 15.3 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.681e-05/0.01131, allocations: 4 kB / 0.8832 GB, free: 15.3 MB / 0.8073 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.0001605/0.01147, allocations: 190.3 kB / 0.8834 GB, free: 15.09 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.01151, allocations: 15.89 kB / 0.8834 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.061e-05/0.01155, allocations: 16.77 kB / 0.8834 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.01155, allocations: 0 / 0.8834 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.01155, allocations: 4 kB / 0.8834 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.01155, allocations: 0 / 0.8834 GB, free: 15.06 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008428/0.0124, allocations: 448.6 kB / 0.8838 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.0124, allocations: 4 kB / 0.8838 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.164e-05/0.01247, allocations: 11.97 kB / 0.8839 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.01247, allocations: 4 kB / 0.8839 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.181e-05/0.01248, allocations: 0 / 0.8839 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.01248, allocations: 0 / 0.8839 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.01249, allocations: 0 / 0.8839 GB, free: 14.55 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005104/0.013, allocations: 343.1 kB / 0.8842 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.688e-05/0.01301, allocations: 3.953 kB / 0.8842 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3e-05/0.01304, allocations: 12 kB / 0.8842 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.01317, allocations: 11.98 kB / 0.8842 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001115/0.01328, allocations: 23.97 kB / 0.8842 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.339e-05/0.01329, allocations: 3.984 kB / 0.8842 GB, free: 14.13 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001095/0.0134, allocations: 147.2 kB / 0.8844 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.0134, allocations: 0 / 0.8844 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002313/0.01363, allocations: 16 kB / 0.8844 GB, free: 13.97 MB / 0.8073 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.0001444/0.01378, allocations: 107.2 kB / 0.8845 GB, free: 13.86 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0005181/0.0143, allocations: 299.9 kB / 0.8848 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.0143, allocations: 0 / 0.8848 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0002307/0.01453, allocations: 140.8 kB / 0.8849 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003043/0.01483, allocations: 19.92 kB / 0.8849 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005535/0.01539, allocations: 232 kB / 0.8852 GB, free: 13.07 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.752e-05/0.01547, allocations: 81.58 kB / 0.8852 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.433e-05/0.01553, allocations: 7.984 kB / 0.8852 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.12e-05/0.01558, allocations: 20.48 kB / 0.8853 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of SimCode: time 4.2e-07/0.01558, allocations: 0 / 0.8853 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of Templates: time 0.004865/0.02045, allocations: 1.416 MB / 0.8866 GB, free: 11.59 MB / 0.8073 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","/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: 8.334342551999725]