Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001976/0.001976, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002331/0.002331, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.512/1.512, allocations: 177.1 MB / 203.9 MB, free: 5.594 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.851/2.851, allocations: 377.8 MB / 0.6232 GB, free: 8.543 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.304e-06/2.304e-06, allocations: 0 / 0.8108 GB, free: 2.09 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.25e-05/3.481e-05, allocations: 6.25 kB / 0.8108 GB, free: 2.082 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002234/0.002269, allocations: 0.6763 MB / 0.8115 GB, free: 1.43 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.002049/0.004318, allocations: 1.221 MB / 0.8127 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.204e-05/0.00437, allocations: 1.062 kB / 0.8127 GB, free: 200 kB / 0.7605 GB Notification: Performance of NFTyping.typeComponents: time 3.369e-05/0.004404, allocations: 3.938 kB / 0.8127 GB, free: 196 kB / 0.7605 GB Notification: Performance of NFTyping.typeBindings: time 8.503e-05/0.004489, allocations: 19.86 kB / 0.8127 GB, free: 176 kB / 0.7605 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007132/0.005202, allocations: 206.8 kB / 0.8129 GB, free: 15.97 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0003079/0.00551, allocations: 183.5 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 9.268e-05/0.005603, allocations: 7.984 kB / 0.8131 GB, free: 15.79 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002068/0.005809, allocations: 99.86 kB / 0.8132 GB, free: 15.69 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001579/0.005967, allocations: 57.52 kB / 0.8132 GB, free: 15.63 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.183e-05/0.006009, allocations: 16 kB / 0.8132 GB, free: 15.62 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 9.033e-05/0.0061, allocations: 24 kB / 0.8133 GB, free: 15.59 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 2.799e-05/0.006128, allocations: 11.92 kB / 0.8133 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 0.0001152/0.006243, allocations: 51.95 kB / 0.8133 GB, free: 15.53 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003322/0.006575, allocations: 192.8 kB / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.00658, allocations: 0 / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of FrontEnd: time 1.232e-06/0.006581, allocations: 0 / 0.8135 GB, free: 15.34 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.006585, allocations: 0 / 0.8135 GB, free: 15.34 MB / 0.7761 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.0006732/0.007259, allocations: 367.4 kB / 0.8139 GB, free: 14.95 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 4.345e-05/0.007302, allocations: 8.031 kB / 0.8139 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.113e-05/0.007393, allocations: 16.92 kB / 0.8139 GB, free: 14.92 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.007531, allocations: 109.8 kB / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.421e-05/0.007565, allocations: 8.375 kB / 0.814 GB, free: 14.78 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.624e-05/0.007601, allocations: 10.62 kB / 0.814 GB, free: 14.77 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001396/0.007741, allocations: 54.23 kB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.007755, allocations: 7.875 kB / 0.8141 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.079e-05/0.007765, allocations: 3.938 kB / 0.8141 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.007771, allocations: 0 / 0.8141 GB, free: 14.7 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.608e-05/0.007817, allocations: 15.98 kB / 0.8141 GB, free: 14.69 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005522/0.008369, allocations: 265.2 kB / 0.8143 GB, free: 14.4 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001052/0.008474, allocations: 43.03 kB / 0.8144 GB, free: 14.35 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.319e-05/0.008507, allocations: 14.52 kB / 0.8144 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 8.997e-06/0.008516, allocations: 3.938 kB / 0.8144 GB, free: 14.33 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002241/0.00874, allocations: 95.39 kB / 0.8145 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=9): time 1.293e-06/0.008742, allocations: 0 / 0.8145 GB, free: 14.22 MB / 0.7761 GB Notification: Performance of matching and sorting (n=9): time 0.0003684/0.00911, allocations: 130.2 kB / 0.8146 GB, free: 14.09 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.762e-05/0.009168, allocations: 59.39 kB / 0.8147 GB, free: 14.02 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001269/0.009295, allocations: 119.1 kB / 0.8148 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 4.53e-05/0.00934, allocations: 33.7 kB / 0.8148 GB, free: 13.86 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001013/0.009441, allocations: 108.3 kB / 0.8149 GB, free: 13.74 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.048e-05/0.009462, allocations: 13.06 kB / 0.8149 GB, free: 13.73 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001168/0.009578, allocations: 53.69 kB / 0.815 GB, free: 13.67 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001798/0.009758, allocations: 322.8 kB / 0.8153 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002121/0.00997, allocations: 124.7 kB / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000257/0.01023, allocations: 169.4 kB / 0.8156 GB, free: 13.02 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003473/0.01057, allocations: 182.4 kB / 0.8157 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.819e-06/0.01058, allocations: 4.531 kB / 0.8158 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006273/0.01121, allocations: 361.9 kB / 0.8161 GB, free: 12.42 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 7.095e-05/0.01128, allocations: 67.39 kB / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.712e-06/0.01128, allocations: 5.625 kB / 0.8162 GB, free: 12.34 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.01131, allocations: 4 kB / 0.8162 GB, free: 12.33 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.23e-05/0.01136, allocations: 8 kB / 0.8162 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.176e-06/0.01137, allocations: 3.938 kB / 0.8162 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003634/0.01173, allocations: 58.89 kB / 0.8162 GB, free: 12.27 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.01177, allocations: 15.98 kB / 0.8163 GB, free: 12.25 MB / 0.7761 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.0001456/0.01192, allocations: 131.4 kB / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.543e-05/0.01194, allocations: 8 kB / 0.8164 GB, free: 12.11 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.474e-05/0.01199, allocations: 14.61 kB / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.01199, allocations: 0 / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.721e-06/0.012, allocations: 0 / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.547e-06/0.012, allocations: 4 kB / 0.8164 GB, free: 12.09 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.01241, allocations: 302.4 kB / 0.8167 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.01241, allocations: 0 / 0.8167 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.522e-05/0.01242, allocations: 8.438 kB / 0.8167 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.936e-06/0.01243, allocations: 0.5312 kB / 0.8167 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.01244, allocations: 4 kB / 0.8167 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.903e-06/0.01244, allocations: 1.344 kB / 0.8167 GB, free: 11.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.687e-06/0.01244, allocations: 4 kB / 0.8167 GB, free: 11.74 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002643/0.01271, allocations: 207.4 kB / 0.8169 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.01272, allocations: 8.516 kB / 0.8169 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.01274, allocations: 4 kB / 0.8169 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.715e-05/0.0128, allocations: 0.5312 kB / 0.8169 GB, free: 11.51 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.796e-05/0.01285, allocations: 12.64 kB / 0.8169 GB, free: 11.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.891e-05/0.01287, allocations: 7.984 kB / 0.8169 GB, free: 11.49 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 7.682e-05/0.01295, allocations: 87.91 kB / 0.817 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of sort global known variables: time 7e-08/0.01295, allocations: 0 / 0.817 GB, free: 11.41 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.000314/0.01326, allocations: 39.39 kB / 0.8171 GB, free: 11.37 MB / 0.7761 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.0002013/0.01346, allocations: 103.2 kB / 0.8172 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0004838/0.01394, allocations: 290 kB / 0.8174 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.01395, allocations: 4 kB / 0.8174 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 6.556e-05/0.01401, allocations: 23.98 kB / 0.8175 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003289/0.01434, allocations: 28.33 kB / 0.8175 GB, free: 10.89 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004266/0.01477, allocations: 168.8 kB / 0.8177 GB, free: 10.7 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.37e-05/0.01486, allocations: 76.3 kB / 0.8177 GB, free: 10.61 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 3.49e-05/0.0149, allocations: 9.812 kB / 0.8177 GB, free: 10.6 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.795e-05/0.01494, allocations: 12.5 kB / 0.8177 GB, free: 10.59 MB / 0.7761 GB Notification: Performance of SimCode: time 8.22e-07/0.01494, allocations: 3.938 kB / 0.8177 GB, free: 10.58 MB / 0.7761 GB Notification: Performance of Templates: time 0.005945/0.02088, allocations: 2.121 MB / 0.8198 GB, free: 8.531 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 7.948918035952374]