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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001091/0.001092, allocations: 92.16 kB / 16.02 MB, free: 80 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001416/0.001416, allocations: 173 kB / 16.92 MB, free: 6.652 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.426/1.426, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.797/2.797, allocations: 437.8 MB / 0.7128 GB, free: 6.984 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003674/0.0003676, allocations: 15.98 kB / 0.8735 GB, free: 3.32 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6643/0.6647, allocations: 153.8 MB / 1.024 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001043/0.6658, allocations: 420.6 kB / 1.024 GB, free: 15.47 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001712/0.6675, allocations: 1.206 MB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.903e-05/0.6676, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.151e-05/0.6676, allocations: 0 / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 7.478e-05/0.6677, allocations: 11.92 kB / 1.025 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007349/0.6685, allocations: 204.2 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002014/0.6687, allocations: 159.7 kB / 1.026 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001057/0.6688, allocations: 7.984 kB / 1.026 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001403/0.6689, allocations: 67.81 kB / 1.026 GB, free: 13.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001097/0.6691, allocations: 47.88 kB / 1.026 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.901e-05/0.6691, allocations: 8 kB / 1.026 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 8.505e-05/0.6692, allocations: 23.98 kB / 1.026 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.656e-05/0.6692, allocations: 11.94 kB / 1.026 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001068/0.6693, allocations: 73.58 kB / 1.026 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001739/0.6695, allocations: 115.7 kB / 1.026 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.249e-06/0.6695, allocations: 0 / 1.026 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.944e-06/0.6695, allocations: 0 / 1.026 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.789e-06/0.6696, allocations: 0 / 1.026 GB, free: 13.53 MB / 0.7794 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.0005265/0.6701, allocations: 412.7 kB / 1.026 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.6701, allocations: 8.031 kB / 1.026 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.408e-05/0.6702, allocations: 8.938 kB / 1.026 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001289/0.6703, allocations: 176.2 kB / 1.027 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.56e-05/0.6704, allocations: 8.375 kB / 1.027 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.975e-05/0.6704, allocations: 16.3 kB / 1.027 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.6705, allocations: 53.81 kB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.6706, allocations: 0 / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.6706, allocations: 3.984 kB / 1.027 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.093e-06/0.6706, allocations: 3.984 kB / 1.027 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.039e-05/0.6706, allocations: 16 kB / 1.027 GB, free: 12.74 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005274/0.6712, allocations: 364.6 kB / 1.027 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.932e-05/0.6713, allocations: 38.52 kB / 1.027 GB, free: 12.29 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.11e-05/0.6713, allocations: 20.94 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 7.054e-06/0.6713, allocations: 3.938 kB / 1.027 GB, free: 12.26 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001454/0.6715, allocations: 87.36 kB / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.352e-06/0.6715, allocations: 0 / 1.027 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0002731/0.6718, allocations: 133.5 kB / 1.027 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.538e-05/0.6718, allocations: 55.34 kB / 1.027 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.293e-05/0.6719, allocations: 117.8 kB / 1.027 GB, free: 11.83 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.078e-05/0.6719, allocations: 33.7 kB / 1.027 GB, free: 11.79 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.122e-05/0.672, allocations: 96.27 kB / 1.028 GB, free: 11.7 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.232e-05/0.672, allocations: 19.73 kB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.981e-05/0.6721, allocations: 29.7 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000112/0.6722, allocations: 326.8 kB / 1.028 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001347/0.6724, allocations: 63.91 kB / 1.028 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001657/0.6725, allocations: 106 kB / 1.028 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002223/0.6728, allocations: 185.3 kB / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.6728, allocations: 0 / 1.028 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004622/0.6732, allocations: 280.8 kB / 1.029 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 5.964e-05/0.6733, allocations: 71.39 kB / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.6733, allocations: 0 / 1.029 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.6733, allocations: 4 kB / 1.029 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.927e-05/0.6734, allocations: 8.156 kB / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.945e-06/0.6734, allocations: 3.938 kB / 1.029 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004237/0.6738, allocations: 78.17 kB / 1.029 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.152e-05/0.6739, allocations: 16 kB / 1.029 GB, free: 10.43 MB / 0.7794 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.000114/0.674, allocations: 126.9 kB / 1.029 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.699e-05/0.674, allocations: 7.906 kB / 1.029 GB, free: 10.29 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.859e-05/0.6741, allocations: 8.375 kB / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.539e-06/0.6741, allocations: 4 kB / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.6741, allocations: 0 / 1.029 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.6741, allocations: 4.375 kB / 1.029 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003709/0.6745, allocations: 370.3 kB / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.6745, allocations: 0 / 1.029 GB, free: 9.855 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.177e-05/0.6745, allocations: 3.938 kB / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.6745, allocations: 0 / 1.029 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.053e-05/0.6745, allocations: 4 kB / 1.029 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.6745, allocations: 0 / 1.029 GB, free: 9.848 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.655e-06/0.6745, allocations: 3.938 kB / 1.029 GB, free: 9.844 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001953/0.6747, allocations: 203.4 kB / 1.029 GB, free: 9.629 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.224e-05/0.6748, allocations: 85.02 kB / 1.029 GB, free: 9.527 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.257e-05/0.6748, allocations: 4 kB / 1.029 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.468e-05/0.6749, allocations: 0 / 1.029 GB, free: 9.523 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.341e-05/0.6749, allocations: 11.92 kB / 1.03 GB, free: 9.512 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.516e-05/0.675, allocations: 4 kB / 1.03 GB, free: 9.508 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.885e-05/0.675, allocations: 95.2 kB / 1.03 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.675, allocations: 0 / 1.03 GB, free: 9.414 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003085/0.6753, allocations: 36 kB / 1.03 GB, free: 9.379 MB / 0.7794 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.000177/0.6755, allocations: 111.2 kB / 1.03 GB, free: 9.262 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000386/0.6759, allocations: 254.6 kB / 1.03 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.6759, allocations: 0 / 1.03 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.684e-05/0.676, allocations: 35.97 kB / 1.03 GB, free: 8.953 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.6763, allocations: 20.3 kB / 1.03 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003879/0.6767, allocations: 213.1 kB / 1.03 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/0.677, allocations: 0.6926 MB / 1.031 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.402e-05/0.677, allocations: 15.42 kB / 1.031 GB, free: 7.961 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.677, allocations: 4 kB / 1.031 GB, free: 7.957 MB / 0.7794 GB Notification: Performance of Templates: time 0.003396/0.6804, allocations: 1.474 MB / 1.032 GB, free: 6.496 MB / 0.7794 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