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.001769/0.001769, allocations: 107.3 kB / 15.99 MB, free: 6.348 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.001936/0.001937, allocations: 191.3 kB / 16.91 MB, free: 6.188 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.427/1.427, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.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.289/2.289, allocations: 390.2 MB / 0.665 GB, free: 0.8984 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 67.69 kB / 0.8127 GB, free: 32.57 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2568/0.2581, allocations: 140.4 MB / 0.9498 GB, free: 9.227 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002925/0.2611, allocations: 0.7501 MB / 0.9505 GB, free: 8.469 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002251/0.2634, allocations: 1.198 MB / 0.9517 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.951e-05/0.2635, allocations: 4 kB / 0.9517 GB, free: 7.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 4.56e-05/0.2635, allocations: 7.922 kB / 0.9517 GB, free: 7.242 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.966e-05/0.2637, allocations: 3.938 kB / 0.9517 GB, free: 7.238 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008934/0.2646, allocations: 199.2 kB / 0.9519 GB, free: 7.051 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003199/0.2649, allocations: 199.7 kB / 0.9521 GB, free: 6.855 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001273/0.265, allocations: 11.98 kB / 0.9521 GB, free: 6.844 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001549/0.2652, allocations: 67.89 kB / 0.9521 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000149/0.2654, allocations: 55.84 kB / 0.9522 GB, free: 6.723 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 5.862e-05/0.2654, allocations: 16 kB / 0.9522 GB, free: 6.707 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001012/0.2655, allocations: 27.98 kB / 0.9522 GB, free: 6.68 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 3.266e-05/0.2656, allocations: 11.94 kB / 0.9523 GB, free: 6.668 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001093/0.2657, allocations: 63.81 kB / 0.9523 GB, free: 6.605 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.000202/0.2659, allocations: 107.8 kB / 0.9524 GB, free: 6.5 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.157e-06/0.2659, allocations: 4 kB / 0.9524 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2659, allocations: 0 / 0.9524 GB, free: 6.496 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.893e-06/0.266, allocations: 0 / 0.9524 GB, free: 6.496 MB / 0.7325 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.0006891/0.2667, allocations: 448.4 kB / 0.9529 GB, free: 6 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.2667, allocations: 8.031 kB / 0.9529 GB, free: 5.992 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.078e-05/0.2668, allocations: 12.84 kB / 0.9529 GB, free: 5.98 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001528/0.267, allocations: 164.4 kB / 0.953 GB, free: 5.781 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/0.267, allocations: 12.36 kB / 0.953 GB, free: 5.77 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.588e-05/0.2671, allocations: 8.375 kB / 0.953 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001485/0.2672, allocations: 61.78 kB / 0.9531 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2673, allocations: 3.938 kB / 0.9531 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.179e-05/0.2673, allocations: 0 / 0.9531 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.328e-06/0.2673, allocations: 0 / 0.9531 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.619e-05/0.2674, allocations: 15.94 kB / 0.9531 GB, free: 5.676 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006816/0.268, allocations: 364.6 kB / 0.9535 GB, free: 5.27 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001248/0.2682, allocations: 38.56 kB / 0.9535 GB, free: 5.223 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.075e-05/0.2682, allocations: 16.86 kB / 0.9535 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 9.307e-06/0.2683, allocations: 0 / 0.9535 GB, free: 5.203 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002978/0.2686, allocations: 95.38 kB / 0.9536 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.874e-06/0.2686, allocations: 0 / 0.9536 GB, free: 5.098 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0004015/0.269, allocations: 125.5 kB / 0.9537 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.282e-05/0.2691, allocations: 55.41 kB / 0.9538 GB, free: 4.902 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001253/0.2692, allocations: 125.8 kB / 0.9539 GB, free: 4.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 5.295e-05/0.2692, allocations: 29.7 kB / 0.9539 GB, free: 4.734 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.419e-05/0.2693, allocations: 92.28 kB / 0.954 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.447e-05/0.2694, allocations: 15.81 kB / 0.954 GB, free: 4.625 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001333/0.2695, allocations: 57.67 kB / 0.9541 GB, free: 4.562 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001465/0.2697, allocations: 314.8 kB / 0.9544 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001959/0.2699, allocations: 67.95 kB / 0.9545 GB, free: 4.18 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002426/0.2701, allocations: 116.2 kB / 0.9546 GB, free: 4.047 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002936/0.2704, allocations: 189.3 kB / 0.9548 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.2704, allocations: 0 / 0.9548 GB, free: 3.828 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000635/0.2711, allocations: 280.8 kB / 0.955 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 6.803e-05/0.2712, allocations: 63.41 kB / 0.9551 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.269e-05/0.2712, allocations: 7.984 kB / 0.9551 GB, free: 3.453 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.56e-05/0.2712, allocations: 3.938 kB / 0.9551 GB, free: 3.449 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.044e-05/0.2713, allocations: 4 kB / 0.9551 GB, free: 3.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.321e-05/0.2713, allocations: 4 kB / 0.9551 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004909/0.2718, allocations: 64.25 kB / 0.9552 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.573e-05/0.2719, allocations: 19.98 kB / 0.9552 GB, free: 3.359 MB / 0.7325 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.000148/0.272, allocations: 129.6 kB / 0.9553 GB, free: 3.227 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.45e-05/0.2721, allocations: 7.984 kB / 0.9553 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.153e-05/0.2721, allocations: 8.375 kB / 0.9553 GB, free: 3.211 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.2721, allocations: 4 kB / 0.9553 GB, free: 3.207 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.494e-06/0.2721, allocations: 4 kB / 0.9553 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.2721, allocations: 0 / 0.9553 GB, free: 3.203 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004573/0.2726, allocations: 358.5 kB / 0.9557 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.2726, allocations: 0 / 0.9557 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.496e-05/0.2726, allocations: 3.984 kB / 0.9557 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.396e-06/0.2726, allocations: 0 / 0.9557 GB, free: 2.793 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.315e-05/0.2727, allocations: 4 kB / 0.9557 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.315e-06/0.2727, allocations: 0 / 0.9557 GB, free: 2.789 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.2727, allocations: 7.938 kB / 0.9557 GB, free: 2.781 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002592/0.273, allocations: 195.4 kB / 0.9559 GB, free: 2.574 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 5.066e-05/0.273, allocations: 89 kB / 0.956 GB, free: 2.469 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.851e-05/0.2731, allocations: 4 kB / 0.956 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.138e-05/0.2731, allocations: 0 / 0.956 GB, free: 2.465 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.126e-05/0.2732, allocations: 11.92 kB / 0.956 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.149e-05/0.2732, allocations: 8 kB / 0.956 GB, free: 2.445 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.646e-05/0.2733, allocations: 95.27 kB / 0.9561 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2733, allocations: 0 / 0.9561 GB, free: 2.352 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004493/0.2738, allocations: 32 kB / 0.9561 GB, free: 2.32 MB / 0.7325 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.0001846/0.274, allocations: 111.1 kB / 0.9562 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005008/0.2745, allocations: 262.9 kB / 0.9565 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.2745, allocations: 0 / 0.9565 GB, free: 1.918 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 9.614e-05/0.2746, allocations: 40.17 kB / 0.9565 GB, free: 1.879 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003981/0.275, allocations: 24.86 kB / 0.9565 GB, free: 1.855 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004304/0.2755, allocations: 196.3 kB / 0.9567 GB, free: 1.629 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.2758, allocations: 0.6964 MB / 0.9574 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.515e-05/0.2758, allocations: 15.38 kB / 0.9574 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/0.2758, allocations: 0 / 0.9574 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of Templates: time 0.003412/0.2792, allocations: 1.476 MB / 0.9588 GB, free: 15.42 MB / 0.7481 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/jenkins1/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