Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001312/0.001312, allocations: 104.3 kB / 16.36 MB, free: 6.309 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.001505/0.001505, allocations: 192.2 kB / 17.3 MB, free: 5.871 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.384/1.384, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.515/2.515, allocations: 442.6 MB / 0.7166 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 68.41 kB / 0.8774 GB, free: 10.96 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3188, allocations: 153 MB / 1.027 GB, free: 2.039 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002858/0.3217, allocations: 1.535 MB / 1.028 GB, free: 0.5 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0007893/0.3225, allocations: 454.7 kB / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.367e-05/0.3226, allocations: 0 / 1.029 GB, free: 52 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.671e-05/0.3227, allocations: 11.94 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.003e-05/0.3228, allocations: 23.78 kB / 1.029 GB, free: 16 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002316/0.323, allocations: 28.11 kB / 1.029 GB, free: 15.98 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.3232, allocations: 87.7 kB / 1.029 GB, free: 15.9 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001272/0.3233, allocations: 12.19 kB / 1.029 GB, free: 15.89 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001282/0.3234, allocations: 43.89 kB / 1.029 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.775e-05/0.3235, allocations: 43.83 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.092e-05/0.3236, allocations: 4 kB / 1.029 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 2.138e-05/0.3236, allocations: 11.94 kB / 1.029 GB, free: 15.79 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 4.672e-05/0.3237, allocations: 11.94 kB / 1.029 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 6.94e-05/0.3237, allocations: 39.78 kB / 1.029 GB, free: 15.73 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000147/0.3239, allocations: 63.78 kB / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/0.3239, allocations: 0 / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3239, allocations: 0 / 1.029 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.979e-06/0.3239, allocations: 0 / 1.029 GB, free: 15.67 MB / 0.8106 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.0007442/0.3247, allocations: 450.5 kB / 1.029 GB, free: 15.18 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 5.378e-05/0.3247, allocations: 8.031 kB / 1.03 GB, free: 15.17 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.803e-05/0.3248, allocations: 12.84 kB / 1.03 GB, free: 15.16 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002214/0.325, allocations: 184.2 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.325, allocations: 4.375 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.358e-05/0.3251, allocations: 8.375 kB / 1.03 GB, free: 14.93 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002971/0.3254, allocations: 105.7 kB / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.3254, allocations: 0 / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.3254, allocations: 0 / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.3254, allocations: 0 / 1.03 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.3257, allocations: 75.86 kB / 1.03 GB, free: 14.74 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006357/0.3264, allocations: 336.6 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002785/0.3266, allocations: 86.45 kB / 1.03 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001562/0.3268, allocations: 52.94 kB / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.637e-05/0.3268, allocations: 0 / 1.03 GB, free: 14.21 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000309/0.3272, allocations: 107.4 kB / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.392e-06/0.3272, allocations: 0 / 1.03 GB, free: 14.1 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0005915/0.3278, allocations: 215.2 kB / 1.031 GB, free: 13.88 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.3278, allocations: 81.11 kB / 1.031 GB, free: 13.78 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.3279, allocations: 130.1 kB / 1.031 GB, free: 13.64 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.859e-05/0.328, allocations: 33.7 kB / 1.031 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.012e-05/0.328, allocations: 104 kB / 1.031 GB, free: 13.49 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.797e-05/0.3281, allocations: 11.81 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.247e-05/0.3281, allocations: 29.7 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001016/0.3282, allocations: 318.8 kB / 1.031 GB, free: 13.12 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001509/0.3284, allocations: 51.89 kB / 1.031 GB, free: 13.07 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001471/0.3285, allocations: 55.95 kB / 1.031 GB, free: 13.02 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002849/0.3288, allocations: 161.9 kB / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.3288, allocations: 0 / 1.032 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003969/0.3292, allocations: 213 kB / 1.032 GB, free: 12.61 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.522e-05/0.3293, allocations: 67.39 kB / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.3293, allocations: 96 / 1.032 GB, free: 12.54 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.3294, allocations: 7.938 kB / 1.032 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001331/0.3295, allocations: 15.98 kB / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.3295, allocations: 0 / 1.032 GB, free: 12.51 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001256/0.3297, allocations: 23.83 kB / 1.032 GB, free: 12.49 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.403e-05/0.3297, allocations: 0 / 1.032 GB, free: 12.49 MB / 0.8106 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.0001266/0.3298, allocations: 163.3 kB / 1.032 GB, free: 12.31 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.817e-05/0.3298, allocations: 7.906 kB / 1.032 GB, free: 12.3 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.3299, allocations: 16.72 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.3299, allocations: 0 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3299, allocations: 0 / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 4.447e-05/0.3299, allocations: 85 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.886e-05/0.33, allocations: 7.938 kB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001125/0.3301, allocations: 15.98 kB / 1.032 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.3302, allocations: 19.97 kB / 1.032 GB, free: 12.14 MB / 0.8106 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005461/0.3308, allocations: 314 kB / 1.032 GB, free: 11.81 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004897/0.3313, allocations: 344.3 kB / 1.033 GB, free: 11.45 MB / 0.8106 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001903/0.3315, allocations: 67.81 kB / 1.033 GB, free: 11.38 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 7.246e-05/0.3315, allocations: 106.2 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of Backend: time 4.61e-07/0.3315, allocations: 0 / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0006152/0.3322, allocations: 253.2 kB / 1.033 GB, free: 11 MB / 0.8106 GB Notification: Performance of SimCode: time 0.0005977/0.3328, allocations: 0.6517 MB / 1.034 GB, free: 10.29 MB / 0.8106 GB Notification: Performance of Templates: time 0.003927/0.3367, allocations: 1.515 MB / 1.035 GB, free: 8.793 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches