Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001266/0.001266, allocations: 111.3 kB / 17.08 MB, free: 6.012 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 193.2 kB / 20.03 MB, free: 3.082 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.435/1.435, allocations: 222.9 MB / 245.7 MB, free: 4.215 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.7/2.7, allocations: 437.1 MB / 0.7177 GB, free: 4.527 MB / 0.5606 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_10_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_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001988/0.001988, allocations: 71.89 kB / 1.028 GB, free: 13.79 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.292/0.294, allocations: 151.6 MB / 1.176 GB, free: 6.047 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002681/0.2967, allocations: 1.517 MB / 1.177 GB, free: 4.508 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0007989/0.2976, allocations: 450.9 kB / 1.178 GB, free: 4.062 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.657e-05/0.2976, allocations: 0 / 1.178 GB, free: 4.062 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 9.123e-05/0.2977, allocations: 11.86 kB / 1.178 GB, free: 4.051 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.084e-05/0.2978, allocations: 23.8 kB / 1.178 GB, free: 4.027 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001943/0.298, allocations: 23.97 kB / 1.178 GB, free: 4.004 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001666/0.2982, allocations: 95.7 kB / 1.178 GB, free: 3.91 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001098/0.2983, allocations: 24.16 kB / 1.178 GB, free: 3.887 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.2984, allocations: 39.84 kB / 1.178 GB, free: 3.848 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.546e-05/0.2985, allocations: 31.84 kB / 1.178 GB, free: 3.816 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.375e-05/0.2985, allocations: 8 kB / 1.178 GB, free: 3.809 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.011e-05/0.2986, allocations: 8 kB / 1.178 GB, free: 3.801 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.803e-05/0.2986, allocations: 15.92 kB / 1.178 GB, free: 3.785 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.352e-05/0.2987, allocations: 35.84 kB / 1.178 GB, free: 3.75 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000163/0.2989, allocations: 71.61 kB / 1.178 GB, free: 3.68 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.2989, allocations: 3.984 kB / 1.178 GB, free: 3.676 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.453e-06/0.2989, allocations: 4 kB / 1.178 GB, free: 3.672 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.781e-06/0.2989, allocations: 0 / 1.178 GB, free: 3.672 MB / 0.92 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.0007513/0.2996, allocations: 446.5 kB / 1.179 GB, free: 3.176 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.2997, allocations: 8.031 kB / 1.179 GB, free: 3.168 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.936e-05/0.2997, allocations: 12.89 kB / 1.179 GB, free: 3.156 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002005/0.2999, allocations: 188.2 kB / 1.179 GB, free: 2.934 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.707e-05/0.3, allocations: 8.359 kB / 1.179 GB, free: 2.926 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.585e-05/0.3, allocations: 8.312 kB / 1.179 GB, free: 2.918 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002893/0.3003, allocations: 101.8 kB / 1.179 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3003, allocations: 0 / 1.179 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3003, allocations: 0 / 1.179 GB, free: 2.812 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.377e-05/0.3003, allocations: 3.984 kB / 1.179 GB, free: 2.809 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002787/0.3006, allocations: 67.94 kB / 1.179 GB, free: 2.742 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.3012, allocations: 340.7 kB / 1.179 GB, free: 2.359 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003087/0.3015, allocations: 82.5 kB / 1.179 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001689/0.3017, allocations: 48.95 kB / 1.179 GB, free: 2.219 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.3017, allocations: 0 / 1.179 GB, free: 2.219 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003121/0.302, allocations: 111.3 kB / 1.179 GB, free: 2.098 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.3021, allocations: 0 / 1.179 GB, free: 2.098 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006334/0.3027, allocations: 211.2 kB / 1.18 GB, free: 1.879 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.216e-05/0.3028, allocations: 81.09 kB / 1.18 GB, free: 1.781 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001208/0.3029, allocations: 136.6 kB / 1.18 GB, free: 1.637 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.549e-05/0.3029, allocations: 37.69 kB / 1.18 GB, free: 1.594 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 6.135e-05/0.303, allocations: 88.14 kB / 1.18 GB, free: 1.504 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.892e-05/0.303, allocations: 27.78 kB / 1.18 GB, free: 1.477 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.111e-05/0.3031, allocations: 25.72 kB / 1.18 GB, free: 1.445 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.3033, allocations: 326.7 kB / 1.18 GB, free: 1.117 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001701/0.3034, allocations: 43.97 kB / 1.18 GB, free: 1.074 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001556/0.3036, allocations: 55.89 kB / 1.18 GB, free: 1.02 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003428/0.3039, allocations: 169.9 kB / 1.181 GB, free: 0.832 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.304, allocations: 0 / 1.181 GB, free: 0.832 MB / 0.92 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004506/0.3044, allocations: 204.9 kB / 1.181 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 6.081e-05/0.3045, allocations: 71.39 kB / 1.181 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.3045, allocations: 0 / 1.181 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.3045, allocations: 0 / 1.181 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001251/0.3046, allocations: 19.98 kB / 1.181 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.3047, allocations: 320 / 1.181 GB, free: 0.5117 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001313/0.3048, allocations: 23.92 kB / 1.181 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.3048, allocations: 3.938 kB / 1.181 GB, free: 496 kB / 0.92 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.0001265/0.305, allocations: 155.5 kB / 1.181 GB, free: 324 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.257e-05/0.305, allocations: 7.953 kB / 1.181 GB, free: 316 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.305, allocations: 16.7 kB / 1.181 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.305, allocations: 288 / 1.181 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.305, allocations: 0 / 1.181 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.766e-06/0.305, allocations: 0 / 1.181 GB, free: 300 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006456/0.3057, allocations: 444 kB / 1.182 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.3057, allocations: 0 / 1.182 GB, free: 15.8 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.749e-05/0.3058, allocations: 15.98 kB / 1.182 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.3058, allocations: 0 / 1.182 GB, free: 15.78 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.394e-05/0.3058, allocations: 7.938 kB / 1.182 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.154e-05/0.3058, allocations: 3.938 kB / 1.182 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.3059, allocations: 0 / 1.182 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000463/0.3063, allocations: 273.1 kB / 1.182 GB, free: 15.48 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.977e-05/0.3064, allocations: 81.06 kB / 1.182 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.639e-05/0.3064, allocations: 7.984 kB / 1.182 GB, free: 15.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001503/0.3066, allocations: 15.92 kB / 1.182 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.925e-05/0.3067, allocations: 23.97 kB / 1.182 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.251e-05/0.3067, allocations: 4 kB / 1.182 GB, free: 15.33 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.195e-05/0.3068, allocations: 99.27 kB / 1.182 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.3068, allocations: 0 / 1.182 GB, free: 15.23 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002401/0.307, allocations: 16 kB / 1.182 GB, free: 15.22 MB / 0.9356 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.0001689/0.3072, allocations: 111.2 kB / 1.182 GB, free: 15.1 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005352/0.3078, allocations: 218.7 kB / 1.182 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.3078, allocations: 0 / 1.182 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002447/0.308, allocations: 115.2 kB / 1.182 GB, free: 14.74 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/0.3083, allocations: 22.22 kB / 1.183 GB, free: 14.72 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005727/0.3089, allocations: 216.6 kB / 1.183 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003861/0.3093, allocations: 0.6963 MB / 1.183 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.825e-05/0.3094, allocations: 11.44 kB / 1.183 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of SimCode: time 2.3e-07/0.3094, allocations: 0 / 1.183 GB, free: 13.74 MB / 0.9356 GB Notification: Performance of Templates: time 0.003201/0.3126, allocations: 1.269 MB / 1.185 GB, free: 12.48 MB / 0.9356 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_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: 10.308575230068527]