Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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.001177/0.001177, allocations: 92.2 kB / 20.21 MB, free: 4.211 MB / 18.57 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.001361/0.001361, allocations: 157.3 kB / 23.51 MB, free: 0.9062 MB / 18.57 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 0.8935/0.8935, allocations: 177.2 MB / 203.9 MB, free: 5.574 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.91/1.91, allocations: 428.6 MB / 0.6727 GB, free: 4.891 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.DataCenter.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter") translateModel(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|act1.y|act2.y|act3.y|reqCou.nInc",fileNamePrefix="Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.192e-06/1.192e-06, allocations: 0 / 0.8763 GB, free: 8.66 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.523e-05/1.642e-05, allocations: 2.312 kB / 0.8763 GB, free: 8.656 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter): time 0.001705/0.001722, allocations: 1.537 MB / 0.8778 GB, free: 7.133 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0008168/0.002538, allocations: 499.3 kB / 0.8783 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.252e-05/0.002601, allocations: 3.938 kB / 0.8783 GB, free: 6.641 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 8.989e-05/0.002691, allocations: 8.453 kB / 0.8783 GB, free: 6.633 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.814e-05/0.002739, allocations: 24.67 kB / 0.8783 GB, free: 6.609 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002485/0.002987, allocations: 37.11 kB / 0.8783 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.003124, allocations: 87.75 kB / 0.8784 GB, free: 6.488 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 9.45e-05/0.003219, allocations: 8 kB / 0.8784 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.003377, allocations: 72.72 kB / 0.8785 GB, free: 6.41 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 6.215e-05/0.003439, allocations: 27.95 kB / 0.8785 GB, free: 6.383 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.992e-05/0.003459, allocations: 4 kB / 0.8785 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.84e-05/0.003497, allocations: 9.125 kB / 0.8785 GB, free: 6.371 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.917e-05/0.003537, allocations: 19.92 kB / 0.8786 GB, free: 6.352 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.259e-05/0.003579, allocations: 23.92 kB / 0.8786 GB, free: 6.328 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.003725, allocations: 88.84 kB / 0.8787 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.984e-06/0.003727, allocations: 0 / 0.8787 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of FrontEnd: time 7.02e-07/0.003728, allocations: 0 / 0.8787 GB, free: 6.242 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.003731, allocations: 1.062 kB / 0.8787 GB, free: 6.242 MB / 0.8386 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.0005198/0.004251, allocations: 378.1 kB / 0.879 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.004286, allocations: 12.03 kB / 0.879 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001235/0.004409, allocations: 23.97 kB / 0.8791 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001683/0.004577, allocations: 140.5 kB / 0.8792 GB, free: 5.641 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.118e-06/0.004587, allocations: 4.375 kB / 0.8792 GB, free: 5.637 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.726e-05/0.004604, allocations: 8.375 kB / 0.8792 GB, free: 5.629 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002058/0.00481, allocations: 119.9 kB / 0.8793 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.004817, allocations: 192 / 0.8793 GB, free: 5.5 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.228e-05/0.004829, allocations: 5.812 kB / 0.8793 GB, free: 5.496 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.352e-06/0.004836, allocations: 7.922 kB / 0.8793 GB, free: 5.488 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.004986, allocations: 102.1 kB / 0.8794 GB, free: 5.383 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003457/0.005332, allocations: 262.1 kB / 0.8797 GB, free: 5.098 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/0.005499, allocations: 105.9 kB / 0.8798 GB, free: 4.98 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.061e-05/0.00559, allocations: 82.52 kB / 0.8799 GB, free: 4.891 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.005607, allocations: 9 kB / 0.8799 GB, free: 4.883 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001668/0.005774, allocations: 133 kB / 0.88 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=7): time 1.112e-06/0.005775, allocations: 0.5312 kB / 0.88 GB, free: 4.734 MB / 0.8386 GB Notification: Performance of matching and sorting (n=7): time 0.0003843/0.00616, allocations: 272.2 kB / 0.8803 GB, free: 4.445 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.695e-05/0.006197, allocations: 92.97 kB / 0.8803 GB, free: 4.336 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.819e-05/0.006275, allocations: 130.1 kB / 0.8805 GB, free: 4.195 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.375e-05/0.006288, allocations: 29.7 kB / 0.8805 GB, free: 4.16 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 4.786e-05/0.006336, allocations: 96.09 kB / 0.8806 GB, free: 4.062 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.543e-05/0.006352, allocations: 23.83 kB / 0.8806 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.452e-05/0.006386, allocations: 21.72 kB / 0.8806 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.641e-05/0.006463, allocations: 318.8 kB / 0.8809 GB, free: 3.691 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001046/0.006567, allocations: 107.4 kB / 0.881 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.299e-05/0.00666, allocations: 107.4 kB / 0.8811 GB, free: 3.457 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004157/0.007076, allocations: 170 kB / 0.8813 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.007078, allocations: 0 / 0.8813 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002564/0.007334, allocations: 280.2 kB / 0.8816 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3e-05/0.007364, allocations: 55.41 kB / 0.8816 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.007369, allocations: 0 / 0.8816 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.007381, allocations: 8 kB / 0.8816 GB, free: 2.891 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.898e-05/0.00745, allocations: 15.92 kB / 0.8816 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.508e-06/0.007454, allocations: 0 / 0.8816 GB, free: 2.875 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.194e-05/0.007516, allocations: 31.92 kB / 0.8817 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.155e-05/0.007528, allocations: 4 kB / 0.8817 GB, free: 2.84 MB / 0.8386 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 7.609e-05/0.007604, allocations: 143.5 kB / 0.8818 GB, free: 2.684 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.68e-05/0.007621, allocations: 19.88 kB / 0.8818 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.17e-05/0.007643, allocations: 12.78 kB / 0.8819 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.007644, allocations: 4 kB / 0.8819 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.007649, allocations: 0 / 0.8819 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.866e-06/0.007652, allocations: 0 / 0.8819 GB, free: 2.648 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002997/0.007952, allocations: 405.5 kB / 0.8822 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.007953, allocations: 0 / 0.8822 GB, free: 2.203 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.634e-05/0.007989, allocations: 11.98 kB / 0.8823 GB, free: 2.191 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.007992, allocations: 4 kB / 0.8823 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.008004, allocations: 3.984 kB / 0.8823 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.008005, allocations: 4 kB / 0.8823 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.008006, allocations: 0 / 0.8823 GB, free: 2.18 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002349/0.008241, allocations: 298.8 kB / 0.8825 GB, free: 1.859 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.105e-05/0.008252, allocations: 11.89 kB / 0.8826 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.008267, allocations: 0 / 0.8826 GB, free: 1.848 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.519e-05/0.008332, allocations: 19.97 kB / 0.8826 GB, free: 1.828 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.453e-05/0.008417, allocations: 31.84 kB / 0.8826 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.394e-06/0.008424, allocations: 0 / 0.8826 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.323e-05/0.008467, allocations: 109.8 kB / 0.8827 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.008467, allocations: 0 / 0.8827 GB, free: 1.691 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001642/0.008632, allocations: 16 kB / 0.8827 GB, free: 1.676 MB / 0.8386 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 6.955e-05/0.008701, allocations: 99.25 kB / 0.8828 GB, free: 1.57 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002798/0.008981, allocations: 307.8 kB / 0.8831 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.008982, allocations: 0 / 0.8831 GB, free: 1.227 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.000113/0.009095, allocations: 137 kB / 0.8832 GB, free: 1.074 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001921/0.009287, allocations: 27.84 kB / 0.8833 GB, free: 1.047 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003536/0.009641, allocations: 252 kB / 0.8835 GB, free: 0.7617 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.18e-05/0.009693, allocations: 79.33 kB / 0.8836 GB, free: 0.6641 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.512e-05/0.009728, allocations: 12.5 kB / 0.8836 GB, free: 0.6523 MB / 0.8386 GB Notification: Performance of SimCode: time 4.91e-07/0.009728, allocations: 4 kB / 0.8836 GB, free: 0.6484 MB / 0.8386 GB Notification: Performance of Templates: time 0.001955/0.01168, allocations: 1.314 MB / 0.8849 GB, free: 15.34 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe ; mkfifo Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe >> ../files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.sim & ./Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter -emit_protected > Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.BaseClasses.Controls.Examples.RequestCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Examples_ChillerPlant_DataCenter_BaseClasses_Controls_Examples_RequestCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Examples.ChillerPlant.DataCenter.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: 6.550833923742175]