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) 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 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_10_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.00166/0.00166, allocations: 111 kB / 16.41 MB, free: 6.461 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.001732/0.001732, allocations: 189.5 kB / 17.35 MB, free: 5.715 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.471/2.471, allocations: 437 MB / 0.7112 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001457/0.001457, allocations: 59.91 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8164/0.8179, allocations: 151.6 MB / 1.167 GB, free: 3.777 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002801/0.8207, allocations: 1.528 MB / 1.169 GB, free: 2.242 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0008634/0.8216, allocations: 454.9 kB / 1.169 GB, free: 1.793 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.692e-05/0.8217, allocations: 4 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001385/0.8219, allocations: 7.938 kB / 1.169 GB, free: 1.781 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 7.797e-05/0.822, allocations: 23.73 kB / 1.169 GB, free: 1.758 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002708/0.8223, allocations: 19.97 kB / 1.169 GB, free: 1.738 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001856/0.8225, allocations: 95.69 kB / 1.169 GB, free: 1.645 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001519/0.8226, allocations: 24.17 kB / 1.169 GB, free: 1.621 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001881/0.8228, allocations: 35.86 kB / 1.169 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001092/0.8229, allocations: 43.83 kB / 1.169 GB, free: 1.543 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 3.644e-05/0.823, allocations: 7.984 kB / 1.169 GB, free: 1.535 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 2.631e-05/0.823, allocations: 8 kB / 1.169 GB, free: 1.527 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 6.766e-05/0.8231, allocations: 15.92 kB / 1.169 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.298e-05/0.8232, allocations: 31.86 kB / 1.17 GB, free: 1.48 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.8234, allocations: 68.22 kB / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.472e-06/0.8234, allocations: 0 / 1.17 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.475e-06/0.8234, allocations: 8 kB / 1.17 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 7.194e-06/0.8234, allocations: 0 / 1.17 GB, free: 1.41 MB / 0.8887 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.0007673/0.8242, allocations: 446.5 kB / 1.17 GB, free: 0.9141 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.8243, allocations: 12.92 kB / 1.17 GB, free: 0.9023 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.479e-05/0.8243, allocations: 8.891 kB / 1.17 GB, free: 0.8945 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001886/0.8245, allocations: 189.5 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.476e-05/0.8245, allocations: 384 / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/0.8246, allocations: 12.31 kB / 1.17 GB, free: 0.6602 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002958/0.8249, allocations: 101.8 kB / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.8249, allocations: 0 / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.373e-05/0.8249, allocations: 0 / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.658e-06/0.8249, allocations: 0 / 1.17 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000273/0.8252, allocations: 75.92 kB / 1.17 GB, free: 492 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005527/0.8258, allocations: 336.7 kB / 1.171 GB, free: 104 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.826, allocations: 78.52 kB / 1.171 GB, free: 16 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001824/0.8262, allocations: 52.94 kB / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.577e-05/0.8263, allocations: 0 / 1.171 GB, free: 15.96 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003278/0.8266, allocations: 115.3 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=7): time 3.267e-06/0.8266, allocations: 3.984 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0006437/0.8273, allocations: 203.2 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.8273, allocations: 85.11 kB / 1.171 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.8274, allocations: 138 kB / 1.171 GB, free: 15.37 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.881e-05/0.8275, allocations: 29.64 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.343e-05/0.8275, allocations: 96.12 kB / 1.171 GB, free: 15.24 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.8276, allocations: 19.86 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.614e-05/0.8276, allocations: 25.7 kB / 1.172 GB, free: 15.19 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.8277, allocations: 326.8 kB / 1.172 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001669/0.8279, allocations: 47.91 kB / 1.172 GB, free: 14.81 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/0.8281, allocations: 51.95 kB / 1.172 GB, free: 14.76 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003107/0.8284, allocations: 169.8 kB / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.8284, allocations: 0 / 1.172 GB, free: 14.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004301/0.8288, allocations: 212.9 kB / 1.172 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.333e-05/0.8289, allocations: 67.39 kB / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.95e-06/0.8289, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.8289, allocations: 0 / 1.172 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001285/0.8291, allocations: 15.98 kB / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.8291, allocations: 0 / 1.172 GB, free: 14.25 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001337/0.8292, allocations: 23.88 kB / 1.172 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.877e-05/0.8292, allocations: 4 kB / 1.172 GB, free: 14.23 MB / 0.9044 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.0001191/0.8294, allocations: 159.4 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.909e-05/0.8294, allocations: 7.953 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.212e-05/0.8294, allocations: 12.72 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.8294, allocations: 0 / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.8295, allocations: 288 / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.332e-05/0.8295, allocations: 89.05 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.8295, allocations: 3.938 kB / 1.173 GB, free: 13.93 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001194/0.8297, allocations: 19.92 kB / 1.173 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001081/0.8298, allocations: 23.97 kB / 1.173 GB, free: 13.88 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005273/0.8303, allocations: 302 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0004727/0.8308, allocations: 356.7 kB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001815/0.831, allocations: 63.89 kB / 1.173 GB, free: 13.13 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.158e-05/0.8311, allocations: 100.5 kB / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of Backend: time 5.31e-07/0.8311, allocations: 0 / 1.174 GB, free: 13.03 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0005719/0.8316, allocations: 255.8 kB / 1.174 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0005777/0.8322, allocations: 0.6748 MB / 1.174 GB, free: 12.02 MB / 0.9044 GB Notification: Performance of Templates: time 0.004071/0.8363, allocations: 1.504 MB / 1.176 GB, free: 10.53 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches