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.0008491/0.0008492, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008666/0.0008665, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.548/1.548, allocations: 223.3 MB / 240 MB, free: 5.406 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.84/2.84, allocations: 437.7 MB / 0.7117 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.000371/0.000371, allocations: 8 kB / 0.8722 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8546/0.855, allocations: 153.8 MB / 1.022 GB, free: 12 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.0008839/0.856, allocations: 416.6 kB / 1.023 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.00165/0.8576, allocations: 1.175 MB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.469e-05/0.8577, allocations: 4 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.663e-05/0.8577, allocations: 0 / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.071e-05/0.8578, allocations: 3.938 kB / 1.024 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006818/0.8585, allocations: 207.8 kB / 1.024 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002608/0.8588, allocations: 139.7 kB / 1.024 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 8.889e-05/0.8589, allocations: 11.98 kB / 1.024 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.892e-05/0.859, allocations: 59.89 kB / 1.024 GB, free: 14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000126/0.8591, allocations: 51.86 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.837e-05/0.8591, allocations: 8 kB / 1.024 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 7.213e-05/0.8592, allocations: 19.98 kB / 1.024 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.594e-05/0.8592, allocations: 15.92 kB / 1.024 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.526e-05/0.8593, allocations: 33.7 kB / 1.024 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001611/0.8595, allocations: 103.8 kB / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.291e-06/0.8595, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.264e-06/0.8595, allocations: 0 / 1.025 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.8595, allocations: 4 kB / 1.025 GB, free: 13.77 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.0006314/0.8601, allocations: 416.5 kB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.39e-05/0.8602, allocations: 12.5 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.02e-05/0.8603, allocations: 8 kB / 1.025 GB, free: 13.28 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001762/0.8605, allocations: 178.8 kB / 1.025 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.523e-05/0.8605, allocations: 4 kB / 1.025 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.935e-05/0.8605, allocations: 8 kB / 1.025 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.8607, allocations: 57.62 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.089e-05/0.8607, allocations: 0 / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.389e-05/0.8608, allocations: 4 kB / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.084e-06/0.8608, allocations: 0 / 1.025 GB, free: 12.99 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.553e-05/0.8608, allocations: 15.98 kB / 1.025 GB, free: 12.97 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006979/0.8615, allocations: 352.7 kB / 1.026 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001894/0.8617, allocations: 42.56 kB / 1.026 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.394e-05/0.8618, allocations: 16.86 kB / 1.026 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.051e-05/0.8618, allocations: 4 kB / 1.026 GB, free: 12.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002075/0.862, allocations: 99.27 kB / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 1.192e-06/0.862, allocations: 0 / 1.026 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0004046/0.8624, allocations: 125.5 kB / 1.026 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.953e-05/0.8625, allocations: 55.34 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001196/0.8626, allocations: 121.8 kB / 1.026 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/0.8627, allocations: 33.7 kB / 1.026 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.914e-05/0.8628, allocations: 92.38 kB / 1.026 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.6e-05/0.8628, allocations: 23.73 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.943e-05/0.8628, allocations: 4 kB / 1.026 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0003877/0.8632, allocations: 314.8 kB / 1.026 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00014/0.8634, allocations: 63.95 kB / 1.027 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00018/0.8635, allocations: 110 kB / 1.027 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001943/0.8637, allocations: 123.3 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.856e-06/0.8638, allocations: 0 / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004743/0.8642, allocations: 285.2 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 7.979e-05/0.8643, allocations: 67.39 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.156e-06/0.8643, allocations: 8.156 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.72e-05/0.8644, allocations: 4 kB / 1.027 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.068e-05/0.8644, allocations: 11.92 kB / 1.027 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.215e-05/0.8645, allocations: 7.922 kB / 1.027 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003648/0.8648, allocations: 79.84 kB / 1.027 GB, free: 10.79 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.076e-05/0.8649, allocations: 15.98 kB / 1.027 GB, free: 10.77 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 ($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.0001643/0.8651, allocations: 122.5 kB / 1.027 GB, free: 10.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.44e-05/0.8651, allocations: 7.906 kB / 1.027 GB, free: 10.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.245e-05/0.8651, allocations: 12.36 kB / 1.027 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.69e-06/0.8651, allocations: 8.078 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.121e-05/0.8652, allocations: 4 kB / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.21e-06/0.8652, allocations: 0 / 1.027 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004648/0.8656, allocations: 354.4 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.8657, allocations: 0 / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.215e-05/0.8657, allocations: 7.938 kB / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.8657, allocations: 0 / 1.028 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.984e-05/0.8657, allocations: 7.984 kB / 1.028 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.8657, allocations: 7.938 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.8657, allocations: 4 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002218/0.8659, allocations: 195.3 kB / 1.028 GB, free: 9.973 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/0.866, allocations: 81.11 kB / 1.028 GB, free: 9.875 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.38e-05/0.866, allocations: 7.984 kB / 1.028 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.46e-05/0.8661, allocations: 0 / 1.028 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.378e-05/0.8661, allocations: 4 kB / 1.028 GB, free: 9.863 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.219e-05/0.8662, allocations: 11.98 kB / 1.028 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.008e-05/0.8662, allocations: 91.28 kB / 1.028 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8662, allocations: 0 / 1.028 GB, free: 9.762 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002821/0.8665, allocations: 35.89 kB / 1.028 GB, free: 9.727 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 (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.0001647/0.8667, allocations: 107.2 kB / 1.028 GB, free: 9.613 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000363/0.8671, allocations: 258.8 kB / 1.028 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.8671, allocations: 0 / 1.028 GB, free: 9.336 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 5.595e-05/0.8671, allocations: 32.3 kB / 1.029 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003032/0.8674, allocations: 23.94 kB / 1.029 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/0.8678, allocations: 183 kB / 1.029 GB, free: 9.078 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004123/0.8682, allocations: 0.6965 MB / 1.029 GB, free: 8.355 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.703e-05/0.8683, allocations: 4.672 kB / 1.029 GB, free: 8.352 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.05e-05/0.8683, allocations: 11.44 kB / 1.029 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of SimCode: time 1.553e-06/0.8683, allocations: 0 / 1.029 GB, free: 8.34 MB / 0.7794 GB Notification: Performance of Templates: time 0.005281/0.8736, allocations: 1.76 MB / 1.031 GB, free: 6.605 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/jenkins/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