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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001699/0.001699, allocations: 113.1 kB / 17.6 MB, free: 4.703 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00247/0.00247, allocations: 186.7 kB / 20.78 MB, free: 1.547 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 225.6 MB / 249.4 MB, free: 3.301 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.684/2.684, allocations: 443.4 MB / 0.7304 GB, free: 14 MB / 0.5762 GB " [Timeout remaining time 177] 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=2500,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=2500,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002003/0.002003, allocations: 67.89 kB / 1.059 GB, free: 460 kB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3852/0.3872, allocations: 160.7 MB / 1.216 GB, free: 15.42 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002076/0.3892, allocations: 0.6966 MB / 1.217 GB, free: 14.71 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.3912, allocations: 1.207 MB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.219e-05/0.3912, allocations: 0 / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.358e-05/0.3912, allocations: 3.938 kB / 1.218 GB, free: 13.49 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.165e-05/0.3913, allocations: 19.86 kB / 1.218 GB, free: 13.47 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006786/0.392, allocations: 215 kB / 1.218 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002561/0.3923, allocations: 183.7 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 8.995e-05/0.3924, allocations: 4 kB / 1.218 GB, free: 13.08 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001082/0.3925, allocations: 75.88 kB / 1.218 GB, free: 13 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001432/0.3926, allocations: 63.83 kB / 1.219 GB, free: 12.94 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.313e-05/0.3926, allocations: 16 kB / 1.219 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.425e-05/0.3927, allocations: 31.92 kB / 1.219 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.347e-05/0.3927, allocations: 8 kB / 1.219 GB, free: 12.89 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.793e-05/0.3928, allocations: 63.81 kB / 1.219 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000238/0.3931, allocations: 155.5 kB / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.823e-06/0.3931, allocations: 4 kB / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.282e-06/0.3931, allocations: 0 / 1.219 GB, free: 12.67 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 5.351e-06/0.3931, allocations: 0 / 1.219 GB, free: 12.67 MB / 0.9669 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.0006536/0.3937, allocations: 442.6 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.955e-05/0.3938, allocations: 12.03 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.3938, allocations: 8.891 kB / 1.219 GB, free: 12.16 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.394, allocations: 176.3 kB / 1.219 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.039e-05/0.394, allocations: 4.375 kB / 1.219 GB, free: 11.94 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.628e-05/0.394, allocations: 16.38 kB / 1.219 GB, free: 11.93 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001213/0.3942, allocations: 57.55 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.047e-06/0.3942, allocations: 0 / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.156e-05/0.3942, allocations: 4 kB / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3942, allocations: 0 / 1.219 GB, free: 11.86 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.854e-05/0.3942, allocations: 12 kB / 1.219 GB, free: 11.85 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005966/0.3948, allocations: 360.6 kB / 1.22 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 9.668e-05/0.3949, allocations: 46.48 kB / 1.22 GB, free: 11.39 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.126e-05/0.395, allocations: 12.86 kB / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.395, allocations: 0 / 1.22 GB, free: 11.38 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000222/0.3952, allocations: 91.41 kB / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=9): time 1.172e-06/0.3952, allocations: 0 / 1.22 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=9): time 0.0002979/0.3955, allocations: 125.5 kB / 1.22 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.461e-05/0.3955, allocations: 55.41 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001261/0.3957, allocations: 129.8 kB / 1.22 GB, free: 10.94 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.3957, allocations: 29.7 kB / 1.22 GB, free: 10.91 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/0.3958, allocations: 88.38 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.3958, allocations: 27.83 kB / 1.22 GB, free: 10.79 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000102/0.3959, allocations: 53.69 kB / 1.22 GB, free: 10.73 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.3961, allocations: 322.7 kB / 1.221 GB, free: 10.41 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001538/0.3962, allocations: 63.95 kB / 1.221 GB, free: 10.34 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.3964, allocations: 112.2 kB / 1.221 GB, free: 10.21 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002353/0.3966, allocations: 181.3 kB / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.3966, allocations: 0 / 1.221 GB, free: 10 MB / 0.9669 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004794/0.3971, allocations: 288.8 kB / 1.221 GB, free: 9.703 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 7.771e-05/0.3972, allocations: 73.27 kB / 1.221 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.3972, allocations: 0 / 1.221 GB, free: 9.621 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.798e-05/0.3972, allocations: 4 kB / 1.221 GB, free: 9.617 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.017e-05/0.3973, allocations: 4 kB / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.853e-06/0.3973, allocations: 0 / 1.221 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003181/0.3976, allocations: 64.03 kB / 1.222 GB, free: 9.551 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.274e-05/0.3976, allocations: 11.98 kB / 1.222 GB, free: 9.539 MB / 0.9669 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.0001425/0.3978, allocations: 133.7 kB / 1.222 GB, free: 9.398 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.377e-05/0.3978, allocations: 3.953 kB / 1.222 GB, free: 9.395 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.863e-05/0.3978, allocations: 12.73 kB / 1.222 GB, free: 9.379 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.444e-06/0.3978, allocations: 4 kB / 1.222 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.3978, allocations: 0 / 1.222 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.646e-06/0.3978, allocations: 0 / 1.222 GB, free: 9.375 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003956/0.3982, allocations: 362.4 kB / 1.222 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.472e-06/0.3982, allocations: 0 / 1.222 GB, free: 8.965 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.109e-05/0.3982, allocations: 4 kB / 1.222 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.724e-06/0.3982, allocations: 0 / 1.222 GB, free: 8.961 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.462e-05/0.3983, allocations: 7.984 kB / 1.222 GB, free: 8.953 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.3983, allocations: 3.938 kB / 1.222 GB, free: 8.949 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.668e-05/0.3983, allocations: 7.875 kB / 1.222 GB, free: 8.941 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002304/0.3985, allocations: 199.5 kB / 1.222 GB, free: 8.73 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-05/0.3986, allocations: 81.06 kB / 1.222 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/0.3986, allocations: 7.984 kB / 1.222 GB, free: 8.625 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.243e-05/0.3987, allocations: 3.938 kB / 1.222 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.462e-05/0.3987, allocations: 11.94 kB / 1.222 GB, free: 8.609 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.738e-05/0.3987, allocations: 3.984 kB / 1.222 GB, free: 8.605 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 6.32e-05/0.3988, allocations: 95.33 kB / 1.222 GB, free: 8.512 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7e-08/0.3988, allocations: 4 kB / 1.222 GB, free: 8.508 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0004152/0.3992, allocations: 31.98 kB / 1.222 GB, free: 8.477 MB / 0.9669 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.0002356/0.3994, allocations: 107.2 kB / 1.223 GB, free: 8.363 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004048/0.3998, allocations: 234.6 kB / 1.223 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.3998, allocations: 0 / 1.223 GB, free: 8.109 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 6.145e-05/0.3999, allocations: 24 kB / 1.223 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003121/0.4002, allocations: 24.61 kB / 1.223 GB, free: 8.062 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004463/0.4007, allocations: 186.2 kB / 1.223 GB, free: 7.852 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003797/0.401, allocations: 0.6846 MB / 1.224 GB, free: 7.141 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 3.287e-05/0.4011, allocations: 12.66 kB / 1.224 GB, free: 7.129 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.443e-05/0.4011, allocations: 11.44 kB / 1.224 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of SimCode: time 8.41e-07/0.4011, allocations: 0 / 1.224 GB, free: 7.117 MB / 0.9669 GB Notification: Performance of Templates: time 0.005344/0.4064, allocations: 1.941 MB / 1.226 GB, free: 5.199 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (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=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 400] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.696460807695985]