Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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=5000,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|onCounter.trigger|onCounter.reset|onCounter.y",fileNamePrefix="Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001607/0.001607, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001792/0.001792, allocations: 190.9 kB / 16.25 MB, free: 6.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.452/1.452, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.474/2.474, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001325/0.001325, allocations: 63.91 kB / 0.812 GB, free: 14.75 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8011/0.8024, allocations: 140.4 MB / 0.9491 GB, free: 9.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002024/0.8045, allocations: 0.7397 MB / 0.9498 GB, free: 8.504 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.8058, allocations: 1.194 MB / 0.951 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.206e-05/0.8059, allocations: 1.375 kB / 0.951 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.448e-05/0.8059, allocations: 4 kB / 0.951 GB, free: 7.539 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.808e-05/0.806, allocations: 9.297 kB / 0.951 GB, free: 7.531 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000594/0.8066, allocations: 197.4 kB / 0.9512 GB, free: 7.41 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00021/0.8068, allocations: 184.9 kB / 0.9514 GB, free: 7.312 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 9.815e-05/0.8069, allocations: 13.52 kB / 0.9514 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001008/0.807, allocations: 80.77 kB / 0.9515 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 9.373e-05/0.8071, allocations: 58.33 kB / 0.9515 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.23e-05/0.8072, allocations: 15.94 kB / 0.9515 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 7.691e-05/0.8073, allocations: 25.14 kB / 0.9516 GB, free: 7.211 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 2.169e-05/0.8073, allocations: 12.23 kB / 0.9516 GB, free: 7.203 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 7.48e-05/0.8074, allocations: 63.5 kB / 0.9516 GB, free: 7.16 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001722/0.8075, allocations: 147.2 kB / 0.9518 GB, free: 7.051 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.8076, allocations: 3.938 kB / 0.9518 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.424e-06/0.8076, allocations: 1.281 kB / 0.9518 GB, free: 7.047 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.8076, allocations: 0 / 0.9518 GB, free: 7.047 MB / 0.7169 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.0004449/0.808, allocations: 443.7 kB / 0.9522 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.068e-05/0.8081, allocations: 8.875 kB / 0.9522 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.786e-05/0.8081, allocations: 16.53 kB / 0.9522 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.335e-05/0.8082, allocations: 172 kB / 0.9524 GB, free: 6.379 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.002e-05/0.8082, allocations: 12.34 kB / 0.9524 GB, free: 6.371 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.402e-05/0.8083, allocations: 14.73 kB / 0.9524 GB, free: 6.367 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.8084, allocations: 47.62 kB / 0.9525 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.594e-06/0.8084, allocations: 0 / 0.9525 GB, free: 6.324 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.22e-05/0.8084, allocations: 5.391 kB / 0.9525 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.8084, allocations: 0 / 0.9525 GB, free: 6.32 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.579e-05/0.8085, allocations: 16.03 kB / 0.9525 GB, free: 6.312 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004356/0.8089, allocations: 358.7 kB / 0.9528 GB, free: 5.945 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 8.288e-05/0.809, allocations: 42.19 kB / 0.9529 GB, free: 5.906 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.892e-05/0.809, allocations: 23.38 kB / 0.9529 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.081e-05/0.8091, allocations: 0 / 0.9529 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001658/0.8092, allocations: 89.27 kB / 0.953 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=9): time 2.114e-06/0.8092, allocations: 1.625 kB / 0.953 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of matching and sorting (n=9): time 0.0002685/0.8095, allocations: 124.2 kB / 0.9531 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.921e-05/0.8095, allocations: 62.03 kB / 0.9532 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.546e-05/0.8096, allocations: 115.8 kB / 0.9533 GB, free: 5.562 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.828e-05/0.8097, allocations: 30.45 kB / 0.9533 GB, free: 5.531 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.053e-05/0.8097, allocations: 101.2 kB / 0.9534 GB, free: 5.434 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.8097, allocations: 31.14 kB / 0.9534 GB, free: 5.406 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.193e-05/0.8098, allocations: 52.78 kB / 0.9535 GB, free: 5.371 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.985e-05/0.8099, allocations: 321.3 kB / 0.9538 GB, free: 5.051 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001243/0.81, allocations: 64.75 kB / 0.9538 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001636/0.8102, allocations: 108.1 kB / 0.9539 GB, free: 4.93 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.8104, allocations: 188.3 kB / 0.9541 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.8104, allocations: 0.9375 kB / 0.9541 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004158/0.8108, allocations: 284.5 kB / 0.9544 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 4.882e-05/0.8109, allocations: 68.58 kB / 0.9545 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.602e-06/0.8109, allocations: 2.25 kB / 0.9545 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.423e-05/0.8109, allocations: 1.719 kB / 0.9545 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.676e-05/0.811, allocations: 8.828 kB / 0.9545 GB, free: 4.496 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.838e-06/0.811, allocations: 6.531 kB / 0.9545 GB, free: 4.492 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003355/0.8113, allocations: 48.47 kB / 0.9545 GB, free: 4.477 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.502e-05/0.8114, allocations: 21.73 kB / 0.9545 GB, free: 4.465 MB / 0.7169 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 8e-05/0.8115, allocations: 123 kB / 0.9547 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.456e-05/0.8115, allocations: 7.781 kB / 0.9547 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.336e-05/0.8115, allocations: 9.469 kB / 0.9547 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.8115, allocations: 4.984 kB / 0.9547 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.211e-06/0.8115, allocations: 0.8438 kB / 0.9547 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.105e-06/0.8115, allocations: 0 / 0.9547 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.8118, allocations: 366.9 kB / 0.955 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.8118, allocations: 0 / 0.955 GB, free: 3.969 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.063e-05/0.8118, allocations: 5.281 kB / 0.955 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.8118, allocations: 0 / 0.955 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.8118, allocations: 5.516 kB / 0.955 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.8118, allocations: 1.219 kB / 0.955 GB, free: 3.961 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.8119, allocations: 3.938 kB / 0.955 GB, free: 3.957 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001524/0.812, allocations: 205.4 kB / 0.9552 GB, free: 3.785 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.289e-05/0.812, allocations: 83.23 kB / 0.9553 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.824e-05/0.8121, allocations: 1.188 kB / 0.9553 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.269e-05/0.8121, allocations: 7.984 kB / 0.9553 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.499e-05/0.8122, allocations: 7.438 kB / 0.9553 GB, free: 3.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.8122, allocations: 7.328 kB / 0.9553 GB, free: 3.672 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 3.31e-05/0.8122, allocations: 95.8 kB / 0.9554 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8122, allocations: 1.219 kB / 0.9554 GB, free: 3.586 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0002757/0.8125, allocations: 36.36 kB / 0.9555 GB, free: 3.578 MB / 0.7169 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.0001492/0.8127, allocations: 109.7 kB / 0.9556 GB, free: 3.48 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003251/0.813, allocations: 260.3 kB / 0.9558 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.813, allocations: 1.312 kB / 0.9558 GB, free: 3.281 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.613e-05/0.8131, allocations: 35.86 kB / 0.9559 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002847/0.8134, allocations: 16.05 kB / 0.9559 GB, free: 3.258 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003168/0.8137, allocations: 177.9 kB / 0.956 GB, free: 3.098 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.8138, allocations: 0.6907 MB / 0.9567 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 3.161e-05/0.8138, allocations: 9.906 kB / 0.9567 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.946e-05/0.8139, allocations: 11.16 kB / 0.9567 GB, free: 2.383 MB / 0.7169 GB Notification: Performance of SimCode: time 2.3e-07/0.8139, allocations: 4 kB / 0.9567 GB, free: 2.379 MB / 0.7169 GB Notification: Performance of Templates: time 0.004246/0.8181, allocations: 1.909 MB / 0.9586 GB, free: 1.41 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.makefile (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & ./Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches