Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001269/0.001269, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001991/0.003259, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001169/0.001169, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001559/0.002728, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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 0.9593/0.9593, allocations: 177.1 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08869/1.048, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.424/2.424, allocations: 446.7 MB / 0.6745 GB, free: 6.199 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2983/2.723, allocations: 145.9 MB / 0.817 GB, free: 4.199 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/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_latest_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_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.844e-06/1.844e-06, allocations: 0 / 0.8183 GB, free: 2.883 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.858e-05/2.042e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.879 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001237/0.001257, allocations: 0.7299 MB / 0.819 GB, free: 2.148 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001164/0.002421, allocations: 1.256 MB / 0.8202 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.959e-05/0.002461, allocations: 0 / 0.8202 GB, free: 0.8789 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 2.429e-05/0.002485, allocations: 7.938 kB / 0.8203 GB, free: 0.8711 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 4.081e-05/0.002526, allocations: 7.938 kB / 0.8203 GB, free: 0.8633 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003842/0.00291, allocations: 215.4 kB / 0.8205 GB, free: 0.6523 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001853/0.003095, allocations: 171.7 kB / 0.8206 GB, free: 496 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 8.394e-05/0.003179, allocations: 11.98 kB / 0.8206 GB, free: 484 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001117/0.003291, allocations: 95.92 kB / 0.8207 GB, free: 388 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.003402, allocations: 59.84 kB / 0.8208 GB, free: 328 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 2.963e-05/0.003432, allocations: 20 kB / 0.8208 GB, free: 308 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 7.708e-05/0.003509, allocations: 23.98 kB / 0.8208 GB, free: 284 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 2.193e-05/0.003531, allocations: 11.94 kB / 0.8208 GB, free: 272 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 4.902e-05/0.00358, allocations: 35.98 kB / 0.8209 GB, free: 236 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001543/0.003734, allocations: 111.7 kB / 0.821 GB, free: 124 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 1.523e-05/0.00375, allocations: 0 / 0.821 GB, free: 124 kB / 0.7917 GB Notification: Performance of FrontEnd: time 1.042e-06/0.003751, allocations: 0 / 0.821 GB, free: 124 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 1.265e-05/0.003763, allocations: 0 / 0.821 GB, free: 124 kB / 0.7917 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.0007322/0.004495, allocations: 351.8 kB / 0.8213 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.473e-05/0.00453, allocations: 12.03 kB / 0.8213 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.15e-05/0.004572, allocations: 16.92 kB / 0.8213 GB, free: 15.71 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.309e-05/0.004655, allocations: 121.7 kB / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/0.004672, allocations: 4.375 kB / 0.8215 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.004691, allocations: 16.38 kB / 0.8215 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.157e-05/0.004773, allocations: 54.94 kB / 0.8215 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.093e-06/0.00478, allocations: 7.938 kB / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.004786, allocations: 0 / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.00479, allocations: 0 / 0.8215 GB, free: 15.48 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.567e-05/0.004806, allocations: 7.984 kB / 0.8216 GB, free: 15.47 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.005083, allocations: 200.1 kB / 0.8217 GB, free: 15.26 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.534e-05/0.005149, allocations: 30.52 kB / 0.8218 GB, free: 15.22 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.128e-05/0.00516, allocations: 12.94 kB / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.597e-06/0.005164, allocations: 0 / 0.8218 GB, free: 15.21 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001011/0.005265, allocations: 91.28 kB / 0.8219 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=9): time 1.022e-06/0.005266, allocations: 0 / 0.8219 GB, free: 15.11 MB / 0.8073 GB Notification: Performance of matching and sorting (n=9): time 0.0001281/0.005394, allocations: 81.59 kB / 0.8219 GB, free: 15.02 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.119e-05/0.005425, allocations: 51.41 kB / 0.822 GB, free: 14.96 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.363e-05/0.005489, allocations: 122.7 kB / 0.8221 GB, free: 14.82 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 2.098e-05/0.00551, allocations: 33.7 kB / 0.8221 GB, free: 14.79 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.005549, allocations: 96.31 kB / 0.8222 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.179e-05/0.005561, allocations: 19.89 kB / 0.8223 GB, free: 14.66 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.745e-05/0.005618, allocations: 53.66 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.154e-05/0.00569, allocations: 314.8 kB / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.904e-05/0.005759, allocations: 95.38 kB / 0.8227 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.02e-05/0.005839, allocations: 149.8 kB / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001064/0.005946, allocations: 169.2 kB / 0.823 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.005948, allocations: 0 / 0.823 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001953/0.006143, allocations: 284.3 kB / 0.8233 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.502e-05/0.006188, allocations: 67.39 kB / 0.8233 GB, free: 13.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.691e-06/0.006194, allocations: 4 kB / 0.8233 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.357e-06/0.006203, allocations: 3.984 kB / 0.8233 GB, free: 13.41 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.279e-05/0.006246, allocations: 15.92 kB / 0.8234 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.00625, allocations: 4 kB / 0.8234 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001401/0.00639, allocations: 48.02 kB / 0.8234 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.794e-05/0.006408, allocations: 11.98 kB / 0.8234 GB, free: 13.33 MB / 0.8073 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 6.632e-05/0.006475, allocations: 121.8 kB / 0.8235 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.184e-05/0.006487, allocations: 11.92 kB / 0.8236 GB, free: 13.19 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.133e-05/0.006508, allocations: 12.44 kB / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.006509, allocations: 0 / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.643e-06/0.006511, allocations: 3.938 kB / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.006514, allocations: 0 / 0.8236 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.006668, allocations: 222.8 kB / 0.8238 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.00667, allocations: 7.938 kB / 0.8238 GB, free: 12.93 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.968e-06/0.00668, allocations: 4 kB / 0.8238 GB, free: 12.92 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.664e-06/0.006688, allocations: 7.938 kB / 0.8238 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.693e-06/0.006689, allocations: 0 / 0.8238 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.342e-06/0.006696, allocations: 4 kB / 0.8238 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.82e-07/0.006697, allocations: 0 / 0.8238 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.001e-06/0.006698, allocations: 0 / 0.8238 GB, free: 12.91 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.416e-05/0.006782, allocations: 163.4 kB / 0.824 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.388e-05/0.006796, allocations: 3.984 kB / 0.824 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.314e-05/0.006829, allocations: 4 kB / 0.824 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.166e-05/0.00685, allocations: 7.984 kB / 0.824 GB, free: 12.72 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.006862, allocations: 8 kB / 0.824 GB, free: 12.71 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.656e-05/0.006878, allocations: 20.89 kB / 0.824 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006878, allocations: 0 / 0.824 GB, free: 12.69 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001552/0.007033, allocations: 35.98 kB / 0.824 GB, free: 12.65 MB / 0.8073 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.0001109/0.007144, allocations: 84.36 kB / 0.8241 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001909/0.007335, allocations: 274.9 kB / 0.8244 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.007339, allocations: 0 / 0.8244 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.55e-05/0.007364, allocations: 25.67 kB / 0.8244 GB, free: 12.23 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001596/0.007524, allocations: 36.03 kB / 0.8244 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004329/0.007957, allocations: 153 kB / 0.8246 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.455e-05/0.007991, allocations: 67.2 kB / 0.8246 GB, free: 11.93 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.468e-05/0.008016, allocations: 4.734 kB / 0.8247 GB, free: 11.92 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.114e-05/0.008107, allocations: 75.34 kB / 0.8247 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of SimCode: time 5.61e-07/0.008108, allocations: 0 / 0.8247 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of Templates: time 0.003719/0.01183, allocations: 2.381 MB / 0.827 GB, free: 9.512 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.217055079527199]