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.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.000824/0.000824, allocations: 76.5 kB / 19.93 MB, free: 4.629 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.0008845/0.0008845, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8188/0.8188, allocations: 177.1 MB / 203.5 MB, free: 5.715 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.692/1.692, allocations: 389 MB / 0.6338 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/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.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.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_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 1.001 GB, free: 13.04 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.724e-05/2.896e-05, allocations: 2.281 kB / 1.001 GB, free: 13.03 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter): time 0.00214/0.002169, allocations: 1.551 MB / 1.002 GB, free: 11.47 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0006905/0.002859, allocations: 483.6 kB / 1.003 GB, free: 11 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.309e-05/0.002932, allocations: 11.94 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.003051, allocations: 3.938 kB / 1.003 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 4.499e-05/0.003096, allocations: 15.84 kB / 1.003 GB, free: 10.96 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002879/0.003384, allocations: 47.77 kB / 1.003 GB, free: 10.92 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001435/0.003527, allocations: 83.77 kB / 1.003 GB, free: 10.84 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.003638, allocations: 11.98 kB / 1.003 GB, free: 10.82 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.003813, allocations: 63.81 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.68e-05/0.00388, allocations: 27.91 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.078e-05/0.0039, allocations: 8 kB / 1.003 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.857e-05/0.003939, allocations: 12 kB / 1.003 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 3.894e-05/0.003978, allocations: 15.92 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.004022, allocations: 27.91 kB / 1.003 GB, free: 10.67 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.000145/0.004167, allocations: 79.75 kB / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.063e-06/0.004169, allocations: 0 / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.71e-07/0.00417, allocations: 0 / 1.003 GB, free: 10.59 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.004174, allocations: 4 kB / 1.003 GB, free: 10.59 MB / 0.9636 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.0005431/0.004717, allocations: 373.4 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.535e-05/0.004753, allocations: 8.75 kB / 1.004 GB, free: 10.18 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001132/0.004866, allocations: 24.88 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.005038, allocations: 129.7 kB / 1.004 GB, free: 10 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.686e-05/0.005055, allocations: 12.31 kB / 1.004 GB, free: 9.988 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.374e-05/0.005068, allocations: 4.375 kB / 1.004 GB, free: 9.984 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.005269, allocations: 123.9 kB / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.336e-06/0.005278, allocations: 192 / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.188e-05/0.00529, allocations: 384 / 1.004 GB, free: 9.852 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.005296, allocations: 3.938 kB / 1.004 GB, free: 9.848 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000146/0.005441, allocations: 105.6 kB / 1.004 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.005821, allocations: 260.4 kB / 1.004 GB, free: 9.453 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000166/0.005987, allocations: 108.2 kB / 1.004 GB, free: 9.332 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.185e-05/0.006079, allocations: 90.52 kB / 1.004 GB, free: 9.234 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.504e-05/0.006094, allocations: 3.984 kB / 1.004 GB, free: 9.23 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001847/0.006278, allocations: 137.1 kB / 1.005 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=7): time 1.393e-06/0.00628, allocations: 0 / 1.005 GB, free: 9.078 MB / 0.9636 GB Notification: Performance of matching and sorting (n=7): time 0.0003883/0.006668, allocations: 262.6 kB / 1.005 GB, free: 8.797 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.247e-05/0.006711, allocations: 77.11 kB / 1.005 GB, free: 8.703 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.006e-05/0.006791, allocations: 136.8 kB / 1.005 GB, free: 8.559 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.006805, allocations: 29.7 kB / 1.005 GB, free: 8.523 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.32e-05/0.006858, allocations: 104 kB / 1.005 GB, free: 8.418 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.588e-05/0.006874, allocations: 27.78 kB / 1.005 GB, free: 8.391 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.639e-05/0.00691, allocations: 25.7 kB / 1.005 GB, free: 8.359 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.308e-05/0.006983, allocations: 322.8 kB / 1.006 GB, free: 8.035 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.958e-05/0.007083, allocations: 103.4 kB / 1.006 GB, free: 7.922 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.866e-05/0.007171, allocations: 103.4 kB / 1.006 GB, free: 7.809 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001815/0.007353, allocations: 173.9 kB / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.007355, allocations: 0 / 1.006 GB, free: 7.617 MB / 0.9636 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002548/0.00761, allocations: 272.2 kB / 1.006 GB, free: 7.32 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 3.928e-05/0.007649, allocations: 59.41 kB / 1.006 GB, free: 7.25 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.672e-06/0.007656, allocations: 4.297 kB / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.007668, allocations: 0 / 1.006 GB, free: 7.246 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.257e-05/0.007741, allocations: 20.27 kB / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/0.007746, allocations: 0 / 1.006 GB, free: 7.227 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.93e-05/0.007805, allocations: 19.92 kB / 1.006 GB, free: 7.207 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.437e-05/0.007819, allocations: 11.92 kB / 1.006 GB, free: 7.195 MB / 0.9636 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.159e-05/0.007901, allocations: 151.5 kB / 1.006 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.157e-05/0.007913, allocations: 11.89 kB / 1.006 GB, free: 7.02 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.14e-05/0.007944, allocations: 12.78 kB / 1.006 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.294e-06/0.007946, allocations: 0 / 1.006 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.007951, allocations: 0 / 1.006 GB, free: 7.004 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/0.007955, allocations: 7.984 kB / 1.006 GB, free: 6.996 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003127/0.008267, allocations: 405.5 kB / 1.007 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.008269, allocations: 0 / 1.007 GB, free: 6.551 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.536e-05/0.008304, allocations: 11.98 kB / 1.007 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.008306, allocations: 0 / 1.007 GB, free: 6.539 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.071e-05/0.008317, allocations: 11.94 kB / 1.007 GB, free: 6.527 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.00832, allocations: 4 kB / 1.007 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.008321, allocations: 0 / 1.007 GB, free: 6.523 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002376/0.008559, allocations: 294.8 kB / 1.007 GB, free: 6.207 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 9.749e-06/0.008569, allocations: 7.953 kB / 1.007 GB, free: 6.199 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.926e-05/0.008588, allocations: 11.98 kB / 1.007 GB, free: 6.188 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.068e-05/0.008649, allocations: 11.98 kB / 1.007 GB, free: 6.176 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.945e-05/0.008728, allocations: 19.97 kB / 1.007 GB, free: 6.156 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.008736, allocations: 4 kB / 1.007 GB, free: 6.152 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.028e-05/0.008777, allocations: 99.27 kB / 1.007 GB, free: 6.055 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.008777, allocations: 4 kB / 1.007 GB, free: 6.051 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001494/0.008926, allocations: 23.94 kB / 1.007 GB, free: 6.027 MB / 0.9636 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 8.075e-05/0.009007, allocations: 105.4 kB / 1.007 GB, free: 5.914 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002653/0.009272, allocations: 299.8 kB / 1.008 GB, free: 5.578 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.009275, allocations: 4 kB / 1.008 GB, free: 5.574 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.0001153/0.00939, allocations: 141 kB / 1.008 GB, free: 5.418 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001972/0.009587, allocations: 15.92 kB / 1.008 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005569/0.01014, allocations: 256.5 kB / 1.008 GB, free: 5.113 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.139e-05/0.0102, allocations: 75.33 kB / 1.008 GB, free: 5.02 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.542e-05/0.01023, allocations: 12.5 kB / 1.008 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of SimCode: time 5.31e-07/0.01023, allocations: 0 / 1.008 GB, free: 5.008 MB / 0.9636 GB Notification: Performance of Templates: time 0.002103/0.01233, allocations: 1.302 MB / 1.009 GB, free: 3.711 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.makefile [Timeout 300] (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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Examples.ChillerPlant.BaseClasses.Controls.Examples.RequestCounter.pipe 2>&1) [Timeout 800] 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 6.424215921200812]