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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001373/0.001373, allocations: 78.41 kB / 19.18 MB, free: 2.531 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001532/0.001532, allocations: 169.9 kB / 22.46 MB, free: 5.363 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.506/1.506, allocations: 177.2 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.785/2.785, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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 1.572e-06/1.572e-06, allocations: 0 / 0.9814 GB, free: 11.98 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.142e-05/3.299e-05, allocations: 2.281 kB / 0.9814 GB, free: 11.97 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002717/0.00275, allocations: 1.545 MB / 0.9829 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0009376/0.003687, allocations: 490.7 kB / 0.9834 GB, free: 9.93 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.176e-05/0.003749, allocations: 4 kB / 0.9834 GB, free: 9.926 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001129/0.003862, allocations: 3.938 kB / 0.9834 GB, free: 9.922 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.553e-05/0.003927, allocations: 23.8 kB / 0.9834 GB, free: 9.898 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003194/0.004247, allocations: 43.81 kB / 0.9835 GB, free: 9.855 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002087/0.004456, allocations: 87.72 kB / 0.9836 GB, free: 9.77 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.004596, allocations: 19.97 kB / 0.9836 GB, free: 9.75 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002544/0.004851, allocations: 59.83 kB / 0.9836 GB, free: 9.691 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001014/0.004952, allocations: 27.89 kB / 0.9837 GB, free: 9.664 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 3.356e-05/0.004986, allocations: 8 kB / 0.9837 GB, free: 9.656 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.08e-05/0.005046, allocations: 12 kB / 0.9837 GB, free: 9.645 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.135e-05/0.005098, allocations: 15.92 kB / 0.9837 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.996e-05/0.005158, allocations: 23.92 kB / 0.9837 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001889/0.005347, allocations: 83.75 kB / 0.9838 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.00535, allocations: 0 / 0.9838 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of FrontEnd: time 9.82e-07/0.005351, allocations: 0 / 0.9838 GB, free: 9.523 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.005356, allocations: 4 kB / 0.9838 GB, free: 9.52 MB / 0.9356 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.0007548/0.006111, allocations: 381.3 kB / 0.9842 GB, free: 9.105 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.896e-05/0.00615, allocations: 8.031 kB / 0.9842 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001731/0.006323, allocations: 20.88 kB / 0.9842 GB, free: 9.078 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.006601, allocations: 136.8 kB / 0.9843 GB, free: 8.922 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.757e-05/0.006619, allocations: 12.38 kB / 0.9843 GB, free: 8.91 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.006637, allocations: 4.375 kB / 0.9843 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003247/0.006962, allocations: 115.9 kB / 0.9845 GB, free: 8.781 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.00697, allocations: 4.188 kB / 0.9845 GB, free: 8.777 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.578e-05/0.006986, allocations: 4.375 kB / 0.9845 GB, free: 8.773 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.151e-06/0.006992, allocations: 3.938 kB / 0.9845 GB, free: 8.77 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003391/0.007331, allocations: 105.6 kB / 0.9846 GB, free: 8.66 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005781/0.00791, allocations: 260.4 kB / 0.9848 GB, free: 8.375 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003483/0.008258, allocations: 108.2 kB / 0.9849 GB, free: 8.254 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000196/0.008454, allocations: 82.67 kB / 0.985 GB, free: 8.164 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.008467, allocations: 3.938 kB / 0.985 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003613/0.008828, allocations: 137 kB / 0.9851 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 1.523e-06/0.00883, allocations: 0 / 0.9851 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0007135/0.009543, allocations: 266.6 kB / 0.9854 GB, free: 7.723 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.604e-05/0.009609, allocations: 77.11 kB / 0.9855 GB, free: 7.629 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001337/0.009743, allocations: 130.1 kB / 0.9856 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.766e-05/0.009771, allocations: 33.64 kB / 0.9856 GB, free: 7.449 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 8.385e-05/0.009855, allocations: 104 kB / 0.9857 GB, free: 7.344 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.686e-05/0.009881, allocations: 23.86 kB / 0.9857 GB, free: 7.32 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.246e-05/0.009944, allocations: 25.7 kB / 0.9858 GB, free: 7.289 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.0101, allocations: 318.8 kB / 0.9861 GB, free: 6.969 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002322/0.01033, allocations: 107.3 kB / 0.9862 GB, free: 6.852 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002085/0.01054, allocations: 103.4 kB / 0.9863 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003736/0.01091, allocations: 173.9 kB / 0.9864 GB, free: 6.547 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.01091, allocations: 4 kB / 0.9864 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005301/0.01144, allocations: 272.2 kB / 0.9867 GB, free: 6.246 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 6.693e-05/0.01151, allocations: 59.41 kB / 0.9868 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.01151, allocations: 0 / 0.9868 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.01153, allocations: 0 / 0.9868 GB, free: 6.176 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001433/0.01167, allocations: 19.97 kB / 0.9868 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.829e-06/0.01168, allocations: 0 / 0.9868 GB, free: 6.156 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001366/0.01181, allocations: 23.92 kB / 0.9868 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.617e-05/0.01183, allocations: 7.938 kB / 0.9868 GB, free: 6.125 MB / 0.9356 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.0001291/0.01196, allocations: 147.5 kB / 0.9869 GB, free: 5.965 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.755e-05/0.01199, allocations: 15.88 kB / 0.987 GB, free: 5.949 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.186e-05/0.01203, allocations: 12.78 kB / 0.987 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.01203, allocations: 0 / 0.987 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.01203, allocations: 0 / 0.987 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.01204, allocations: 0 / 0.987 GB, free: 5.938 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006299/0.01267, allocations: 405.5 kB / 0.9874 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.01267, allocations: 0 / 0.9874 GB, free: 5.492 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.746e-05/0.01276, allocations: 19.91 kB / 0.9874 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.834e-06/0.01277, allocations: 288 / 0.9874 GB, free: 5.473 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.01278, allocations: 7.938 kB / 0.9874 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.01278, allocations: 0 / 0.9874 GB, free: 5.465 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.01278, allocations: 3.938 kB / 0.9874 GB, free: 5.461 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005216/0.0133, allocations: 303.1 kB / 0.9877 GB, free: 5.137 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 1.589e-05/0.01332, allocations: 7.953 kB / 0.9877 GB, free: 5.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.01335, allocations: 8 kB / 0.9877 GB, free: 5.121 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001534/0.0135, allocations: 15.97 kB / 0.9877 GB, free: 5.105 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.609e-05/0.0136, allocations: 19.97 kB / 0.9877 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.041e-05/0.01361, allocations: 0 / 0.9877 GB, free: 5.086 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.16e-05/0.01369, allocations: 103.3 kB / 0.9878 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of sort global known variables: time 7e-08/0.01369, allocations: 0 / 0.9878 GB, free: 4.984 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002534/0.01395, allocations: 16 kB / 0.9878 GB, free: 4.969 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.0001345/0.01408, allocations: 117.3 kB / 0.988 GB, free: 4.848 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0005769/0.01466, allocations: 299.8 kB / 0.9882 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.01466, allocations: 0 / 0.9882 GB, free: 4.512 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0002543/0.01491, allocations: 137 kB / 0.9884 GB, free: 4.359 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000298/0.01521, allocations: 19.92 kB / 0.9884 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005792/0.01579, allocations: 226.8 kB / 0.9886 GB, free: 4.086 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.902e-05/0.01588, allocations: 75.58 kB / 0.9887 GB, free: 3.992 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.661e-05/0.01594, allocations: 11.98 kB / 0.9887 GB, free: 3.98 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.685e-05/0.01598, allocations: 12.5 kB / 0.9887 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of SimCode: time 4.81e-07/0.01598, allocations: 0 / 0.9887 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of Templates: time 0.00458/0.02056, allocations: 1.417 MB / 0.9901 GB, free: 2.582 MB / 0.9356 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: 7.959726125001907]