Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001071/0.001071, allocations: 80.55 kB / 19.96 MB, free: 4.602 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 177.2 kB / 23.24 MB, free: 1.324 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9261/0.9261, allocations: 177.1 MB / 203.5 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.824/1.824, allocations: 389.6 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.973e-06/1.973e-06, allocations: 3.938 kB / 1.001 GB, free: 13.53 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.922e-05/2.119e-05, allocations: 2.281 kB / 1.001 GB, free: 13.52 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001288/0.001309, allocations: 0.6725 MB / 1.001 GB, free: 12.86 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001139/0.002449, allocations: 1.221 MB / 1.003 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.962e-05/0.002488, allocations: 3.938 kB / 1.003 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.578e-05/0.002514, allocations: 11.92 kB / 1.003 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 6.384e-05/0.002578, allocations: 11.81 kB / 1.003 GB, free: 11.59 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004833/0.003061, allocations: 221.8 kB / 1.003 GB, free: 11.38 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001979/0.003259, allocations: 179.7 kB / 1.003 GB, free: 11.21 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 8.982e-05/0.003349, allocations: 11.92 kB / 1.003 GB, free: 11.2 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001122/0.003461, allocations: 95.86 kB / 1.003 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001105/0.003572, allocations: 51.91 kB / 1.003 GB, free: 11.05 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.003599, allocations: 16 kB / 1.003 GB, free: 11.04 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 5.881e-05/0.003658, allocations: 27.98 kB / 1.003 GB, free: 11.01 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.517e-05/0.003683, allocations: 15.92 kB / 1.003 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 5.977e-05/0.003743, allocations: 47.95 kB / 1.003 GB, free: 10.95 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.003937, allocations: 191.5 kB / 1.003 GB, free: 10.76 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.00394, allocations: 4 kB / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.122e-06/0.003941, allocations: 0 / 1.003 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.003945, allocations: 0 / 1.003 GB, free: 10.75 MB / 0.9636 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.0004252/0.00437, allocations: 369.5 kB / 1.004 GB, free: 10.35 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.841e-05/0.004409, allocations: 9.344 kB / 1.004 GB, free: 10.34 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.96e-05/0.004438, allocations: 38.73 kB / 1.004 GB, free: 10.3 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.935e-05/0.004478, allocations: 4.938 kB / 1.004 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.499e-05/0.004553, allocations: 113.7 kB / 1.004 GB, free: 10.16 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.015e-05/0.004573, allocations: 8.375 kB / 1.004 GB, free: 10.15 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.004593, allocations: 16.31 kB / 1.004 GB, free: 10.13 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001073/0.0047, allocations: 57.98 kB / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.00471, allocations: 0 / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.00472, allocations: 0 / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.004725, allocations: 0 / 1.004 GB, free: 10.07 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.074e-05/0.004755, allocations: 19.92 kB / 1.004 GB, free: 10.05 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005517/0.005307, allocations: 299.9 kB / 1.004 GB, free: 9.715 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 7.558e-05/0.005383, allocations: 30.52 kB / 1.004 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.005404, allocations: 16.94 kB / 1.004 GB, free: 9.656 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 4.539e-06/0.005408, allocations: 4 kB / 1.004 GB, free: 9.652 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000164/0.005572, allocations: 95.34 kB / 1.004 GB, free: 9.547 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=9): time 1.252e-06/0.005574, allocations: 4 kB / 1.004 GB, free: 9.543 MB / 0.9636 GB Notification: Performance of matching and sorting (n=9): time 0.0002271/0.005801, allocations: 133.5 kB / 1.005 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.234e-05/0.005833, allocations: 55.34 kB / 1.005 GB, free: 9.34 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.402e-05/0.005907, allocations: 121.8 kB / 1.005 GB, free: 9.211 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.005931, allocations: 29.7 kB / 1.005 GB, free: 9.176 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.971e-05/0.00598, allocations: 96.31 kB / 1.005 GB, free: 9.074 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.005995, allocations: 19.89 kB / 1.005 GB, free: 9.055 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.448e-05/0.00606, allocations: 49.69 kB / 1.005 GB, free: 9 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.675e-05/0.006146, allocations: 326.8 kB / 1.005 GB, free: 8.672 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000128/0.006274, allocations: 127.3 kB / 1.005 GB, free: 8.535 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001344/0.006409, allocations: 169.4 kB / 1.005 GB, free: 8.336 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001516/0.00656, allocations: 189.3 kB / 1.006 GB, free: 8.117 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.006564, allocations: 4 kB / 1.006 GB, free: 8.113 MB / 0.9636 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003278/0.006892, allocations: 340.2 kB / 1.006 GB, free: 7.75 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.635e-05/0.006938, allocations: 69.89 kB / 1.006 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.511e-06/0.006943, allocations: 4 kB / 1.006 GB, free: 7.668 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.287e-05/0.006956, allocations: 4 kB / 1.006 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.778e-05/0.007004, allocations: 4 kB / 1.006 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.007012, allocations: 11.92 kB / 1.006 GB, free: 7.648 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000191/0.007203, allocations: 55.89 kB / 1.006 GB, free: 7.594 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.083e-05/0.007224, allocations: 11.98 kB / 1.006 GB, free: 7.582 MB / 0.9636 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.423e-05/0.007308, allocations: 136.4 kB / 1.006 GB, free: 7.441 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.919e-06/0.007318, allocations: 3.953 kB / 1.006 GB, free: 7.438 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.214e-05/0.00734, allocations: 20.36 kB / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.007342, allocations: 0 / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.007347, allocations: 0 / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.00735, allocations: 0 / 1.006 GB, free: 7.418 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002522/0.007603, allocations: 321.5 kB / 1.007 GB, free: 7.055 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.007604, allocations: 4 kB / 1.007 GB, free: 7.051 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.827e-06/0.007613, allocations: 8.406 kB / 1.007 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.007616, allocations: 0 / 1.007 GB, free: 7.043 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.517e-06/0.007625, allocations: 11.98 kB / 1.007 GB, free: 7.031 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.674e-06/0.007627, allocations: 4 kB / 1.007 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.007628, allocations: 0 / 1.007 GB, free: 7.027 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.007762, allocations: 203.3 kB / 1.007 GB, free: 6.812 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.041e-05/0.007772, allocations: 11.89 kB / 1.007 GB, free: 6.801 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.479e-05/0.007787, allocations: 3.984 kB / 1.007 GB, free: 6.797 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.591e-05/0.007823, allocations: 4 kB / 1.007 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.058e-05/0.007853, allocations: 3.984 kB / 1.007 GB, free: 6.789 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.614e-05/0.00787, allocations: 11.94 kB / 1.007 GB, free: 6.777 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.934e-05/0.007909, allocations: 95.75 kB / 1.007 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of sort global known variables: time 6e-08/0.007909, allocations: 0 / 1.007 GB, free: 6.684 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0002052/0.008114, allocations: 36 kB / 1.007 GB, free: 6.648 MB / 0.9636 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.0003647/0.008479, allocations: 0.7281 MB / 1.008 GB, free: 5.891 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0002994/0.008778, allocations: 294 kB / 1.008 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.00878, allocations: 0 / 1.008 GB, free: 5.566 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.875e-05/0.008819, allocations: 23.98 kB / 1.008 GB, free: 5.543 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002429/0.009062, allocations: 22.11 kB / 1.008 GB, free: 5.523 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001754/0.01082, allocations: 2.119 MB / 1.01 GB, free: 3.227 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.632e-05/0.01087, allocations: 75.33 kB / 1.01 GB, free: 3.133 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.35e-05/0.01091, allocations: 4.734 kB / 1.01 GB, free: 3.129 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.674e-05/0.01095, allocations: 24.48 kB / 1.01 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of SimCode: time 9.01e-07/0.01095, allocations: 0 / 1.01 GB, free: 3.105 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08315/0.0941, allocations: 3.887 MB / 1.014 GB, free: 15.4 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.355/7.45, allocations: 9.797 kB / 1.014 GB, free: 15.39 MB / 0.9792 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_fmpy_res.csv --start-time 0 --stop-time 2 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 ../Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.004722439683974]