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.001743/0.001744, allocations: 110.4 kB / 17.08 MB, free: 5.82 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.001961/0.001961, allocations: 193.2 kB / 20.03 MB, free: 2.949 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.463/1.463, allocations: 222.9 MB / 245.7 MB, free: 4.242 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.062/3.062, allocations: 489.3 MB / 0.7687 GB, free: 3.758 MB / 0.6075 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.003135/0.003135, allocations: 67.89 kB / 1.103 GB, free: 0.7695 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.009/1.012, allocations: 163.8 MB / 1.263 GB, free: 7.98 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002033/1.014, allocations: 0.6895 MB / 1.263 GB, free: 7.559 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001709/1.016, allocations: 1.202 MB / 1.264 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.116e-05/1.016, allocations: 0.8125 kB / 1.264 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.243e-05/1.016, allocations: 4.734 kB / 1.264 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 7.46e-05/1.016, allocations: 11.17 kB / 1.264 GB, free: 6.672 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007191/1.017, allocations: 225.5 kB / 1.265 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002922/1.017, allocations: 191 kB / 1.265 GB, free: 6.48 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001015/1.017, allocations: 10.62 kB / 1.265 GB, free: 6.477 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001238/1.017, allocations: 68.17 kB / 1.265 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001659/1.018, allocations: 71.75 kB / 1.265 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.614e-05/1.018, allocations: 16 kB / 1.265 GB, free: 6.422 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001047/1.018, allocations: 29.3 kB / 1.265 GB, free: 6.418 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.2e-05/1.018, allocations: 14.06 kB / 1.265 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001018/1.018, allocations: 57.94 kB / 1.265 GB, free: 6.383 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002813/1.018, allocations: 162 kB / 1.265 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/1.018, allocations: 0 / 1.265 GB, free: 6.332 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.613e-06/1.018, allocations: 4.688 kB / 1.265 GB, free: 6.328 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.115e-05/1.018, allocations: 0 / 1.265 GB, free: 6.328 MB / 0.9981 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.0005533/1.019, allocations: 444.2 kB / 1.266 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/1.019, allocations: 9.438 kB / 1.266 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.134e-05/1.019, allocations: 8.094 kB / 1.266 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.492e-05/1.019, allocations: 173.8 kB / 1.266 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/1.019, allocations: 6.422 kB / 1.266 GB, free: 5.684 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.244e-05/1.019, allocations: 13.34 kB / 1.266 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001306/1.019, allocations: 55.05 kB / 1.266 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.798e-06/1.019, allocations: 0 / 1.266 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/1.019, allocations: 1.578 kB / 1.266 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/1.019, allocations: 1.672 kB / 1.266 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.211e-05/1.019, allocations: 17.02 kB / 1.266 GB, free: 5.629 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005089/1.02, allocations: 349.9 kB / 1.266 GB, free: 5.328 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/1.02, allocations: 44.47 kB / 1.266 GB, free: 5.289 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.481e-05/1.02, allocations: 17.14 kB / 1.266 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.598e-06/1.02, allocations: 0 / 1.266 GB, free: 5.277 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002112/1.02, allocations: 98.39 kB / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.312e-06/1.02, allocations: 0 / 1.266 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0003429/1.021, allocations: 128.4 kB / 1.267 GB, free: 5.148 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.771e-05/1.021, allocations: 53.95 kB / 1.267 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.182e-05/1.021, allocations: 126.2 kB / 1.267 GB, free: 4.973 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.214e-05/1.021, allocations: 34.14 kB / 1.267 GB, free: 4.938 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.033e-05/1.021, allocations: 99.41 kB / 1.267 GB, free: 4.84 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/1.021, allocations: 16.12 kB / 1.267 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001177/1.021, allocations: 50.52 kB / 1.267 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 7.374e-05/1.021, allocations: 323.7 kB / 1.267 GB, free: 4.484 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001673/1.021, allocations: 61.62 kB / 1.267 GB, free: 4.465 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/1.021, allocations: 119.8 kB / 1.267 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/1.022, allocations: 187.3 kB / 1.268 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.022, allocations: 0.625 kB / 1.268 GB, free: 4.211 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005047/1.022, allocations: 278.2 kB / 1.268 GB, free: 4.055 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.524e-05/1.022, allocations: 68.89 kB / 1.268 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/1.022, allocations: 1.812 kB / 1.268 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.986e-05/1.022, allocations: 2.609 kB / 1.268 GB, free: 3.988 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.429e-05/1.022, allocations: 9.688 kB / 1.268 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.738e-06/1.022, allocations: 1.812 kB / 1.268 GB, free: 3.984 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003734/1.023, allocations: 61.42 kB / 1.268 GB, free: 3.973 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.23e-05/1.023, allocations: 12.84 kB / 1.268 GB, free: 3.973 MB / 0.9981 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 9.911e-05/1.023, allocations: 130.2 kB / 1.268 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.598e-05/1.023, allocations: 3.078 kB / 1.268 GB, free: 3.848 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.844e-05/1.023, allocations: 10.81 kB / 1.268 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.328e-06/1.023, allocations: 6.547 kB / 1.268 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/1.023, allocations: 0 / 1.268 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/1.023, allocations: 1.656 kB / 1.268 GB, free: 3.832 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003311/1.023, allocations: 362.4 kB / 1.268 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/1.023, allocations: 0.8438 kB / 1.268 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.137e-05/1.023, allocations: 2.391 kB / 1.268 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/1.023, allocations: 0.7812 kB / 1.268 GB, free: 3.496 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/1.023, allocations: 5.875 kB / 1.269 GB, free: 3.492 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.414e-06/1.023, allocations: 4.844 kB / 1.269 GB, free: 3.488 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/1.023, allocations: 9.391 kB / 1.269 GB, free: 3.48 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/1.024, allocations: 197.6 kB / 1.269 GB, free: 3.324 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.118e-05/1.024, allocations: 88.14 kB / 1.269 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.235e-05/1.024, allocations: 1.859 kB / 1.269 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.251e-05/1.024, allocations: 5.25 kB / 1.269 GB, free: 3.219 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.063e-05/1.024, allocations: 10.5 kB / 1.269 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.147e-05/1.024, allocations: 8.547 kB / 1.269 GB, free: 3.211 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.108e-05/1.024, allocations: 90.53 kB / 1.269 GB, free: 3.133 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.11e-07/1.024, allocations: 5.188 kB / 1.269 GB, free: 3.129 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003304/1.024, allocations: 29.03 kB / 1.269 GB, free: 3.129 MB / 0.9981 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.0002296/1.024, allocations: 109.9 kB / 1.269 GB, free: 3.035 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004777/1.025, allocations: 254.2 kB / 1.269 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.025, allocations: 0 / 1.269 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 7.811e-05/1.025, allocations: 36.42 kB / 1.269 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003055/1.025, allocations: 20.58 kB / 1.269 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004215/1.026, allocations: 194.2 kB / 1.27 GB, free: 2.672 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001542/1.026, allocations: 0.6889 MB / 1.27 GB, free: 1.977 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.429e-05/1.026, allocations: 11.66 kB / 1.27 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of SimCode: time 3.61e-07/1.026, allocations: 0.9375 kB / 1.27 GB, free: 1.969 MB / 0.9981 GB Notification: Performance of Templates: time 0.004271/1.03, allocations: 1.5 MB / 1.272 GB, free: 1.82 MB / 0.9981 GB " [Timeout remaining time 299] 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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 11.70961567084305]