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.001888/0.001888, allocations: 76.44 kB / 19.17 MB, free: 0.7422 MB / 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.002587/0.002587, allocations: 165.9 kB / 22.45 MB, free: 2.105 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.536/1.536, allocations: 177.1 MB / 202.8 MB, free: 5.719 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.205/3.205, allocations: 429.6 MB / 0.6726 GB, free: 4.02 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.713e-06/1.713e-06, allocations: 0 / 1.066 GB, free: 32.83 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.083e-05/2.254e-05, allocations: 2.281 kB / 1.066 GB, free: 32.82 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter): time 0.002172/0.002194, allocations: 1.547 MB / 1.068 GB, free: 31.77 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0007808/0.002975, allocations: 0.49 MB / 1.068 GB, free: 31.44 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.276e-05/0.003038, allocations: 2.875 kB / 1.068 GB, free: 31.44 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 9.051e-05/0.003128, allocations: 7.875 kB / 1.068 GB, free: 31.43 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 4.817e-05/0.003176, allocations: 18.12 kB / 1.068 GB, free: 31.42 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002515/0.003428, allocations: 35.88 kB / 1.068 GB, free: 31.4 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0001388/0.003567, allocations: 91.7 kB / 1.068 GB, free: 31.36 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 9.944e-05/0.003666, allocations: 5.781 kB / 1.068 GB, free: 31.36 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001871/0.003853, allocations: 69.23 kB / 1.068 GB, free: 31.32 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 7.525e-05/0.003929, allocations: 29.53 kB / 1.068 GB, free: 31.32 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 2.354e-05/0.003952, allocations: 5.906 kB / 1.068 GB, free: 31.32 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 4.134e-05/0.003993, allocations: 12.67 kB / 1.068 GB, free: 31.31 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 3.731e-05/0.004031, allocations: 18.12 kB / 1.068 GB, free: 31.3 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 4.64e-05/0.004077, allocations: 20.11 kB / 1.068 GB, free: 31.29 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.004238, allocations: 84.83 kB / 1.068 GB, free: 31.26 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.004242, allocations: 0 / 1.068 GB, free: 31.26 MB / 1.01 GB Notification: Performance of FrontEnd: time 5.91e-07/0.004243, allocations: 0 / 1.068 GB, free: 31.26 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.004248, allocations: 3.938 kB / 1.068 GB, free: 31.25 MB / 1.01 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.0006083/0.004856, allocations: 383.3 kB / 1.069 GB, free: 30.89 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.004888, allocations: 8.844 kB / 1.069 GB, free: 30.89 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.005035, allocations: 20.19 kB / 1.069 GB, free: 30.89 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002023/0.005237, allocations: 136.2 kB / 1.069 GB, free: 30.75 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.449e-05/0.005251, allocations: 4.938 kB / 1.069 GB, free: 30.75 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.006e-05/0.005271, allocations: 9.312 kB / 1.069 GB, free: 30.74 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002681/0.00554, allocations: 120 kB / 1.069 GB, free: 30.67 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.005549, allocations: 8.125 kB / 1.069 GB, free: 30.66 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.301e-05/0.005562, allocations: 3.125 kB / 1.069 GB, free: 30.66 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.005567, allocations: 3.938 kB / 1.069 GB, free: 30.66 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002577/0.005824, allocations: 99.17 kB / 1.069 GB, free: 30.61 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000436/0.00626, allocations: 257.7 kB / 1.069 GB, free: 30.39 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002697/0.00653, allocations: 121.8 kB / 1.07 GB, free: 30.31 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001481/0.006678, allocations: 81.23 kB / 1.07 GB, free: 30.26 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.409e-05/0.006692, allocations: 0 / 1.07 GB, free: 30.26 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000235/0.006927, allocations: 131.5 kB / 1.07 GB, free: 30.17 MB / 1.01 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.006928, allocations: 0 / 1.07 GB, free: 30.17 MB / 1.01 GB Notification: Performance of matching and sorting (n=7): time 0.0005816/0.00751, allocations: 274.5 kB / 1.07 GB, free: 30 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.821e-05/0.007538, allocations: 84.05 kB / 1.07 GB, free: 29.9 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.606e-05/0.007614, allocations: 127.7 kB / 1.07 GB, free: 29.79 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.318e-05/0.007627, allocations: 33.64 kB / 1.07 GB, free: 29.75 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 3.75e-05/0.007665, allocations: 101.8 kB / 1.07 GB, free: 29.66 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 1.57e-05/0.007681, allocations: 14.19 kB / 1.07 GB, free: 29.65 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-05/0.007728, allocations: 29.91 kB / 1.07 GB, free: 29.62 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.176e-05/0.00777, allocations: 321 kB / 1.071 GB, free: 29.31 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001635/0.007933, allocations: 106.6 kB / 1.071 GB, free: 29.23 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001607/0.008094, allocations: 100.7 kB / 1.071 GB, free: 29.16 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002664/0.00836, allocations: 168.3 kB / 1.071 GB, free: 29.04 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.008362, allocations: 0 / 1.071 GB, free: 29.04 MB / 1.01 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003822/0.008745, allocations: 276.8 kB / 1.071 GB, free: 28.84 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.272e-05/0.008777, allocations: 65.12 kB / 1.071 GB, free: 28.77 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.008782, allocations: 0 / 1.071 GB, free: 28.77 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.448e-05/0.008796, allocations: 3.125 kB / 1.071 GB, free: 28.77 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001201/0.008916, allocations: 16.94 kB / 1.071 GB, free: 28.77 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.008921, allocations: 0 / 1.071 GB, free: 28.77 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001271/0.009048, allocations: 21.62 kB / 1.071 GB, free: 28.76 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.526e-05/0.009064, allocations: 6.578 kB / 1.071 GB, free: 28.76 MB / 1.01 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.061e-05/0.009134, allocations: 147.1 kB / 1.072 GB, free: 28.61 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.721e-05/0.009152, allocations: 14.89 kB / 1.072 GB, free: 28.6 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.00918, allocations: 14.72 kB / 1.072 GB, free: 28.59 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.009183, allocations: 2.562 kB / 1.072 GB, free: 28.59 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.009187, allocations: 0 / 1.072 GB, free: 28.59 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.009189, allocations: 0 / 1.072 GB, free: 28.59 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004353/0.009625, allocations: 410.3 kB / 1.072 GB, free: 28.26 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.009626, allocations: 0 / 1.072 GB, free: 28.26 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.809e-05/0.009714, allocations: 15.84 kB / 1.072 GB, free: 28.25 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.009716, allocations: 4 kB / 1.072 GB, free: 28.25 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.437e-05/0.009731, allocations: 2.812 kB / 1.072 GB, free: 28.25 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.009732, allocations: 0 / 1.072 GB, free: 28.25 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.009733, allocations: 0 / 1.072 GB, free: 28.25 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003855/0.01012, allocations: 308 kB / 1.072 GB, free: 28.02 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 1.378e-05/0.01013, allocations: 6.422 kB / 1.072 GB, free: 28.02 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.187e-05/0.01015, allocations: 2.594 kB / 1.072 GB, free: 28.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001397/0.01029, allocations: 18.36 kB / 1.072 GB, free: 28.01 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.748e-05/0.01038, allocations: 22.41 kB / 1.072 GB, free: 28 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.01039, allocations: 6.047 kB / 1.072 GB, free: 28 MB / 1.01 GB Notification: Performance of sorting global known variables: time 3.982e-05/0.01043, allocations: 104.1 kB / 1.072 GB, free: 27.92 MB / 1.01 GB Notification: Performance of sort global known variables: time 9e-08/0.01043, allocations: 0 / 1.072 GB, free: 27.92 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002391/0.01067, allocations: 15.5 kB / 1.072 GB, free: 27.92 MB / 1.01 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.0001024/0.01077, allocations: 108 kB / 1.073 GB, free: 27.83 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004071/0.01118, allocations: 302.9 kB / 1.073 GB, free: 27.58 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.01118, allocations: 0 / 1.073 GB, free: 27.58 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 0.0001783/0.01136, allocations: 139.6 kB / 1.073 GB, free: 27.47 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002737/0.01163, allocations: 11.22 kB / 1.073 GB, free: 27.46 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004588/0.01209, allocations: 225.9 kB / 1.073 GB, free: 27.29 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.962e-05/0.01214, allocations: 85.12 kB / 1.073 GB, free: 27.21 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 4.907e-05/0.01219, allocations: 10.81 kB / 1.073 GB, free: 27.21 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.537e-05/0.01223, allocations: 11.09 kB / 1.073 GB, free: 27.2 MB / 1.01 GB Notification: Performance of SimCode: time 3.2e-07/0.01223, allocations: 3.938 kB / 1.073 GB, free: 27.2 MB / 1.01 GB Notification: Performance of Templates: time 0.003803/0.01603, allocations: 1.409 MB / 1.075 GB, free: 27.08 MB / 1.01 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: 8.996428988000844]