Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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_9_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_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.543/2.543, allocations: 390.3 MB / 405.3 MB, free: 13.46 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 175 kB / 498.1 MB, free: 5.719 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.546/1.546, allocations: 223.2 MB / 0.7949 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009905/0.0009904, allocations: 88.97 kB / 0.9346 GB, free: 6.18 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003653/0.0003654, allocations: 6.906 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3086/0.309, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.193/0.502, allocations: 149.4 MB / 1.369 GB, free: 12.59 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002685/0.5023, allocations: 67.97 kB / 1.369 GB, free: 12.53 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.009342/0.5117, allocations: 2.958 MB / 1.372 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.725e-06/0.5117, allocations: 0 / 1.372 GB, free: 9.562 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.5117, allocations: 4 kB / 1.372 GB, free: 9.559 MB / 0.8698 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.0005354/0.5123, allocations: 430.4 kB / 1.372 GB, free: 9.078 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.5124, allocations: 12.03 kB / 1.372 GB, free: 9.066 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.484e-05/0.5124, allocations: 4 kB / 1.372 GB, free: 9.062 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/0.5126, allocations: 183 kB / 1.372 GB, free: 8.844 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.493e-05/0.5126, allocations: 4 kB / 1.372 GB, free: 8.84 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.972e-05/0.5127, allocations: 12 kB / 1.372 GB, free: 8.828 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001369/0.5128, allocations: 49.67 kB / 1.372 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.026e-05/0.5128, allocations: 0 / 1.372 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/0.5129, allocations: 0 / 1.372 GB, free: 8.773 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.223e-05/0.5129, allocations: 4 kB / 1.372 GB, free: 8.77 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.306e-05/0.5129, allocations: 11.98 kB / 1.372 GB, free: 8.758 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.5135, allocations: 360.7 kB / 1.373 GB, free: 8.355 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.621e-05/0.5136, allocations: 38.5 kB / 1.373 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 9.718e-06/0.5136, allocations: 0 / 1.373 GB, free: 8.309 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002306/0.5139, allocations: 87.45 kB / 1.373 GB, free: 8.211 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=9): time 3.868e-06/0.5139, allocations: 4 kB / 1.373 GB, free: 8.207 MB / 0.8698 GB Notification: Performance of matching and sorting (n=9): time 0.000292/0.5142, allocations: 125.4 kB / 1.373 GB, free: 8.078 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.338e-05/0.5143, allocations: 67.3 kB / 1.373 GB, free: 8 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.964e-05/0.5144, allocations: 109 kB / 1.373 GB, free: 7.887 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 3.652e-05/0.5144, allocations: 33.7 kB / 1.373 GB, free: 7.848 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 8.396e-05/0.5145, allocations: 100.2 kB / 1.373 GB, free: 7.742 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.97e-05/0.5145, allocations: 11.81 kB / 1.373 GB, free: 7.73 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-05/0.5145, allocations: 8 kB / 1.373 GB, free: 7.723 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001276/0.5147, allocations: 318.8 kB / 1.374 GB, free: 7.402 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001379/0.5148, allocations: 63.91 kB / 1.374 GB, free: 7.34 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.515, allocations: 110.4 kB / 1.374 GB, free: 7.211 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001589/0.5152, allocations: 116.2 kB / 1.374 GB, free: 7.086 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5152, allocations: 0 / 1.374 GB, free: 7.086 MB / 0.8698 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004624/0.5156, allocations: 284.7 kB / 1.374 GB, free: 6.789 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 5.653e-05/0.5157, allocations: 67.39 kB / 1.374 GB, free: 6.711 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.5157, allocations: 4 kB / 1.374 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.91e-05/0.5157, allocations: 0 / 1.374 GB, free: 6.707 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.404e-05/0.5158, allocations: 7.984 kB / 1.374 GB, free: 6.699 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.5158, allocations: 7.938 kB / 1.374 GB, free: 6.691 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003379/0.5162, allocations: 79.98 kB / 1.374 GB, free: 6.613 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.736e-05/0.5162, allocations: 15.98 kB / 1.374 GB, free: 6.598 MB / 0.8698 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 ($PRE.onCounter.y,onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$PRE.reset.y,reset.y,$whenCondition1,$PRE.booPul.y,booPul.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001167/0.5163, allocations: 128.4 kB / 1.375 GB, free: 6.465 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.476e-05/0.5164, allocations: 3.906 kB / 1.375 GB, free: 6.461 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.482e-05/0.5164, allocations: 12.47 kB / 1.375 GB, free: 6.445 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.759e-06/0.5164, allocations: 3.984 kB / 1.375 GB, free: 6.441 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.682e-06/0.5164, allocations: 4 kB / 1.375 GB, free: 6.438 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.5164, allocations: 0 / 1.375 GB, free: 6.438 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003465/0.5168, allocations: 362.5 kB / 1.375 GB, free: 6.027 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.5168, allocations: 4 kB / 1.375 GB, free: 6.023 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.967e-06/0.5168, allocations: 0 / 1.375 GB, free: 6.023 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.5168, allocations: 4 kB / 1.375 GB, free: 6.02 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.063e-05/0.5168, allocations: 0 / 1.375 GB, free: 6.02 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.5168, allocations: 4.406 kB / 1.375 GB, free: 6.016 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5168, allocations: 3.984 kB / 1.375 GB, free: 6.012 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001938/0.517, allocations: 203.3 kB / 1.375 GB, free: 5.797 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.06e-05/0.5171, allocations: 85.02 kB / 1.375 GB, free: 5.695 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.5171, allocations: 8 kB / 1.375 GB, free: 5.688 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.19e-05/0.5172, allocations: 4 kB / 1.375 GB, free: 5.684 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.477e-05/0.5172, allocations: 3.984 kB / 1.375 GB, free: 5.68 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.198e-06/0.5172, allocations: 7.938 kB / 1.375 GB, free: 5.672 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.646e-05/0.5173, allocations: 99.27 kB / 1.375 GB, free: 5.574 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5173, allocations: 0 / 1.375 GB, free: 5.574 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0002929/0.5176, allocations: 40 kB / 1.375 GB, free: 5.535 MB / 0.8698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002373/0.5179, allocations: 119 kB / 1.375 GB, free: 5.41 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0003541/0.5182, allocations: 258.6 kB / 1.376 GB, free: 5.133 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5182, allocations: 0 / 1.376 GB, free: 5.133 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 5.325e-05/0.5183, allocations: 31.98 kB / 1.376 GB, free: 5.102 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002239/0.5185, allocations: 15.98 kB / 1.376 GB, free: 5.086 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003561/0.5189, allocations: 186 kB / 1.376 GB, free: 4.879 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000295/0.5192, allocations: 0.6926 MB / 1.377 GB, free: 4.16 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 3.06e-05/0.5192, allocations: 8.656 kB / 1.377 GB, free: 4.148 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.741e-05/0.5193, allocations: 11.44 kB / 1.377 GB, free: 4.141 MB / 0.8698 GB Notification: Performance of SimCode: time 1.703e-06/0.5193, allocations: 0 / 1.377 GB, free: 4.141 MB / 0.8698 GB Notification: Performance of Templates: time 0.00409/0.5234, allocations: 1.734 MB / 1.378 GB, free: 2.426 MB / 0.8698 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches