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) 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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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=5000,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=5000,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_latest_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.001456/0.001456, allocations: 113.8 kB / 16.42 MB, free: 6.516 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.001584/0.001584, allocations: 192.2 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.508/1.508, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.762/2.762, allocations: 461.7 MB / 0.7352 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 63.91 kB / 1.055 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.045/1.046, allocations: 157.4 MB / 1.208 GB, free: 13.62 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002741/1.049, allocations: 0.6665 MB / 1.209 GB, free: 12.96 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002212/1.051, allocations: 1.209 MB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.122e-05/1.051, allocations: 0 / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.413e-05/1.051, allocations: 3.938 kB / 1.21 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.923e-05/1.051, allocations: 11.92 kB / 1.21 GB, free: 11.73 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009214/1.052, allocations: 226.3 kB / 1.21 GB, free: 11.51 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003672/1.053, allocations: 187.7 kB / 1.21 GB, free: 11.33 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001236/1.053, allocations: 16 kB / 1.21 GB, free: 11.31 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/1.053, allocations: 67.88 kB / 1.211 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001743/1.053, allocations: 67.83 kB / 1.211 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 5.467e-05/1.053, allocations: 16 kB / 1.211 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001141/1.053, allocations: 27.98 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/1.053, allocations: 7.984 kB / 1.211 GB, free: 11.13 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001015/1.053, allocations: 59.83 kB / 1.211 GB, free: 11.07 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0003147/1.054, allocations: 159.6 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/1.054, allocations: 0 / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.083e-06/1.054, allocations: 4 kB / 1.211 GB, free: 10.91 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.062e-05/1.054, allocations: 0 / 1.211 GB, free: 10.91 MB / 0.9356 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.0007913/1.055, allocations: 448.2 kB / 1.211 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 6.397e-05/1.055, allocations: 12.03 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.994e-05/1.055, allocations: 4.938 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/1.055, allocations: 176.2 kB / 1.211 GB, free: 10.19 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.26e-05/1.055, allocations: 8.375 kB / 1.211 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.262e-05/1.055, allocations: 12.38 kB / 1.212 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/1.055, allocations: 57.59 kB / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/1.055, allocations: 0 / 1.212 GB, free: 10.11 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.886e-05/1.055, allocations: 8 kB / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/1.055, allocations: 0 / 1.212 GB, free: 10.1 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.347e-05/1.055, allocations: 15.98 kB / 1.212 GB, free: 10.09 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007044/1.056, allocations: 348.7 kB / 1.212 GB, free: 9.695 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001098/1.056, allocations: 38.56 kB / 1.212 GB, free: 9.648 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.682e-05/1.056, allocations: 16.86 kB / 1.212 GB, free: 9.629 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.196e-05/1.056, allocations: 4 kB / 1.212 GB, free: 9.625 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002124/1.056, allocations: 95.28 kB / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=9): time 1.934e-06/1.056, allocations: 0 / 1.212 GB, free: 9.52 MB / 0.9356 GB Notification: Performance of matching and sorting (n=9): time 0.0003804/1.057, allocations: 121.5 kB / 1.212 GB, free: 9.395 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.021e-05/1.057, allocations: 59.41 kB / 1.212 GB, free: 9.324 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/1.057, allocations: 121.8 kB / 1.212 GB, free: 9.195 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 4.318e-05/1.057, allocations: 33.7 kB / 1.212 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.698e-05/1.057, allocations: 92.38 kB / 1.212 GB, free: 9.059 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.821e-05/1.057, allocations: 23.72 kB / 1.212 GB, free: 9.035 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000109/1.057, allocations: 53.69 kB / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001474/1.058, allocations: 326.8 kB / 1.213 GB, free: 8.648 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/1.058, allocations: 55.97 kB / 1.213 GB, free: 8.594 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002002/1.058, allocations: 116.5 kB / 1.213 GB, free: 8.461 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000263/1.058, allocations: 185.3 kB / 1.213 GB, free: 8.246 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.631e-06/1.058, allocations: 8.375 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005038/1.059, allocations: 276.8 kB / 1.213 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.034e-05/1.059, allocations: 71.39 kB / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.798e-06/1.059, allocations: 0 / 1.214 GB, free: 7.867 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.039e-05/1.059, allocations: 7.938 kB / 1.214 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.196e-05/1.059, allocations: 7.938 kB / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.025e-06/1.059, allocations: 0 / 1.214 GB, free: 7.852 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003437/1.059, allocations: 60 kB / 1.214 GB, free: 7.793 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.688e-05/1.059, allocations: 15.98 kB / 1.214 GB, free: 7.777 MB / 0.9356 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.0001314/1.059, allocations: 127.5 kB / 1.214 GB, free: 7.645 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.906e-05/1.059, allocations: 11.89 kB / 1.214 GB, free: 7.633 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.102e-05/1.059, allocations: 12.38 kB / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.98e-06/1.06, allocations: 0 / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/1.06, allocations: 0 / 1.214 GB, free: 7.617 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.997e-05/1.06, allocations: 88.95 kB / 1.214 GB, free: 7.512 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.729e-05/1.06, allocations: 7.938 kB / 1.214 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.65e-05/1.06, allocations: 4 kB / 1.214 GB, free: 7.5 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.528e-05/1.06, allocations: 7.984 kB / 1.214 GB, free: 7.492 MB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002174/1.06, allocations: 180.9 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002364/1.06, allocations: 262.8 kB / 1.214 GB, free: 7.035 MB / 0.9356 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 5.625e-05/1.06, allocations: 35.92 kB / 1.214 GB, free: 7 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.965e-05/1.06, allocations: 99.75 kB / 1.214 GB, free: 6.902 MB / 0.9356 GB Notification: Performance of Backend: time 4.41e-07/1.06, allocations: 4 kB / 1.214 GB, free: 6.898 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0007387/1.061, allocations: 315.1 kB / 1.215 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of SimCode: time 0.000773/1.062, allocations: 0.6126 MB / 1.215 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of Templates: time 0.005835/1.068, allocations: 1.962 MB / 1.217 GB, free: 3.965 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches