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.0008152/0.0008152, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001275/0.00209, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0009844/0.0009844, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001244/0.002229, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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.9214/0.9214, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09096/1.012, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.773/1.773, allocations: 378.2 MB / 0.6076 GB, free: 7.855 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4508/2.224, allocations: 123.3 MB / 0.728 GB, free: 5.84 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.233e-06/1.233e-06, allocations: 0 / 0.7293 GB, free: 4.562 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.121e-05/2.244e-05, allocations: 8.922 kB / 0.7293 GB, free: 4.555 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.002341/0.002364, allocations: 1.623 MB / 0.7309 GB, free: 2.945 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003735/0.006099, allocations: 0.5094 MB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.793e-05/0.006157, allocations: 0.9844 kB / 0.7314 GB, free: 2.438 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 6.176e-05/0.006218, allocations: 7.875 kB / 0.7314 GB, free: 2.43 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 4.901e-05/0.006267, allocations: 25.48 kB / 0.7314 GB, free: 2.41 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001658/0.006433, allocations: 41.23 kB / 0.7315 GB, free: 2.371 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0001627/0.006596, allocations: 93.67 kB / 0.7316 GB, free: 2.289 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.312e-05/0.006679, allocations: 12 kB / 0.7316 GB, free: 2.277 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001812/0.00686, allocations: 60.41 kB / 0.7316 GB, free: 2.219 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 7.184e-05/0.006932, allocations: 32.83 kB / 0.7317 GB, free: 2.188 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.036e-05/0.006952, allocations: 8 kB / 0.7317 GB, free: 2.18 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 5.694e-05/0.007009, allocations: 15.94 kB / 0.7317 GB, free: 2.164 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.649e-05/0.007046, allocations: 16.42 kB / 0.7317 GB, free: 2.148 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.576e-05/0.007082, allocations: 12.88 kB / 0.7317 GB, free: 2.137 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.007205, allocations: 51.78 kB / 0.7318 GB, free: 2.086 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.484e-05/0.00722, allocations: 5.375 kB / 0.7318 GB, free: 2.082 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.292e-06/0.007221, allocations: 0 / 0.7318 GB, free: 2.082 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.624e-05/0.007237, allocations: 0 / 0.7318 GB, free: 2.082 MB / 0.698 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.0005214/0.007759, allocations: 364.3 kB / 0.7321 GB, free: 1.691 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.2e-05/0.007791, allocations: 8.031 kB / 0.7321 GB, free: 1.684 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001548/0.007946, allocations: 102.7 kB / 0.7322 GB, free: 1.566 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001512/0.008097, allocations: 127.4 kB / 0.7323 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.098e-05/0.008108, allocations: 4.375 kB / 0.7324 GB, free: 1.414 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.207e-05/0.00812, allocations: 4.375 kB / 0.7324 GB, free: 1.41 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001631/0.008283, allocations: 120.5 kB / 0.7325 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.00829, allocations: 1.25 kB / 0.7325 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.268e-06/0.008299, allocations: 384 / 0.7325 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.008305, allocations: 3.938 kB / 0.7325 GB, free: 1.273 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.705e-05/0.008352, allocations: 43.69 kB / 0.7325 GB, free: 1.227 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003345/0.0117, allocations: 198.9 kB / 0.7327 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.446e-05/0.01179, allocations: 64.25 kB / 0.7328 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.012e-05/0.01183, allocations: 47.84 kB / 0.7328 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.244e-05/0.01184, allocations: 0 / 0.7328 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001469/0.01199, allocations: 109 kB / 0.7329 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.493e-06/0.01199, allocations: 0.5312 kB / 0.7329 GB, free: 0.7578 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.000176/0.01217, allocations: 155.6 kB / 0.7331 GB, free: 0.582 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.497e-05/0.0122, allocations: 59.39 kB / 0.7331 GB, free: 0.5117 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.741e-05/0.01228, allocations: 129.7 kB / 0.7332 GB, free: 384 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.653e-05/0.0123, allocations: 33.7 kB / 0.7333 GB, free: 344 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.413e-05/0.01234, allocations: 92.7 kB / 0.7334 GB, free: 248 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.01236, allocations: 23.78 kB / 0.7334 GB, free: 224 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.864e-05/0.01241, allocations: 31.5 kB / 0.7334 GB, free: 188 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.751e-05/0.01251, allocations: 318.8 kB / 0.7337 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.983e-05/0.01256, allocations: 71.34 kB / 0.7338 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.459e-05/0.01261, allocations: 71.39 kB / 0.7339 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.268e-05/0.01269, allocations: 116.8 kB / 0.734 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.01269, allocations: 4.969 kB / 0.734 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001365/0.01283, allocations: 184.3 kB / 0.7342 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 4.544e-05/0.01287, allocations: 59.41 kB / 0.7342 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.01288, allocations: 0.5 kB / 0.7342 GB, free: 15.28 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.919e-06/0.01289, allocations: 5.047 kB / 0.7342 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.152e-05/0.01298, allocations: 19.98 kB / 0.7342 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.01298, allocations: 4.875 kB / 0.7342 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.011e-05/0.01304, allocations: 12 kB / 0.7342 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.165e-05/0.01306, allocations: 8.734 kB / 0.7343 GB, free: 15.23 MB / 0.7136 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 8.213e-05/0.01314, allocations: 142.9 kB / 0.7344 GB, free: 15.07 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.753e-05/0.01315, allocations: 16.73 kB / 0.7344 GB, free: 15.06 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.516e-05/0.01318, allocations: 12.78 kB / 0.7344 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.01318, allocations: 0 / 0.7344 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.813e-06/0.01318, allocations: 1.031 kB / 0.7344 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/0.01319, allocations: 0 / 0.7344 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.01339, allocations: 270.2 kB / 0.7347 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.01339, allocations: 0.6875 kB / 0.7347 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.416e-05/0.01345, allocations: 17.7 kB / 0.7347 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 1.193e-05/0.01346, allocations: 11.89 kB / 0.7347 GB, free: 14.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.925e-06/0.01346, allocations: 3.984 kB / 0.7347 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.01347, allocations: 4 kB / 0.7347 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.01347, allocations: 0 / 0.7347 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.01347, allocations: 1.219 kB / 0.7347 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001323/0.0136, allocations: 222.8 kB / 0.7349 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.058e-05/0.01363, allocations: 8 kB / 0.7349 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.887e-05/0.0137, allocations: 12.73 kB / 0.735 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.628e-05/0.01377, allocations: 11.98 kB / 0.735 GB, free: 14.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.109e-05/0.01378, allocations: 12.7 kB / 0.735 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.121e-05/0.01382, allocations: 24.83 kB / 0.735 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6e-08/0.01382, allocations: 0.75 kB / 0.735 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001799/0.014, allocations: 16 kB / 0.735 GB, free: 14.38 MB / 0.7136 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.0001046/0.01411, allocations: 86.16 kB / 0.7351 GB, free: 14.29 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.00319/0.0173, allocations: 240.7 kB / 0.7353 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/0.01731, allocations: 1.188 kB / 0.7353 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0001074/0.01742, allocations: 113.9 kB / 0.7354 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000197/0.01761, allocations: 16 kB / 0.7355 GB, free: 13.86 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000909/0.01852, allocations: 247.7 kB / 0.7357 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.052e-05/0.01856, allocations: 63.34 kB / 0.7357 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.863e-05/0.0186, allocations: 5.797 kB / 0.7358 GB, free: 13.5 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.1e-05/0.01868, allocations: 67.36 kB / 0.7358 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of SimCode: time 1.132e-06/0.01868, allocations: 0 / 0.7358 GB, free: 13.43 MB / 0.7136 GB Notification: Performance of Templates: time 0.006047/0.02473, allocations: 1.444 MB / 0.7372 GB, free: 12.07 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter/Buildings_12_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.696144578978419]