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.001358/0.001358, allocations: 108 kB / 15.61 MB, free: 152 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.00161/0.00161, allocations: 193.9 kB / 16.53 MB, free: 6.664 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.482/1.482, allocations: 222.9 MB / 240.2 MB, free: 4.379 MB / 190.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.786/2.786, allocations: 437 MB / 0.7103 GB, free: 5.125 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001495/0.001495, allocations: 67.89 kB / 0.8692 GB, free: 4.676 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8531/0.8546, allocations: 151.6 MB / 1.017 GB, free: 2.535 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002416/0.8571, allocations: 0.6869 MB / 1.018 GB, free: 1.844 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001719/0.8589, allocations: 1.198 MB / 1.019 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.433e-05/0.8589, allocations: 4 kB / 1.019 GB, free: 0.625 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 3.301e-05/0.859, allocations: 3.938 kB / 1.019 GB, free: 0.6211 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 8.071e-05/0.8591, allocations: 7.875 kB / 1.019 GB, free: 0.6133 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007712/0.8599, allocations: 223.1 kB / 1.019 GB, free: 412 kB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0002611/0.8602, allocations: 191.7 kB / 1.02 GB, free: 220 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.8603, allocations: 15.94 kB / 1.02 GB, free: 204 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.8604, allocations: 75.81 kB / 1.02 GB, free: 128 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.8605, allocations: 51.88 kB / 1.02 GB, free: 76 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 5.069e-05/0.8606, allocations: 16 kB / 1.02 GB, free: 60 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 9.998e-05/0.8607, allocations: 23.98 kB / 1.02 GB, free: 36 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 3.107e-05/0.8608, allocations: 15.92 kB / 1.02 GB, free: 20 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 0.0001241/0.8609, allocations: 59.88 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0002461/0.8611, allocations: 159.6 kB / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.67e-06/0.8611, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.154e-06/0.8612, allocations: 0 / 1.02 GB, free: 15.8 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.845e-06/0.8612, allocations: 0 / 1.02 GB, free: 15.8 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.0006086/0.8618, allocations: 444.7 kB / 1.02 GB, free: 15.31 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.8618, allocations: 12.03 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.235e-05/0.8619, allocations: 8.844 kB / 1.02 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001399/0.8621, allocations: 168.3 kB / 1.021 GB, free: 15.09 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.864e-05/0.8621, allocations: 8.375 kB / 1.021 GB, free: 15.08 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.269e-05/0.8621, allocations: 16.31 kB / 1.021 GB, free: 15.07 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.8623, allocations: 49.8 kB / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.8623, allocations: 0 / 1.021 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.674e-05/0.8623, allocations: 8 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.319e-06/0.8623, allocations: 4 kB / 1.021 GB, free: 15 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.402e-05/0.8624, allocations: 15.98 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005376/0.8629, allocations: 352.6 kB / 1.021 GB, free: 14.59 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 8.763e-05/0.863, allocations: 38.52 kB / 1.021 GB, free: 14.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.427e-05/0.8631, allocations: 20.94 kB / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.799e-06/0.8631, allocations: 0 / 1.021 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.8633, allocations: 87.36 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=9): time 2.966e-06/0.8633, allocations: 0 / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of matching and sorting (n=9): time 0.0003118/0.8636, allocations: 133.7 kB / 1.021 GB, free: 14.29 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.79e-05/0.8637, allocations: 63.33 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001184/0.8638, allocations: 113.8 kB / 1.021 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 3.444e-05/0.8639, allocations: 29.8 kB / 1.021 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.301e-05/0.864, allocations: 108.2 kB / 1.022 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.612e-05/0.864, allocations: 15.75 kB / 1.022 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001153/0.8641, allocations: 57.69 kB / 1.022 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.000139/0.8643, allocations: 322.8 kB / 1.022 GB, free: 13.54 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001451/0.8644, allocations: 59.97 kB / 1.022 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001797/0.8646, allocations: 106 kB / 1.022 GB, free: 13.36 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.8648, allocations: 185.3 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.8648, allocations: 4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004452/0.8653, allocations: 280.8 kB / 1.023 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 6.413e-05/0.8654, allocations: 71.39 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.8654, allocations: 0 / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.715e-05/0.8654, allocations: 4 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.965e-05/0.8655, allocations: 4 kB / 1.023 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.221e-05/0.8655, allocations: 11.92 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003701/0.8659, allocations: 52.09 kB / 1.023 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.581e-05/0.8659, allocations: 15.98 kB / 1.023 GB, free: 12.68 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.000115/0.866, allocations: 127.3 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.523e-05/0.866, allocations: 3.906 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.137e-05/0.8661, allocations: 12.47 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.8661, allocations: 3.984 kB / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/0.8661, allocations: 0 / 1.023 GB, free: 12.53 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.102e-06/0.8661, allocations: 3.984 kB / 1.023 GB, free: 12.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003424/0.8665, allocations: 366.4 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/0.8665, allocations: 0 / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.337e-05/0.8665, allocations: 7.938 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.8665, allocations: 3.938 kB / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.8665, allocations: 0 / 1.023 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.8665, allocations: 3.984 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.8665, allocations: 3.938 kB / 1.023 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001949/0.8667, allocations: 207.4 kB / 1.023 GB, free: 11.87 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.012e-05/0.8668, allocations: 81.02 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/0.8668, allocations: 8 kB / 1.023 GB, free: 11.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.425e-05/0.8669, allocations: 3.984 kB / 1.023 GB, free: 11.76 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.8669, allocations: 7.938 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.503e-05/0.8669, allocations: 4 kB / 1.023 GB, free: 11.75 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.531e-05/0.867, allocations: 95.81 kB / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.867, allocations: 0 / 1.024 GB, free: 11.66 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002925/0.8673, allocations: 28 kB / 1.024 GB, free: 11.63 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.0001716/0.8675, allocations: 111.2 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003773/0.8679, allocations: 262.6 kB / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.8679, allocations: 0 / 1.024 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.282e-05/0.8679, allocations: 35.92 kB / 1.024 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003369/0.8683, allocations: 22.03 kB / 1.024 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/0.8687, allocations: 176.3 kB / 1.024 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.869, allocations: 0.6857 MB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.533e-05/0.869, allocations: 8.656 kB / 1.025 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.363e-05/0.8691, allocations: 11.44 kB / 1.025 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of SimCode: time 5.21e-07/0.8691, allocations: 4 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of Templates: time 0.00518/0.8743, allocations: 1.923 MB / 1.027 GB, free: 8.336 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