Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001416/0.001416, allocations: 113.9 kB / 18.94 MB, free: 2.953 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.001792/0.001792, allocations: 189.5 kB / 22.23 MB, free: 5.137 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.432/1.432, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.102/3.102, allocations: 0.4893 GB / 0.7884 GB, free: 33.2 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 68.27 kB / 1.145 GB, free: 30.55 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4127, allocations: 174.9 MB / 1.316 GB, free: 9.602 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001977/0.4147, allocations: 0.6869 MB / 1.317 GB, free: 8.918 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001598/0.4163, allocations: 1.206 MB / 1.318 GB, free: 7.699 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.4163, allocations: 0 / 1.318 GB, free: 7.699 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.278e-05/0.4164, allocations: 7.938 kB / 1.318 GB, free: 7.691 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.59e-05/0.4164, allocations: 19.84 kB / 1.318 GB, free: 7.672 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000654/0.4171, allocations: 221.7 kB / 1.318 GB, free: 7.461 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002475/0.4173, allocations: 171.7 kB / 1.318 GB, free: 7.293 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.4174, allocations: 12 kB / 1.318 GB, free: 7.281 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001056/0.4176, allocations: 79.81 kB / 1.318 GB, free: 7.203 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000134/0.4177, allocations: 67.78 kB / 1.318 GB, free: 7.137 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 3.189e-05/0.4177, allocations: 20 kB / 1.318 GB, free: 7.117 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 7.348e-05/0.4178, allocations: 27.98 kB / 1.318 GB, free: 7.09 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.864e-05/0.4178, allocations: 15.92 kB / 1.318 GB, free: 7.074 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 7.895e-05/0.4179, allocations: 55.89 kB / 1.319 GB, free: 7.02 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002164/0.4181, allocations: 159.5 kB / 1.319 GB, free: 6.863 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.586e-06/0.4181, allocations: 0 / 1.319 GB, free: 6.863 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.282e-06/0.4181, allocations: 0 / 1.319 GB, free: 6.863 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.4181, allocations: 0 / 1.319 GB, free: 6.863 MB / 1.014 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.0005281/0.4187, allocations: 367.2 kB / 1.319 GB, free: 6.465 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.606e-05/0.4187, allocations: 12.03 kB / 1.319 GB, free: 6.453 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.672e-05/0.4187, allocations: 16.94 kB / 1.319 GB, free: 6.438 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000109/0.4189, allocations: 110.5 kB / 1.319 GB, free: 6.305 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.03e-05/0.4189, allocations: 8.359 kB / 1.319 GB, free: 6.297 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.336e-05/0.4189, allocations: 8.375 kB / 1.319 GB, free: 6.289 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001212/0.419, allocations: 61.55 kB / 1.319 GB, free: 6.223 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.053e-05/0.4191, allocations: 0 / 1.319 GB, free: 6.223 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.4191, allocations: 3.984 kB / 1.319 GB, free: 6.219 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.4191, allocations: 0 / 1.319 GB, free: 6.219 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.648e-05/0.4191, allocations: 12 kB / 1.319 GB, free: 6.207 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.4196, allocations: 331.8 kB / 1.32 GB, free: 5.84 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 9.14e-05/0.4197, allocations: 34.52 kB / 1.32 GB, free: 5.797 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.275e-05/0.4197, allocations: 20.94 kB / 1.32 GB, free: 5.773 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 8.105e-06/0.4198, allocations: 0 / 1.32 GB, free: 5.773 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00015/0.4199, allocations: 95.25 kB / 1.32 GB, free: 5.668 MB / 1.014 GB Notification: Performance of pre-optimization done (n=9): time 1.273e-06/0.4199, allocations: 4 kB / 1.32 GB, free: 5.664 MB / 1.014 GB Notification: Performance of matching and sorting (n=9): time 0.0002936/0.4202, allocations: 125.8 kB / 1.32 GB, free: 5.535 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.83e-05/0.4202, allocations: 59.44 kB / 1.32 GB, free: 5.465 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001061/0.4204, allocations: 121.8 kB / 1.32 GB, free: 5.336 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 3.605e-05/0.4204, allocations: 33.69 kB / 1.32 GB, free: 5.297 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 7.089e-05/0.4205, allocations: 96.31 kB / 1.32 GB, free: 5.195 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 2.189e-05/0.4205, allocations: 15.91 kB / 1.32 GB, free: 5.18 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001006/0.4206, allocations: 53.69 kB / 1.32 GB, free: 5.121 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.4207, allocations: 330.8 kB / 1.321 GB, free: 4.789 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001375/0.4209, allocations: 55.97 kB / 1.321 GB, free: 4.734 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000174/0.421, allocations: 106 kB / 1.321 GB, free: 4.609 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002487/0.4213, allocations: 189.3 kB / 1.321 GB, free: 4.391 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-06/0.4213, allocations: 0 / 1.321 GB, free: 4.391 MB / 1.014 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004606/0.4217, allocations: 280.8 kB / 1.321 GB, free: 4.098 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.967e-05/0.4218, allocations: 67.39 kB / 1.321 GB, free: 4.02 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.4218, allocations: 8.156 kB / 1.321 GB, free: 4.012 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.4218, allocations: 0 / 1.321 GB, free: 4.012 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.595e-05/0.4219, allocations: 7.984 kB / 1.321 GB, free: 4.004 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.777e-06/0.4219, allocations: 7.938 kB / 1.321 GB, free: 3.996 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000312/0.4222, allocations: 59.83 kB / 1.321 GB, free: 3.938 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.273e-05/0.4222, allocations: 15.98 kB / 1.321 GB, free: 3.922 MB / 1.014 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.0001118/0.4223, allocations: 125.8 kB / 1.321 GB, free: 3.789 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.362e-05/0.4223, allocations: 4 kB / 1.321 GB, free: 3.785 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.628e-05/0.4224, allocations: 8.375 kB / 1.321 GB, free: 3.773 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.4224, allocations: 0 / 1.321 GB, free: 3.773 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.865e-06/0.4224, allocations: 8 kB / 1.321 GB, free: 3.766 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.4224, allocations: 0 / 1.321 GB, free: 3.766 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003428/0.4227, allocations: 337.5 kB / 1.322 GB, free: 3.387 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4227, allocations: 3.938 kB / 1.322 GB, free: 3.383 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.05e-05/0.4227, allocations: 3.938 kB / 1.322 GB, free: 3.379 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.734e-06/0.4227, allocations: 4 kB / 1.322 GB, free: 3.375 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.23e-05/0.4227, allocations: 8 kB / 1.322 GB, free: 3.367 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.4228, allocations: 0 / 1.322 GB, free: 3.367 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.535e-06/0.4228, allocations: 3.938 kB / 1.322 GB, free: 3.363 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002048/0.423, allocations: 199.5 kB / 1.322 GB, free: 3.152 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 1.218e-05/0.423, allocations: 7.953 kB / 1.322 GB, free: 3.145 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.645e-05/0.423, allocations: 0 / 1.322 GB, free: 3.145 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.047e-05/0.423, allocations: 0 / 1.322 GB, free: 3.145 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.174e-05/0.4231, allocations: 19.92 kB / 1.322 GB, free: 3.125 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.331e-05/0.4231, allocations: 4 kB / 1.322 GB, free: 3.121 MB / 1.014 GB Notification: Performance of sorting global known variables: time 5.624e-05/0.4231, allocations: 91.81 kB / 1.322 GB, free: 3.031 MB / 1.014 GB Notification: Performance of sort global known variables: time 7e-08/0.4231, allocations: 0 / 1.322 GB, free: 3.031 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002731/0.4234, allocations: 28 kB / 1.322 GB, free: 3.004 MB / 1.014 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.0001427/0.4236, allocations: 111.7 kB / 1.322 GB, free: 2.887 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0003513/0.4239, allocations: 234.9 kB / 1.322 GB, free: 2.633 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.4239, allocations: 0 / 1.322 GB, free: 2.633 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.535e-05/0.424, allocations: 23.98 kB / 1.322 GB, free: 2.609 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000282/0.4243, allocations: 17.56 kB / 1.322 GB, free: 2.594 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003425/0.4246, allocations: 170.4 kB / 1.323 GB, free: 2.402 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003106/0.4249, allocations: 0.6885 MB / 1.323 GB, free: 1.688 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.026e-05/0.4249, allocations: 16.66 kB / 1.323 GB, free: 1.672 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.593e-05/0.425, allocations: 11.44 kB / 1.323 GB, free: 1.66 MB / 1.014 GB Notification: Performance of SimCode: time 3.21e-07/0.425, allocations: 0 / 1.323 GB, free: 1.66 MB / 1.014 GB Notification: Performance of Templates: time 0.005246/0.4302, allocations: 1.964 MB / 1.325 GB, free: 15.71 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.035938358865678]