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.001988/0.001988, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.001803/0.001803, allocations: 185.8 kB / 22.22 MB, free: 5.105 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.554/1.554, allocations: 225.6 MB / 251 MB, free: 13.25 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-maint.10.0.x/package.mo): time 2.728/2.728, allocations: 443.4 MB / 0.7321 GB, free: 12.28 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 10.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.2-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.002224/0.002224, allocations: 67.88 kB / 1.061 GB, free: 2.98 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039/1.041, allocations: 160.8 MB / 1.218 GB, free: 3.754 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002322/1.044, allocations: 0.6903 MB / 1.219 GB, free: 3.23 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001898/1.046, allocations: 1.212 MB / 1.22 GB, free: 2.254 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.619e-05/1.046, allocations: 0 / 1.22 GB, free: 2.254 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.826e-05/1.046, allocations: 7.938 kB / 1.22 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 9.658e-05/1.046, allocations: 14.23 kB / 1.22 GB, free: 2.234 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007728/1.047, allocations: 218.3 kB / 1.221 GB, free: 2.09 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0003278/1.047, allocations: 185.2 kB / 1.221 GB, free: 1.984 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001043/1.047, allocations: 11.02 kB / 1.221 GB, free: 1.977 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001333/1.047, allocations: 73.95 kB / 1.221 GB, free: 1.938 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002016/1.047, allocations: 68.28 kB / 1.221 GB, free: 1.887 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 5.014e-05/1.047, allocations: 16.62 kB / 1.221 GB, free: 1.887 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 9.523e-05/1.047, allocations: 29.73 kB / 1.221 GB, free: 1.879 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.146e-05/1.048, allocations: 15.64 kB / 1.221 GB, free: 1.867 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 9.99e-05/1.048, allocations: 58.05 kB / 1.221 GB, free: 1.828 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000294/1.048, allocations: 158.7 kB / 1.221 GB, free: 1.715 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.003e-06/1.048, allocations: 3.984 kB / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.234e-06/1.048, allocations: 0 / 1.221 GB, free: 1.711 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.394e-06/1.048, allocations: 1.094 kB / 1.221 GB, free: 1.711 MB / 0.92 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.0008475/1.049, allocations: 433.5 kB / 1.222 GB, free: 1.262 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.361e-05/1.049, allocations: 17.33 kB / 1.222 GB, free: 1.254 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.034e-05/1.049, allocations: 17.27 kB / 1.222 GB, free: 1.246 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000163/1.049, allocations: 174.3 kB / 1.222 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.744e-05/1.049, allocations: 5.438 kB / 1.222 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.314e-05/1.049, allocations: 9.875 kB / 1.222 GB, free: 1.039 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001354/1.049, allocations: 59.98 kB / 1.222 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/1.049, allocations: 0 / 1.222 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/1.049, allocations: 0.75 kB / 1.222 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.801e-06/1.049, allocations: 0.75 kB / 1.222 GB, free: 0.9844 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.301e-05/1.049, allocations: 15.86 kB / 1.222 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006735/1.05, allocations: 354.6 kB / 1.222 GB, free: 0.6133 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/1.05, allocations: 40.95 kB / 1.222 GB, free: 0.5742 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.339e-05/1.05, allocations: 17.22 kB / 1.222 GB, free: 0.5586 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.55e-05/1.05, allocations: 5.062 kB / 1.222 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003005/1.05, allocations: 101.3 kB / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of pre-optimization done (n=9): time 1.964e-06/1.05, allocations: 0 / 1.222 GB, free: 480 kB / 0.92 GB Notification: Performance of matching and sorting (n=9): time 0.0003848/1.051, allocations: 121.4 kB / 1.222 GB, free: 412 kB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.86e-05/1.051, allocations: 61.98 kB / 1.223 GB, free: 340 kB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001339/1.051, allocations: 114.7 kB / 1.223 GB, free: 228 kB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 4.33e-05/1.051, allocations: 30.77 kB / 1.223 GB, free: 196 kB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001091/1.051, allocations: 93.73 kB / 1.223 GB, free: 104 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.624e-05/1.051, allocations: 19.11 kB / 1.223 GB, free: 88 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/1.051, allocations: 58.06 kB / 1.223 GB, free: 48 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0002482/1.052, allocations: 320.9 kB / 1.223 GB, free: 15.73 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/1.052, allocations: 59.88 kB / 1.223 GB, free: 15.7 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002656/1.052, allocations: 113.1 kB / 1.223 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002777/1.052, allocations: 193 kB / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/1.052, allocations: 0 / 1.223 GB, free: 15.43 MB / 0.9356 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006188/1.053, allocations: 283.3 kB / 1.224 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 8.607e-05/1.053, allocations: 73.08 kB / 1.224 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/1.053, allocations: 2.188 kB / 1.224 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.19e-05/1.053, allocations: 6.188 kB / 1.224 GB, free: 15.17 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.551e-05/1.053, allocations: 8.531 kB / 1.224 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/1.053, allocations: 5.266 kB / 1.224 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003331/1.053, allocations: 52.81 kB / 1.224 GB, free: 15.14 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.701e-05/1.054, allocations: 9.656 kB / 1.224 GB, free: 15.14 MB / 0.9356 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.0001459/1.054, allocations: 137.4 kB / 1.224 GB, free: 15.01 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.953e-05/1.054, allocations: 7.703 kB / 1.224 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.921e-05/1.054, allocations: 9.125 kB / 1.224 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/1.054, allocations: 1.469 kB / 1.224 GB, free: 15 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/1.054, allocations: 4.969 kB / 1.224 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/1.054, allocations: 0 / 1.224 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004453/1.054, allocations: 357.3 kB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/1.054, allocations: 0.6875 kB / 1.224 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.505e-05/1.054, allocations: 9.5 kB / 1.224 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/1.054, allocations: 0.875 kB / 1.224 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/1.054, allocations: 5.094 kB / 1.224 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/1.054, allocations: 1.094 kB / 1.224 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.054, allocations: 3.938 kB / 1.224 GB, free: 14.62 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002608/1.055, allocations: 197.4 kB / 1.225 GB, free: 14.46 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.257e-05/1.055, allocations: 86.78 kB / 1.225 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.408e-05/1.055, allocations: 5.438 kB / 1.225 GB, free: 14.36 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.383e-05/1.055, allocations: 4.781 kB / 1.225 GB, free: 14.35 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.99e-05/1.055, allocations: 11.23 kB / 1.225 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.583e-05/1.055, allocations: 3.469 kB / 1.225 GB, free: 14.34 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.5e-05/1.055, allocations: 95.52 kB / 1.225 GB, free: 14.26 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/1.055, allocations: 3.938 kB / 1.225 GB, free: 14.25 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002969/1.055, allocations: 28.78 kB / 1.225 GB, free: 14.25 MB / 0.9356 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.0002686/1.055, allocations: 114 kB / 1.225 GB, free: 14.15 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0004613/1.056, allocations: 234.7 kB / 1.225 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/1.056, allocations: 1 kB / 1.225 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 6.42e-05/1.056, allocations: 24.52 kB / 1.225 GB, free: 13.96 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003146/1.056, allocations: 16.73 kB / 1.225 GB, free: 13.95 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004162/1.057, allocations: 169.8 kB / 1.225 GB, free: 13.8 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004336/1.057, allocations: 0.6971 MB / 1.226 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.087e-05/1.057, allocations: 5.172 kB / 1.226 GB, free: 13.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.896e-05/1.057, allocations: 15.77 kB / 1.226 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of SimCode: time 3e-07/1.057, allocations: 0 / 1.226 GB, free: 13.07 MB / 0.9356 GB Notification: Performance of Templates: time 0.006097/1.063, allocations: 1.966 MB / 1.228 GB, free: 12.07 MB / 0.9356 GB " [Timeout remaining time 299] 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: 9.609463633969426]