Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001845/0.001845, allocations: 104.1 kB / 18.19 MB, free: 4.117 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001926/0.001926, allocations: 192.4 kB / 21.34 MB, free: 0.9766 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.495/1.495, allocations: 225.6 MB / 249.9 MB, free: 3.207 MB / 190.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.757/2.757, allocations: 476.7 MB / 0.7634 GB, free: 15.2 MB / 0.6075 GB [Timeout remaining time 87] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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=561,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=561,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") [Timeout 300] Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 67.89 kB / 1.108 GB, free: 4.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9928/0.9948, allocations: 168.7 MB / 1.272 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002011/0.9968, allocations: 0.6814 MB / 1.273 GB, free: 7.516 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001668/0.9985, allocations: 1.203 MB / 1.274 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.792e-05/0.9986, allocations: 0 / 1.274 GB, free: 6.641 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 2.736e-05/0.9986, allocations: 5.656 kB / 1.274 GB, free: 6.637 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.555e-05/0.9987, allocations: 15.61 kB / 1.274 GB, free: 6.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008015/0.9995, allocations: 219.4 kB / 1.274 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002683/0.9997, allocations: 179.3 kB / 1.275 GB, free: 6.441 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.279e-05/0.9998, allocations: 11.28 kB / 1.275 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001021/0.9999, allocations: 70.38 kB / 1.275 GB, free: 6.41 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001424/1, allocations: 65.2 kB / 1.275 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.492e-05/1, allocations: 15.91 kB / 1.275 GB, free: 6.387 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001073/1, allocations: 31.5 kB / 1.275 GB, free: 6.379 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.934e-05/1, allocations: 11.58 kB / 1.275 GB, free: 6.375 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.683e-05/1, allocations: 60.98 kB / 1.275 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002419/1.001, allocations: 156.2 kB / 1.275 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.587e-06/1.001, allocations: 0 / 1.275 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.112e-06/1.001, allocations: 0 / 1.275 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.003e-05/1.001, allocations: 1 kB / 1.275 GB, free: 6.297 MB / 0.9981 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.0004816/1.001, allocations: 439.4 kB / 1.275 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/1.001, allocations: 9.531 kB / 1.275 GB, free: 5.859 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.709e-05/1.001, allocations: 16.44 kB / 1.275 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.212e-05/1.001, allocations: 180.5 kB / 1.276 GB, free: 5.641 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.698e-05/1.001, allocations: 10.53 kB / 1.276 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.889e-05/1.001, allocations: 11.3 kB / 1.276 GB, free: 5.637 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001142/1.001, allocations: 61.77 kB / 1.276 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/1.001, allocations: 0.875 kB / 1.276 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.12e-05/1.002, allocations: 0.9844 kB / 1.276 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.158e-06/1.002, allocations: 0.9375 kB / 1.276 GB, free: 5.586 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.946e-05/1.002, allocations: 14.14 kB / 1.276 GB, free: 5.582 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004728/1.002, allocations: 348.8 kB / 1.276 GB, free: 5.281 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.065e-05/1.002, allocations: 38.7 kB / 1.276 GB, free: 5.246 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.581e-05/1.002, allocations: 21.05 kB / 1.276 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.337e-06/1.002, allocations: 0 / 1.276 GB, free: 5.23 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001481/1.002, allocations: 94.59 kB / 1.276 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=9): time 1.473e-06/1.002, allocations: 1.156 kB / 1.276 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9): time 0.0002843/1.003, allocations: 122.1 kB / 1.276 GB, free: 5.109 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.692e-05/1.003, allocations: 57.78 kB / 1.276 GB, free: 5.043 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.324e-05/1.003, allocations: 126.4 kB / 1.277 GB, free: 4.93 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.941e-05/1.003, allocations: 29.73 kB / 1.277 GB, free: 4.898 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/1.003, allocations: 97.22 kB / 1.277 GB, free: 4.805 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.907e-05/1.003, allocations: 23.08 kB / 1.277 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001114/1.003, allocations: 55.39 kB / 1.277 GB, free: 4.758 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 5.498e-05/1.003, allocations: 318.5 kB / 1.277 GB, free: 4.441 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001471/1.003, allocations: 61.25 kB / 1.277 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001555/1.003, allocations: 117.1 kB / 1.277 GB, free: 4.336 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002038/1.004, allocations: 185.5 kB / 1.277 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/1.004, allocations: 1 kB / 1.277 GB, free: 4.172 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004474/1.004, allocations: 290.2 kB / 1.278 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 4.618e-05/1.004, allocations: 66.58 kB / 1.278 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.804e-06/1.004, allocations: 2.75 kB / 1.278 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/1.004, allocations: 3.109 kB / 1.278 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.065e-05/1.004, allocations: 4.5 kB / 1.278 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.476e-06/1.004, allocations: 3.203 kB / 1.278 GB, free: 3.941 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003357/1.004, allocations: 64.58 kB / 1.278 GB, free: 3.926 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.442e-05/1.004, allocations: 12.75 kB / 1.278 GB, free: 3.926 MB / 0.9981 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 8.798e-05/1.005, allocations: 124.8 kB / 1.278 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.691e-05/1.005, allocations: 4.625 kB / 1.278 GB, free: 3.805 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.51e-05/1.005, allocations: 10.22 kB / 1.278 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/1.005, allocations: 6.469 kB / 1.278 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/1.005, allocations: 0.9688 kB / 1.278 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.005, allocations: 0 / 1.278 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002987/1.005, allocations: 367.3 kB / 1.278 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.005, allocations: 0 / 1.278 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.055e-05/1.005, allocations: 2.797 kB / 1.278 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/1.005, allocations: 0.8125 kB / 1.278 GB, free: 3.449 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.035e-05/1.005, allocations: 6.906 kB / 1.278 GB, free: 3.445 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.785e-06/1.005, allocations: 8.688 kB / 1.278 GB, free: 3.438 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.005, allocations: 3.938 kB / 1.278 GB, free: 3.434 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/1.005, allocations: 190.1 kB / 1.278 GB, free: 3.285 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 2.597e-05/1.005, allocations: 98.98 kB / 1.279 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/1.005, allocations: 1.156 kB / 1.279 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.353e-05/1.005, allocations: 1 kB / 1.279 GB, free: 3.176 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.854e-05/1.005, allocations: 9.141 kB / 1.279 GB, free: 3.172 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.639e-05/1.005, allocations: 7.625 kB / 1.279 GB, free: 3.168 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 3.707e-05/1.005, allocations: 91.23 kB / 1.279 GB, free: 3.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 8e-08/1.005, allocations: 4 kB / 1.279 GB, free: 3.086 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002906/1.006, allocations: 29.47 kB / 1.279 GB, free: 3.086 MB / 0.9981 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.0001551/1.006, allocations: 109 kB / 1.279 GB, free: 2.996 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003422/1.006, allocations: 236 kB / 1.279 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.006, allocations: 0 / 1.279 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.805e-05/1.006, allocations: 23.11 kB / 1.279 GB, free: 2.824 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003236/1.006, allocations: 20.56 kB / 1.279 GB, free: 2.816 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/1.007, allocations: 199.8 kB / 1.279 GB, free: 2.645 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001212/1.007, allocations: 0.6939 MB / 1.28 GB, free: 1.945 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.43e-05/1.007, allocations: 12.16 kB / 1.28 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of SimCode: time 6.02e-07/1.007, allocations: 0 / 1.28 GB, free: 1.938 MB / 0.9981 GB Notification: Performance of Templates: time 0.004182/1.011, allocations: 1.5 MB / 1.281 GB, free: 1.785 MB / 0.9981 GB [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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