Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false)
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false)
Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter")
translateModel(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter")
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 111.2 kB / 15.99 MB, free: 6.344 MB / 14.72 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, allocations: 194.6 kB / 16.91 MB, free: 6.184 MB / 14.72 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 222.9 MB / 240.6 MB, free: 15.42 MB / 206.1 MB
Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.269/2.269, allocations: 390.3 MB / 0.665 GB, free: 0.918 MB / 0.5294 GB
Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001346, allocations: 63.38 kB / 0.8127 GB, free: 33.25 MB / 0.6231 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3024/0.3038, allocations: 140.4 MB / 0.9498 GB, free: 9.211 MB / 0.7325 GB
Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.003128/0.3069, allocations: 1.592 MB / 0.9513 GB, free: 7.609 MB / 0.7325 GB
Notification: Performance of NFInst.instExpressions: time 0.0008069/0.3078, allocations: 447 kB / 0.9518 GB, free: 7.168 MB / 0.7325 GB
Notification: Performance of NFInst.updateImplicitVariability: time 6.552e-05/0.3079, allocations: 0 / 0.9518 GB, free: 7.168 MB / 0.7325 GB
Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.308, allocations: 3.938 kB / 0.9518 GB, free: 7.164 MB / 0.7325 GB
Notification: Performance of NFTyping.typeBindings: time 6.767e-05/0.3081, allocations: 11.92 kB / 0.9518 GB, free: 7.152 MB / 0.7325 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0002341/0.3083, allocations: 27.98 kB / 0.9518 GB, free: 7.125 MB / 0.7325 GB
Notification: Performance of NFFlatten.flatten: time 0.0001597/0.3085, allocations: 91.69 kB / 0.9519 GB, free: 7.035 MB / 0.7325 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.3086, allocations: 16.17 kB / 0.9519 GB, free: 7.02 MB / 0.7325 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001545/0.3088, allocations: 47.84 kB / 0.9519 GB, free: 6.973 MB / 0.7325 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.3089, allocations: 35.84 kB / 0.952 GB, free: 6.938 MB / 0.7325 GB
Notification: Performance of NFPackage.collectConstants: time 2.736e-05/0.3089, allocations: 4 kB / 0.952 GB, free: 6.934 MB / 0.7325 GB
Notification: Performance of NFFlatten.collectFunctions: time 1.95e-05/0.309, allocations: 8 kB / 0.952 GB, free: 6.926 MB / 0.7325 GB
Notification: Performance of NFScalarize.scalarize: time 4.74e-05/0.309, allocations: 19.91 kB / 0.952 GB, free: 6.906 MB / 0.7325 GB
Notification: Performance of NFVerifyModel.verify: time 6.476e-05/0.3091, allocations: 31.86 kB / 0.952 GB, free: 6.875 MB / 0.7325 GB
Notification: Performance of NFConvertDAE.convert: time 0.0001243/0.3092, allocations: 44.2 kB / 0.9521 GB, free: 6.832 MB / 0.7325 GB
Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.3092, allocations: 0 / 0.9521 GB, free: 6.832 MB / 0.7325 GB
Notification: Performance of FrontEnd: time 1.673e-06/0.3092, allocations: 0 / 0.9521 GB, free: 6.832 MB / 0.7325 GB
Notification: Performance of Transformations before backend: time 8.576e-06/0.3092, allocations: 0 / 0.9521 GB, free: 6.832 MB / 0.7325 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.0007488/0.31, allocations: 462.4 kB / 0.9525 GB, free: 6.32 MB / 0.7325 GB
Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3101, allocations: 12.03 kB / 0.9525 GB, free: 6.309 MB / 0.7325 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.398e-05/0.3101, allocations: 8.844 kB / 0.9525 GB, free: 6.301 MB / 0.7325 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001944/0.3103, allocations: 188.2 kB / 0.9527 GB, free: 6.078 MB / 0.7325 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.368e-06/0.3103, allocations: 384 / 0.9527 GB, free: 6.078 MB / 0.7325 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.3104, allocations: 8.375 kB / 0.9527 GB, free: 6.07 MB / 0.7325 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002973/0.3107, allocations: 101.7 kB / 0.9528 GB, free: 5.965 MB / 0.7325 GB
Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.3107, allocations: 4 kB / 0.9528 GB, free: 5.961 MB / 0.7325 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.457e-05/0.3107, allocations: 3.938 kB / 0.9528 GB, free: 5.957 MB / 0.7325 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.508e-06/0.3107, allocations: 0 / 0.9528 GB, free: 5.957 MB / 0.7325 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002669/0.311, allocations: 75.92 kB / 0.9529 GB, free: 5.883 MB / 0.7325 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005807/0.3116, allocations: 336.6 kB / 0.9532 GB, free: 5.504 MB / 0.7325 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0002782/0.3119, allocations: 78.52 kB / 0.9533 GB, free: 5.418 MB / 0.7325 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001548/0.312, allocations: 52.94 kB / 0.9534 GB, free: 5.363 MB / 0.7325 GB
Notification: Performance of preOpt evalFunc (simulation): time 2.145e-05/0.3121, allocations: 0 / 0.9534 GB, free: 5.363 MB / 0.7325 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000335/0.3124, allocations: 115.4 kB / 0.9535 GB, free: 5.238 MB / 0.7325 GB
Notification: Performance of pre-optimization done (n=7): time 1.824e-06/0.3124, allocations: 0 / 0.9535 GB, free: 5.238 MB / 0.7325 GB
Notification: Performance of matching and sorting (n=7): time 0.0006136/0.313, allocations: 207.2 kB / 0.9537 GB, free: 5.023 MB / 0.7325 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.359e-05/0.3131, allocations: 85.11 kB / 0.9537 GB, free: 4.922 MB / 0.7325 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3133, allocations: 130.1 kB / 0.9539 GB, free: 4.781 MB / 0.7325 GB
Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.3133, allocations: 29.7 kB / 0.9539 GB, free: 4.746 MB / 0.7325 GB
Notification: Performance of collectInitialEqns (initialization): time 6.027e-05/0.3133, allocations: 104 kB / 0.954 GB, free: 4.641 MB / 0.7325 GB
Notification: Performance of collectInitialBindings (initialization): time 2.277e-05/0.3134, allocations: 11.81 kB / 0.954 GB, free: 4.629 MB / 0.7325 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.799e-05/0.3134, allocations: 29.7 kB / 0.954 GB, free: 4.594 MB / 0.7325 GB
Notification: Performance of setup shared object (initialization): time 0.000112/0.3136, allocations: 322.8 kB / 0.9543 GB, free: 4.27 MB / 0.7325 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.3137, allocations: 51.89 kB / 0.9544 GB, free: 4.219 MB / 0.7325 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001532/0.3139, allocations: 55.95 kB / 0.9544 GB, free: 4.164 MB / 0.7325 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003043/0.3142, allocations: 157.9 kB / 0.9546 GB, free: 3.988 MB / 0.7325 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.3142, allocations: 0 / 0.9546 GB, free: 3.988 MB / 0.7325 GB
Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004135/0.3146, allocations: 217 kB / 0.9548 GB, free: 3.758 MB / 0.7325 GB
Notification: Performance of prepare postOptimizeDAE: time 5.167e-05/0.3147, allocations: 63.39 kB / 0.9549 GB, free: 3.684 MB / 0.7325 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.923e-06/0.3147, allocations: 4 kB / 0.9549 GB, free: 3.68 MB / 0.7325 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.3147, allocations: 7.938 kB / 0.9549 GB, free: 3.672 MB / 0.7325 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.3149, allocations: 11.98 kB / 0.9549 GB, free: 3.66 MB / 0.7325 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.3149, allocations: 0 / 0.9549 GB, free: 3.66 MB / 0.7325 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001412/0.315, allocations: 23.83 kB / 0.9549 GB, free: 3.637 MB / 0.7325 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.909e-05/0.3151, allocations: 7.938 kB / 0.9549 GB, free: 3.629 MB / 0.7325 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.0001152/0.3152, allocations: 155.4 kB / 0.9551 GB, free: 3.461 MB / 0.7325 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.282e-05/0.3152, allocations: 11.91 kB / 0.9551 GB, free: 3.449 MB / 0.7325 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.344e-05/0.3152, allocations: 12.72 kB / 0.9551 GB, free: 3.438 MB / 0.7325 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3153, allocations: 0 / 0.9551 GB, free: 3.438 MB / 0.7325 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.3153, allocations: 0 / 0.9551 GB, free: 3.438 MB / 0.7325 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.3153, allocations: 0 / 0.9551 GB, free: 3.438 MB / 0.7325 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000557/0.3158, allocations: 436.1 kB / 0.9555 GB, free: 2.949 MB / 0.7325 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/0.3159, allocations: 0 / 0.9555 GB, free: 2.949 MB / 0.7325 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.662e-05/0.3159, allocations: 15.97 kB / 0.9555 GB, free: 2.934 MB / 0.7325 GB
Notification: Performance of postOpt tearingSystem (simulation): time 3.086e-06/0.316, allocations: 4 kB / 0.9555 GB, free: 2.93 MB / 0.7325 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.386e-05/0.316, allocations: 4 kB / 0.9555 GB, free: 2.926 MB / 0.7325 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.119e-06/0.316, allocations: 3.938 kB / 0.9555 GB, free: 2.922 MB / 0.7325 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.316, allocations: 3.938 kB / 0.9555 GB, free: 2.918 MB / 0.7325 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004216/0.3164, allocations: 269.1 kB / 0.9558 GB, free: 2.633 MB / 0.7325 GB
Notification: Performance of postOpt removeConstants (simulation): time 4.518e-05/0.3165, allocations: 89.02 kB / 0.9559 GB, free: 2.527 MB / 0.7325 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.3165, allocations: 0 / 0.9559 GB, free: 2.527 MB / 0.7325 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001499/0.3167, allocations: 15.92 kB / 0.9559 GB, free: 2.512 MB / 0.7325 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.3168, allocations: 27.97 kB / 0.9559 GB, free: 2.484 MB / 0.7325 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/0.3168, allocations: 0 / 0.9559 GB, free: 2.484 MB / 0.7325 GB
Notification: Performance of sorting global known variables: time 6.928e-05/0.3169, allocations: 105.6 kB / 0.956 GB, free: 2.383 MB / 0.7325 GB
Notification: Performance of sort global known variables: time 2e-07/0.3169, allocations: 0 / 0.956 GB, free: 2.383 MB / 0.7325 GB
Notification: Performance of remove unused functions: time 0.0002417/0.3171, allocations: 20 kB / 0.956 GB, free: 2.363 MB / 0.7325 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.000149/0.3173, allocations: 107.7 kB / 0.9561 GB, free: 2.246 MB / 0.7325 GB
Notification: Performance of simCode: created initialization part: time 0.0004476/0.3177, allocations: 222.7 kB / 0.9564 GB, free: 2.004 MB / 0.7325 GB
Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3178, allocations: 0 / 0.9564 GB, free: 2.004 MB / 0.7325 GB
Notification: Performance of simCode: created simulation system equations: time 0.0002055/0.318, allocations: 115.3 kB / 0.9565 GB, free: 1.879 MB / 0.7325 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.3183, allocations: 9.312 kB / 0.9565 GB, free: 1.871 MB / 0.7325 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000563/0.3189, allocations: 244.8 kB / 0.9567 GB, free: 1.598 MB / 0.7325 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002506/0.3191, allocations: 0.7003 MB / 0.9574 GB, free: 0.8711 MB / 0.7325 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 4.892e-05/0.3192, allocations: 19.44 kB / 0.9574 GB, free: 0.8516 MB / 0.7325 GB
Notification: Performance of SimCode: time 1.543e-06/0.3192, allocations: 0 / 0.9574 GB, free: 0.8516 MB / 0.7325 GB
Notification: Performance of Templates: time 0.003112/0.3223, allocations: 1.248 MB / 0.9586 GB, free: 15.61 MB / 0.7481 GB
make -j1 -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile
(rm -f Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter  -abortSlowSimulation -alarm=480  -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1)
diffSimulationResults("Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001)
Reference file matches