Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001455/0.001455, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001595/0.001595, allocations: 186.1 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.57/1.57, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.929/2.929, allocations: 476.7 MB / 0.7646 GB, free: 9.859 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002395/0.002395, allocations: 67.89 kB / 1.11 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.143/1.145, allocations: 168.8 MB / 1.274 GB, free: 4.211 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002786/1.148, allocations: 0.6854 MB / 1.275 GB, free: 3.531 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002174/1.15, allocations: 1.209 MB / 1.276 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.424e-05/1.15, allocations: 0 / 1.276 GB, free: 2.309 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.605e-05/1.15, allocations: 3.938 kB / 1.276 GB, free: 2.305 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001082/1.15, allocations: 7.938 kB / 1.276 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009099/1.151, allocations: 220 kB / 1.276 GB, free: 2.086 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003612/1.152, allocations: 183.6 kB / 1.277 GB, free: 1.906 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/1.152, allocations: 12 kB / 1.277 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001982/1.152, allocations: 75.88 kB / 1.277 GB, free: 1.82 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001889/1.152, allocations: 63.84 kB / 1.277 GB, free: 1.758 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.857e-05/1.152, allocations: 16 kB / 1.277 GB, free: 1.742 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.565e-05/1.152, allocations: 27.98 kB / 1.277 GB, free: 1.715 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.083e-05/1.152, allocations: 15.88 kB / 1.277 GB, free: 1.699 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/1.152, allocations: 59.88 kB / 1.277 GB, free: 1.641 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002909/1.153, allocations: 155.2 kB / 1.277 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/1.153, allocations: 0 / 1.277 GB, free: 1.492 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.823e-06/1.153, allocations: 3.938 kB / 1.277 GB, free: 1.488 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 7.734e-06/1.153, allocations: 0 / 1.277 GB, free: 1.488 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007156/1.153, allocations: 368.2 kB / 1.277 GB, free: 1.09 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/1.153, allocations: 12.03 kB / 1.277 GB, free: 1.078 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.299e-05/1.153, allocations: 12.89 kB / 1.277 GB, free: 1.066 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001382/1.154, allocations: 122.4 kB / 1.277 GB, free: 0.9219 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.65e-05/1.154, allocations: 4.375 kB / 1.278 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.664e-05/1.154, allocations: 8.375 kB / 1.278 GB, free: 0.9102 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001587/1.154, allocations: 59.19 kB / 1.278 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.287e-06/1.154, allocations: 0 / 1.278 GB, free: 0.8477 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.213e-05/1.154, allocations: 3.938 kB / 1.278 GB, free: 0.8438 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/1.154, allocations: 4 kB / 1.278 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.469e-05/1.154, allocations: 15.98 kB / 1.278 GB, free: 0.8242 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006838/1.155, allocations: 323.8 kB / 1.278 GB, free: 476 kB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/1.155, allocations: 34.56 kB / 1.278 GB, free: 432 kB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.597e-05/1.155, allocations: 12.86 kB / 1.278 GB, free: 416 kB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.217e-05/1.155, allocations: 4.031 kB / 1.278 GB, free: 412 kB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002524/1.155, allocations: 107.2 kB / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.292e-06/1.155, allocations: 0 / 1.278 GB, free: 292 kB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0003297/1.155, allocations: 121.6 kB / 1.278 GB, free: 164 kB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.182e-05/1.155, allocations: 55.41 kB / 1.278 GB, free: 96 kB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001437/1.156, allocations: 121.8 kB / 1.278 GB, free: 15.96 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.301e-05/1.156, allocations: 29.7 kB / 1.278 GB, free: 15.93 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.598e-05/1.156, allocations: 88.38 kB / 1.278 GB, free: 15.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.253e-05/1.156, allocations: 31.83 kB / 1.278 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/1.156, allocations: 53.69 kB / 1.279 GB, free: 15.75 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001858/1.156, allocations: 322.8 kB / 1.279 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001466/1.156, allocations: 59.97 kB / 1.279 GB, free: 15.36 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001945/1.156, allocations: 114.2 kB / 1.279 GB, free: 15.23 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002637/1.157, allocations: 189.3 kB / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/1.157, allocations: 0 / 1.279 GB, free: 15.01 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004876/1.157, allocations: 288.8 kB / 1.279 GB, free: 14.71 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.551e-05/1.157, allocations: 71.33 kB / 1.28 GB, free: 14.63 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/1.157, allocations: 4 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/1.157, allocations: 0 / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.603e-05/1.157, allocations: 4 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.757e-06/1.157, allocations: 4 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003146/1.158, allocations: 56.09 kB / 1.28 GB, free: 14.56 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.92e-05/1.158, allocations: 15.98 kB / 1.28 GB, free: 14.55 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 (onCounter.y,$PRE.onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,reset.y,$PRE.reset.y,$whenCondition2,booPul.y,$PRE.booPul.y,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * 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.0001318/1.158, allocations: 127.9 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.92e-05/1.158, allocations: 11.94 kB / 1.28 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.764e-05/1.158, allocations: 8.375 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/1.158, allocations: 0 / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/1.158, allocations: 4 kB / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.158, allocations: 0 / 1.28 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003983/1.158, allocations: 333.5 kB / 1.28 GB, free: 14.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.158, allocations: 3.938 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.119e-05/1.158, allocations: 3.984 kB / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/1.158, allocations: 0 / 1.28 GB, free: 14.01 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.719e-05/1.158, allocations: 8 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.547e-06/1.158, allocations: 4 kB / 1.28 GB, free: 14 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.055e-06/1.158, allocations: 3.938 kB / 1.28 GB, free: 13.99 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002141/1.158, allocations: 191.4 kB / 1.28 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.904e-05/1.158, allocations: 23.88 kB / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.858e-05/1.158, allocations: 0 / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.077e-05/1.159, allocations: 0 / 1.28 GB, free: 13.77 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.398e-05/1.159, allocations: 11.92 kB / 1.28 GB, free: 13.75 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.625e-05/1.159, allocations: 11.94 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.357e-05/1.159, allocations: 91.27 kB / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7.1e-08/1.159, allocations: 0 / 1.28 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002799/1.159, allocations: 28.19 kB / 1.28 GB, free: 13.62 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.000199/1.159, allocations: 111.2 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004058/1.16, allocations: 230.6 kB / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.16, allocations: 0 / 1.281 GB, free: 13.26 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.495e-05/1.16, allocations: 27.92 kB / 1.281 GB, free: 13.23 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/1.16, allocations: 16.86 kB / 1.281 GB, free: 13.21 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004335/1.16, allocations: 174.8 kB / 1.281 GB, free: 13.02 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003964/1.161, allocations: 0.6885 MB / 1.282 GB, free: 12.3 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.127e-05/1.161, allocations: 12.61 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.504e-05/1.161, allocations: 11.44 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/1.161, allocations: 0 / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of Templates: time 0.005553/1.166, allocations: 1.964 MB / 1.284 GB, free: 10.34 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.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: 9.833372545428574]