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.001265/0.001266, allocations: 110.7 kB / 16.41 MB, free: 6.488 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.001274/0.001275, allocations: 187 kB / 17.34 MB, free: 5.762 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.16 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.479/2.479, allocations: 437 MB / 0.7112 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001492/0.001492, allocations: 63.89 kB / 1.019 GB, free: 9.43 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9239/0.9254, allocations: 151.6 MB / 1.167 GB, free: 3.875 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002373/0.9278, allocations: 0.6835 MB / 1.168 GB, free: 3.191 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.00217/0.93, allocations: 1.209 MB / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.301e-05/0.9302, allocations: 0 / 1.169 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 4.43e-05/0.9302, allocations: 3.938 kB / 1.169 GB, free: 1.965 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.000106/0.9304, allocations: 11.92 kB / 1.169 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008818/0.9313, allocations: 218.3 kB / 1.169 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003421/0.9316, allocations: 195.7 kB / 1.17 GB, free: 1.555 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001278/0.9317, allocations: 8 kB / 1.17 GB, free: 1.547 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001737/0.9319, allocations: 71.88 kB / 1.17 GB, free: 1.477 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001966/0.9321, allocations: 75.77 kB / 1.17 GB, free: 1.402 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.415e-05/0.9322, allocations: 16 kB / 1.17 GB, free: 1.387 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001007/0.9323, allocations: 23.98 kB / 1.17 GB, free: 1.363 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 3.142e-05/0.9323, allocations: 8 kB / 1.17 GB, free: 1.355 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 0.0001041/0.9324, allocations: 63.81 kB / 1.17 GB, free: 1.293 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0002711/0.9327, allocations: 155.5 kB / 1.17 GB, free: 1.141 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.9327, allocations: 3.938 kB / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.043e-06/0.9327, allocations: 0 / 1.17 GB, free: 1.137 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.926e-06/0.9327, allocations: 0 / 1.17 GB, free: 1.137 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.0007374/0.9335, allocations: 440.4 kB / 1.17 GB, free: 0.6523 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.9335, allocations: 12.03 kB / 1.17 GB, free: 0.6406 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.905e-05/0.9336, allocations: 8.938 kB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.9338, allocations: 180.2 kB / 1.171 GB, free: 428 kB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.9338, allocations: 12.36 kB / 1.171 GB, free: 416 kB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.157e-05/0.9339, allocations: 16.36 kB / 1.171 GB, free: 400 kB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001423/0.934, allocations: 49.61 kB / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.011e-05/0.934, allocations: 0 / 1.171 GB, free: 344 kB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.66e-05/0.9341, allocations: 4 kB / 1.171 GB, free: 340 kB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.686e-06/0.9341, allocations: 4 kB / 1.171 GB, free: 336 kB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.593e-05/0.9341, allocations: 11.94 kB / 1.171 GB, free: 324 kB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006885/0.9348, allocations: 356.8 kB / 1.171 GB, free: 15.91 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 9.495e-05/0.9349, allocations: 38.56 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.539e-05/0.935, allocations: 16.86 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.935, allocations: 0 / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002185/0.9352, allocations: 95.3 kB / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=9): time 1.904e-06/0.9352, allocations: 0 / 1.171 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of matching and sorting (n=9): time 0.0003242/0.9356, allocations: 125.5 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.454e-05/0.9356, allocations: 59.41 kB / 1.171 GB, free: 15.54 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/0.9358, allocations: 117.8 kB / 1.171 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 3.847e-05/0.9358, allocations: 29.7 kB / 1.171 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.091e-05/0.9359, allocations: 92.38 kB / 1.172 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.393e-05/0.9359, allocations: 19.66 kB / 1.172 GB, free: 15.27 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001157/0.9361, allocations: 57.69 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001245/0.9362, allocations: 330.7 kB / 1.172 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.9363, allocations: 60.33 kB / 1.172 GB, free: 14.82 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001602/0.9365, allocations: 109.9 kB / 1.172 GB, free: 14.69 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002303/0.9367, allocations: 189.3 kB / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.574e-06/0.9368, allocations: 0 / 1.172 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004806/0.9373, allocations: 284.7 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 6.411e-05/0.9373, allocations: 78.05 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.863e-06/0.9373, allocations: 0 / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.068e-05/0.9374, allocations: 4 kB / 1.173 GB, free: 14.09 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.039e-05/0.9374, allocations: 7.984 kB / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.628e-06/0.9374, allocations: 0 / 1.173 GB, free: 14.08 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003305/0.9378, allocations: 55.84 kB / 1.173 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.473e-05/0.9378, allocations: 15.98 kB / 1.173 GB, free: 14.01 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.0001186/0.9379, allocations: 130.8 kB / 1.173 GB, free: 13.87 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.796e-05/0.938, allocations: 7.906 kB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.994e-05/0.938, allocations: 12.38 kB / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.484e-06/0.938, allocations: 0 / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.938, allocations: 0 / 1.173 GB, free: 13.85 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.938, allocations: 3.984 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003116/0.9383, allocations: 362.4 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.9384, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.407e-06/0.9384, allocations: 4 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.107e-06/0.9384, allocations: 4 kB / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.147e-06/0.9384, allocations: 0 / 1.173 GB, free: 13.43 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.208e-06/0.9384, allocations: 7.984 kB / 1.173 GB, free: 13.42 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.9384, allocations: 3.938 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000179/0.9386, allocations: 199.4 kB / 1.173 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.392e-05/0.9387, allocations: 77.11 kB / 1.173 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.99e-05/0.9387, allocations: 4 kB / 1.174 GB, free: 13.11 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.565e-05/0.9388, allocations: 8 kB / 1.174 GB, free: 13.1 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.635e-05/0.9388, allocations: 11.92 kB / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.9388, allocations: 0 / 1.174 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.924e-05/0.9389, allocations: 95.2 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.253e-06/0.9389, allocations: 4.188 kB / 1.174 GB, free: 12.99 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002918/0.9392, allocations: 39.84 kB / 1.174 GB, free: 12.95 MB / 0.9044 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.0001796/0.9394, allocations: 117.4 kB / 1.174 GB, free: 12.83 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0003713/0.9397, allocations: 258.7 kB / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.9398, allocations: 0 / 1.174 GB, free: 12.55 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 6.984e-05/0.9398, allocations: 35.92 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003287/0.9402, allocations: 15.98 kB / 1.174 GB, free: 12.5 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003971/0.9406, allocations: 192.2 kB / 1.174 GB, free: 12.28 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002367/0.9408, allocations: 0.6891 MB / 1.175 GB, free: 11.56 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.9408, allocations: 11.44 kB / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of SimCode: time 3.31e-07/0.9409, allocations: 0 / 1.175 GB, free: 11.55 MB / 0.9044 GB Notification: Performance of Templates: time 0.003524/0.9444, allocations: 1.496 MB / 1.176 GB, free: 10.07 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