Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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=5000,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.001179, allocations: 110.9 kB / 16.42 MB, free: 6.512 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001157/0.001157, allocations: 190.7 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.411/1.411, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.653/2.653, allocations: 437 MB / 0.7112 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001474/0.001474, allocations: 59.91 kB / 1.019 GB, free: 9.406 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.03/1.031, allocations: 151.6 MB / 1.167 GB, free: 3.828 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002339/1.034, allocations: 0.6874 MB / 1.168 GB, free: 3.141 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001937/1.035, allocations: 1.201 MB / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.623e-05/1.036, allocations: 0 / 1.169 GB, free: 1.926 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 5.079e-05/1.036, allocations: 11.92 kB / 1.169 GB, free: 1.914 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000103/1.036, allocations: 15.86 kB / 1.169 GB, free: 1.898 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000835/1.037, allocations: 210.2 kB / 1.169 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003201/1.037, allocations: 199.7 kB / 1.17 GB, free: 1.504 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 9.949e-05/1.037, allocations: 4 kB / 1.17 GB, free: 1.5 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001643/1.037, allocations: 75.88 kB / 1.17 GB, free: 1.426 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001618/1.037, allocations: 67.77 kB / 1.17 GB, free: 1.359 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.836e-05/1.037, allocations: 16 kB / 1.17 GB, free: 1.344 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001024/1.038, allocations: 31.98 kB / 1.17 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.022e-05/1.038, allocations: 8 kB / 1.17 GB, free: 1.305 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 9.644e-05/1.038, allocations: 63.75 kB / 1.17 GB, free: 1.242 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.000258/1.038, allocations: 151.6 kB / 1.17 GB, free: 1.094 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.618e-06/1.038, allocations: 4 kB / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.864e-06/1.038, allocations: 0 / 1.17 GB, free: 1.09 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 6.201e-06/1.038, allocations: 0 / 1.17 GB, free: 1.09 MB / 0.8887 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.0006616/1.039, allocations: 444.4 kB / 1.17 GB, free: 0.6016 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.594e-05/1.039, allocations: 8.031 kB / 1.17 GB, free: 0.5938 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.299e-05/1.039, allocations: 8.938 kB / 1.17 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001431/1.039, allocations: 176.2 kB / 1.171 GB, free: 384 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.337e-05/1.039, allocations: 12.36 kB / 1.171 GB, free: 372 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/1.039, allocations: 12.38 kB / 1.171 GB, free: 360 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001417/1.039, allocations: 57.55 kB / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/1.039, allocations: 0 / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.016e-05/1.039, allocations: 0 / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/1.039, allocations: 0 / 1.171 GB, free: 296 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.033e-05/1.039, allocations: 19.98 kB / 1.171 GB, free: 276 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005845/1.04, allocations: 348.8 kB / 1.171 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.695e-05/1.04, allocations: 42.5 kB / 1.171 GB, free: 15.83 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.017e-05/1.04, allocations: 12.86 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.027e-05/1.04, allocations: 4 kB / 1.171 GB, free: 15.81 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000152/1.04, allocations: 91.36 kB / 1.171 GB, free: 15.71 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 2.365e-06/1.04, allocations: 4 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0003121/1.041, allocations: 121.5 kB / 1.171 GB, free: 15.58 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.443e-05/1.041, allocations: 59.41 kB / 1.171 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/1.041, allocations: 121.8 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 4.658e-05/1.041, allocations: 33.7 kB / 1.171 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.119e-05/1.041, allocations: 92.31 kB / 1.172 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.49e-05/1.041, allocations: 27.72 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001021/1.041, allocations: 58.06 kB / 1.172 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001291/1.041, allocations: 314.8 kB / 1.172 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001395/1.041, allocations: 63.95 kB / 1.172 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001663/1.041, allocations: 114 kB / 1.172 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000219/1.042, allocations: 189.3 kB / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/1.042, allocations: 0 / 1.172 GB, free: 14.43 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004764/1.042, allocations: 284.9 kB / 1.173 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 5.967e-05/1.042, allocations: 71.39 kB / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.583e-06/1.042, allocations: 0 / 1.173 GB, free: 14.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/1.042, allocations: 4 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.101e-05/1.042, allocations: 4 kB / 1.173 GB, free: 14.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.537e-06/1.042, allocations: 7.938 kB / 1.173 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003328/1.043, allocations: 51.84 kB / 1.173 GB, free: 13.98 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.623e-05/1.043, allocations: 15.98 kB / 1.173 GB, free: 13.96 MB / 0.9044 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.0001144/1.043, allocations: 131.5 kB / 1.173 GB, free: 13.83 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.942e-05/1.043, allocations: 7.906 kB / 1.173 GB, free: 13.82 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.999e-05/1.043, allocations: 12.36 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/1.043, allocations: 0 / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.043, allocations: 0 / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.372e-05/1.043, allocations: 88.95 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.999e-05/1.043, allocations: 3.938 kB / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.331e-05/1.043, allocations: 0 / 1.173 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.377e-05/1.043, allocations: 15.98 kB / 1.173 GB, free: 13.68 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001805/1.043, allocations: 172.9 kB / 1.173 GB, free: 13.5 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002426/1.043, allocations: 270.7 kB / 1.173 GB, free: 13.22 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.555e-05/1.044, allocations: 35.92 kB / 1.173 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.411e-05/1.044, allocations: 99.69 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of Backend: time 7.51e-07/1.044, allocations: 192 / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0006905/1.044, allocations: 329 kB / 1.174 GB, free: 12.74 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006353/1.045, allocations: 0.6122 MB / 1.174 GB, free: 12.08 MB / 0.9044 GB Notification: Performance of Templates: time 0.005424/1.05, allocations: 1.969 MB / 1.176 GB, free: 10.14 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches