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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001538/0.001538, allocations: 113.9 kB / 16.37 MB, free: 6.012 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.001711/0.001711, allocations: 191.2 kB / 17.31 MB, free: 5.613 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.38/1.38, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.342/2.342, allocations: 390.3 MB / 0.6655 GB, free: 0.5703 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00123/0.00123, allocations: 62.14 kB / 0.814 GB, free: 32.76 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2459/0.2471, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001752/0.2489, allocations: 0.6868 MB / 0.9518 GB, free: 7.355 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.2502, allocations: 1.2 MB / 0.953 GB, free: 6.141 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.419e-05/0.2503, allocations: 3.938 kB / 0.953 GB, free: 6.137 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.822e-05/0.2503, allocations: 3.938 kB / 0.953 GB, free: 6.133 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.573e-05/0.2504, allocations: 19.86 kB / 0.953 GB, free: 6.113 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005906/0.251, allocations: 219.2 kB / 0.9532 GB, free: 5.906 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002181/0.2512, allocations: 183.7 kB / 0.9534 GB, free: 5.727 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 9.015e-05/0.2513, allocations: 19.97 kB / 0.9534 GB, free: 5.707 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.449e-05/0.2514, allocations: 67.89 kB / 0.9535 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001207/0.2515, allocations: 63.84 kB / 0.9535 GB, free: 5.578 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 3.249e-05/0.2516, allocations: 16 kB / 0.9536 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 7.083e-05/0.2516, allocations: 35.92 kB / 0.9536 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.443e-05/0.2517, allocations: 15.92 kB / 0.9536 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 7.674e-05/0.2518, allocations: 59.81 kB / 0.9537 GB, free: 5.453 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0001942/0.252, allocations: 151.6 kB / 0.9538 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.105e-06/0.252, allocations: 0 / 0.9538 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.006e-06/0.252, allocations: 4 kB / 0.9538 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.252, allocations: 0 / 0.9538 GB, free: 5.301 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.0004882/0.2525, allocations: 442.6 kB / 0.9542 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.129e-05/0.2525, allocations: 12.03 kB / 0.9542 GB, free: 4.797 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.707e-05/0.2526, allocations: 12.84 kB / 0.9543 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001047/0.2527, allocations: 160.4 kB / 0.9544 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.287e-05/0.2527, allocations: 8.375 kB / 0.9544 GB, free: 4.582 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.039e-05/0.2528, allocations: 12.36 kB / 0.9544 GB, free: 4.57 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001035/0.2529, allocations: 57.75 kB / 0.9545 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.061e-06/0.2529, allocations: 0 / 0.9545 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.2529, allocations: 7.969 kB / 0.9545 GB, free: 4.5 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.377e-06/0.2529, allocations: 3.938 kB / 0.9545 GB, free: 4.496 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.783e-05/0.253, allocations: 16 kB / 0.9545 GB, free: 4.48 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004693/0.2534, allocations: 356.6 kB / 0.9548 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 7.589e-05/0.2535, allocations: 34.58 kB / 0.9549 GB, free: 4.039 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.05e-05/0.2536, allocations: 24.88 kB / 0.9549 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.2536, allocations: 0 / 0.9549 GB, free: 4.012 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001566/0.2537, allocations: 91.36 kB / 0.955 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=9): time 1.383e-06/0.2537, allocations: 0 / 0.955 GB, free: 3.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=9): time 0.0002542/0.254, allocations: 129.4 kB / 0.9551 GB, free: 3.777 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.314e-05/0.254, allocations: 55.41 kB / 0.9552 GB, free: 3.711 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.325e-05/0.2541, allocations: 117.8 kB / 0.9553 GB, free: 3.586 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.266e-05/0.2542, allocations: 37.7 kB / 0.9553 GB, free: 3.543 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.678e-05/0.2542, allocations: 100.2 kB / 0.9554 GB, free: 3.441 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 1.695e-05/0.2543, allocations: 15.81 kB / 0.9554 GB, free: 3.426 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.211e-05/0.2544, allocations: 53.69 kB / 0.9555 GB, free: 3.367 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001022/0.2545, allocations: 322.8 kB / 0.9558 GB, free: 3.043 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.2546, allocations: 63.91 kB / 0.9558 GB, free: 2.98 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001577/0.2548, allocations: 112.9 kB / 0.956 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002047/0.255, allocations: 185.3 kB / 0.9561 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.274e-06/0.255, allocations: 0 / 0.9561 GB, free: 2.637 MB / 0.7325 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004442/0.2555, allocations: 280.7 kB / 0.9564 GB, free: 2.344 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 5.677e-05/0.2555, allocations: 71.55 kB / 0.9565 GB, free: 2.262 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.2555, allocations: 4 kB / 0.9565 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.139e-05/0.2555, allocations: 0 / 0.9565 GB, free: 2.258 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.464e-05/0.2556, allocations: 7.984 kB / 0.9565 GB, free: 2.25 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.053e-06/0.2556, allocations: 4 kB / 0.9565 GB, free: 2.246 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003045/0.2559, allocations: 59.78 kB / 0.9565 GB, free: 2.188 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.155e-05/0.256, allocations: 11.98 kB / 0.9565 GB, free: 2.176 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.0001072/0.2561, allocations: 135.2 kB / 0.9567 GB, free: 2.035 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.2561, allocations: 11.94 kB / 0.9567 GB, free: 2.023 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/0.2561, allocations: 4.375 kB / 0.9567 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.2561, allocations: 0 / 0.9567 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.737e-06/0.2561, allocations: 0 / 0.9567 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.715e-06/0.2561, allocations: 0 / 0.9567 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003138/0.2565, allocations: 362.4 kB / 0.957 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.2565, allocations: 480 / 0.957 GB, free: 1.609 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.147e-05/0.2565, allocations: 8 kB / 0.957 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2565, allocations: 0 / 0.957 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.2565, allocations: 4 kB / 0.9571 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.2565, allocations: 4 kB / 0.9571 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.2565, allocations: 11.88 kB / 0.9571 GB, free: 1.582 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001755/0.2567, allocations: 199.4 kB / 0.9573 GB, free: 1.371 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 3.306e-05/0.2567, allocations: 81.02 kB / 0.9573 GB, free: 1.273 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.769e-05/0.2568, allocations: 4 kB / 0.9573 GB, free: 1.27 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.762e-05/0.2568, allocations: 4 kB / 0.9573 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.969e-05/0.2569, allocations: 15.86 kB / 0.9574 GB, free: 1.25 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.646e-05/0.2569, allocations: 8 kB / 0.9574 GB, free: 1.242 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 4.763e-05/0.2569, allocations: 91.27 kB / 0.9575 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.5e-07/0.257, allocations: 0 / 0.9575 GB, free: 1.152 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0002898/0.2572, allocations: 32 kB / 0.9575 GB, free: 1.121 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.0001293/0.2574, allocations: 107.2 kB / 0.9576 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003418/0.2577, allocations: 262.6 kB / 0.9578 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.093e-06/0.2577, allocations: 0 / 0.9578 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 5.788e-05/0.2578, allocations: 31.98 kB / 0.9579 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002923/0.2581, allocations: 15.98 kB / 0.9579 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003181/0.2584, allocations: 162.5 kB / 0.958 GB, free: 500 kB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000251/0.2587, allocations: 0.7003 MB / 0.9587 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.657e-05/0.2587, allocations: 4.672 kB / 0.9587 GB, free: 15.76 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.057e-05/0.2588, allocations: 15.7 kB / 0.9587 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of SimCode: time 2.675e-06/0.2588, allocations: 0 / 0.9587 GB, free: 15.74 MB / 0.7481 GB Notification: Performance of Templates: time 0.004301/0.2631, allocations: 1.925 MB / 0.9606 GB, free: 13.84 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 -s gbode -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