Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001619/0.001619, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001952/0.001952, allocations: 191.7 kB / 22.23 MB, free: 5.105 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.566/1.566, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 3.255/3.255, allocations: 496 MB / 0.7835 GB, free: 33.74 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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_12_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_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002064/0.002064, allocations: 67.98 kB / 1.138 GB, free: 33.87 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3138/0.3159, allocations: 173.6 MB / 1.307 GB, free: 1.801 MB / 0.9981 GB
Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002734/0.3186, allocations: 1.54 MB / 1.309 GB, free: 256 kB / 0.9981 GB
Notification: Performance of NFInst.instExpressions: time 0.0008548/0.3195, allocations: 458.9 kB / 1.309 GB, free: 15.8 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 5.579e-05/0.3195, allocations: 4 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 9.585e-05/0.3196, allocations: 7.922 kB / 1.309 GB, free: 15.79 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 5.139e-05/0.3197, allocations: 15.81 kB / 1.309 GB, free: 15.77 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002293/0.3199, allocations: 35.89 kB / 1.309 GB, free: 15.73 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.00017/0.3201, allocations: 87.7 kB / 1.309 GB, free: 15.65 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.3202, allocations: 12.17 kB / 1.309 GB, free: 15.64 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.3203, allocations: 39.91 kB / 1.309 GB, free: 15.6 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 8.843e-05/0.3204, allocations: 47.83 kB / 1.309 GB, free: 15.55 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 2.557e-05/0.3204, allocations: 4 kB / 1.309 GB, free: 15.55 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.857e-05/0.3204, allocations: 8 kB / 1.309 GB, free: 15.54 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 4.904e-05/0.3205, allocations: 11.94 kB / 1.309 GB, free: 15.53 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 6.105e-05/0.3206, allocations: 31.86 kB / 1.31 GB, free: 15.5 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001501/0.3207, allocations: 83.52 kB / 1.31 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.3207, allocations: 0 / 1.31 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.242e-06/0.3207, allocations: 0 / 1.31 GB, free: 15.41 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 5.791e-06/0.3207, allocations: 0 / 1.31 GB, free: 15.41 MB / 1.014 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.0007265/0.3214, allocations: 369.5 kB / 1.31 GB, free: 15.01 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.102e-05/0.3215, allocations: 12.92 kB / 1.31 GB, free: 15 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.3215, allocations: 12.84 kB / 1.31 GB, free: 14.99 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001765/0.3217, allocations: 134.4 kB / 1.31 GB, free: 14.83 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.3217, allocations: 4.375 kB / 1.31 GB, free: 14.83 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.001e-05/0.3217, allocations: 4.375 kB / 1.31 GB, free: 14.82 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003148/0.3221, allocations: 101.7 kB / 1.31 GB, free: 14.72 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3221, allocations: 0 / 1.31 GB, free: 14.72 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.3221, allocations: 0 / 1.31 GB, free: 14.72 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.583e-06/0.3221, allocations: 8 kB / 1.31 GB, free: 14.71 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002949/0.3224, allocations: 67.94 kB / 1.31 GB, free: 14.64 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006116/0.323, allocations: 307.7 kB / 1.311 GB, free: 14.3 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003146/0.3233, allocations: 82.52 kB / 1.311 GB, free: 14.21 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001716/0.3235, allocations: 48.95 kB / 1.311 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.3235, allocations: 0 / 1.311 GB, free: 14.16 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003222/0.3238, allocations: 103.4 kB / 1.311 GB, free: 14.05 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=7): time 1.353e-06/0.3238, allocations: 4 kB / 1.311 GB, free: 14.04 MB / 1.014 GB
Notification: Performance of matching and sorting (n=7): time 0.0006612/0.3245, allocations: 207.2 kB / 1.311 GB, free: 13.83 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.579e-05/0.3245, allocations: 89.08 kB / 1.311 GB, free: 13.72 MB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001191/0.3247, allocations: 131.4 kB / 1.311 GB, free: 13.58 MB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 2.631e-05/0.3247, allocations: 33.64 kB / 1.311 GB, free: 13.54 MB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 6.916e-05/0.3248, allocations: 96.09 kB / 1.311 GB, free: 13.45 MB / 1.014 GB
Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.3248, allocations: 23.83 kB / 1.311 GB, free: 13.42 MB / 1.014 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.75e-05/0.3248, allocations: 21.72 kB / 1.311 GB, free: 13.39 MB / 1.014 GB
Notification: Performance of setup shared object (initialization): time 0.0001478/0.325, allocations: 330.8 kB / 1.312 GB, free: 13.06 MB / 1.014 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001802/0.3252, allocations: 47.95 kB / 1.312 GB, free: 13.02 MB / 1.014 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.000171/0.3253, allocations: 55.91 kB / 1.312 GB, free: 12.96 MB / 1.014 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003541/0.3257, allocations: 165.9 kB / 1.312 GB, free: 12.78 MB / 1.014 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.3257, allocations: 3.938 kB / 1.312 GB, free: 12.77 MB / 1.014 GB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004691/0.3262, allocations: 216.9 kB / 1.312 GB, free: 12.54 MB / 1.014 GB
Notification: Performance of prepare postOptimizeDAE: time 5.628e-05/0.3262, allocations: 55.41 kB / 1.312 GB, free: 12.48 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.3262, allocations: 4 kB / 1.312 GB, free: 12.47 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3263, allocations: 0 / 1.312 GB, free: 12.47 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001316/0.3264, allocations: 15.98 kB / 1.312 GB, free: 12.46 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.3264, allocations: 4 kB / 1.312 GB, free: 12.45 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001427/0.3265, allocations: 19.92 kB / 1.312 GB, free: 12.43 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.079e-05/0.3266, allocations: 11.94 kB / 1.312 GB, free: 12.42 MB / 1.014 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.0001287/0.3267, allocations: 143.5 kB / 1.312 GB, free: 12.27 MB / 1.014 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 1.991e-05/0.3267, allocations: 7.953 kB / 1.312 GB, free: 12.26 MB / 1.014 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/0.3267, allocations: 12.7 kB / 1.312 GB, free: 12.24 MB / 1.014 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.3268, allocations: 7.938 kB / 1.312 GB, free: 12.23 MB / 1.014 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.3268, allocations: 4.281 kB / 1.312 GB, free: 12.23 MB / 1.014 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/0.3268, allocations: 0 / 1.312 GB, free: 12.23 MB / 1.014 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006138/0.3274, allocations: 403.5 kB / 1.313 GB, free: 11.78 MB / 1.014 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.3274, allocations: 3.938 kB / 1.313 GB, free: 11.78 MB / 1.014 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.366e-05/0.3275, allocations: 15.98 kB / 1.313 GB, free: 11.76 MB / 1.014 GB
Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.3275, allocations: 0 / 1.313 GB, free: 11.76 MB / 1.014 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.421e-05/0.3275, allocations: 4 kB / 1.313 GB, free: 11.76 MB / 1.014 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.327e-06/0.3275, allocations: 7.938 kB / 1.313 GB, free: 11.75 MB / 1.014 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3275, allocations: 80 / 1.313 GB, free: 11.75 MB / 1.014 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004684/0.328, allocations: 269 kB / 1.313 GB, free: 11.46 MB / 1.014 GB
Notification: Performance of postOpt removeConstants (simulation): time 1.839e-05/0.328, allocations: 7.953 kB / 1.313 GB, free: 11.46 MB / 1.014 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.784e-05/0.328, allocations: 7.984 kB / 1.313 GB, free: 11.45 MB / 1.014 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001603/0.3282, allocations: 23.92 kB / 1.313 GB, free: 11.43 MB / 1.014 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001047/0.3283, allocations: 19.97 kB / 1.313 GB, free: 11.41 MB / 1.014 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.588e-06/0.3283, allocations: 0 / 1.313 GB, free: 11.41 MB / 1.014 GB
Notification: Performance of sorting global known variables: time 7.649e-05/0.3284, allocations: 106.2 kB / 1.313 GB, free: 11.3 MB / 1.014 GB
Notification: Performance of sort global known variables: time 7.1e-08/0.3284, allocations: 0 / 1.313 GB, free: 11.3 MB / 1.014 GB
Notification: Performance of remove unused functions: time 0.0002436/0.3286, allocations: 20 kB / 1.313 GB, free: 11.29 MB / 1.014 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.0001378/0.3287, allocations: 100 kB / 1.313 GB, free: 11.18 MB / 1.014 GB
Notification: Performance of simCode: created initialization part: time 0.0005014/0.3292, allocations: 218.7 kB / 1.314 GB, free: 10.94 MB / 1.014 GB
Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.3292, allocations: 0 / 1.314 GB, free: 10.94 MB / 1.014 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002279/0.3295, allocations: 111.3 kB / 1.314 GB, free: 10.82 MB / 1.014 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000292/0.3298, allocations: 20.72 kB / 1.314 GB, free: 10.8 MB / 1.014 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005755/0.3303, allocations: 216 kB / 1.314 GB, free: 10.57 MB / 1.014 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003559/0.3307, allocations: 0.6924 MB / 1.315 GB, free: 9.848 MB / 1.014 GB
Notification: Performance of simCode: alias equations: time 6.018e-05/0.3307, allocations: 11.98 kB / 1.315 GB, free: 9.836 MB / 1.014 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.568e-05/0.3308, allocations: 11.44 kB / 1.315 GB, free: 9.824 MB / 1.014 GB
Notification: Performance of SimCode: time 2.6e-07/0.3308, allocations: 0 / 1.315 GB, free: 9.824 MB / 1.014 GB
Notification: Performance of Templates: time 0.00426/0.3351, allocations: 1.367 MB / 1.316 GB, free: 8.473 MB / 1.014 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300]
(rm -f Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter  -abortSlowSimulation -alarm=400  -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 400]
diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 8.84237117599696]