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.0009952/0.0009952, allocations: 108.3 kB / 19.72 MB, free: 420 kB / 13.93 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.001106/0.001106, allocations: 220.3 kB / 23.03 MB, free: 2.953 MB / 13.93 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 1.002/1.002, allocations: 230.6 MB / 256.8 MB, free: 9.602 MB / 202.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 2.06/2.06, allocations: 0.5046 GB / 0.8104 GB, free: 2.715 MB / 0.6511 GB " [Timeout remaining time 177] 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 0.0009591/0.0009591, allocations: 71.89 kB / 1.177 GB, free: 11.92 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7541/0.755, allocations: 180 MB / 1.352 GB, free: 1.641 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001539/0.7566, allocations: 0.6737 MB / 1.353 GB, free: 0.9688 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.7577, allocations: 1.217 MB / 1.354 GB, free: 15.74 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.028e-05/0.7578, allocations: 4 kB / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 2.942e-05/0.7578, allocations: 3.938 kB / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 6.44e-05/0.7579, allocations: 3.938 kB / 1.354 GB, free: 15.73 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004995/0.7584, allocations: 225.1 kB / 1.355 GB, free: 15.51 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0001724/0.7586, allocations: 175.7 kB / 1.355 GB, free: 15.34 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.607e-05/0.7586, allocations: 19.98 kB / 1.355 GB, free: 15.32 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 8.512e-05/0.7587, allocations: 71.88 kB / 1.355 GB, free: 15.25 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000105/0.7588, allocations: 55.84 kB / 1.355 GB, free: 15.2 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 2.346e-05/0.7589, allocations: 19.94 kB / 1.355 GB, free: 15.18 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.907e-05/0.7589, allocations: 27.98 kB / 1.355 GB, free: 15.15 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 2.374e-05/0.7589, allocations: 8 kB / 1.355 GB, free: 15.14 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 6.201e-05/0.759, allocations: 59.88 kB / 1.355 GB, free: 15.08 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001726/0.7592, allocations: 157.7 kB / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.7592, allocations: 0 / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.674e-06/0.7592, allocations: 0 / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of Transformations before backend: time 5.501e-06/0.7592, allocations: 0 / 1.355 GB, free: 14.93 MB / 1.042 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.0004642/0.7596, allocations: 371.3 kB / 1.355 GB, free: 14.53 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.7597, allocations: 8.922 kB / 1.355 GB, free: 14.52 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.252e-05/0.7597, allocations: 38.73 kB / 1.355 GB, free: 14.47 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.229e-05/0.7598, allocations: 8.938 kB / 1.356 GB, free: 14.46 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.014e-05/0.7599, allocations: 122.4 kB / 1.356 GB, free: 14.32 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.384e-05/0.7599, allocations: 8.375 kB / 1.356 GB, free: 14.31 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.143e-05/0.7599, allocations: 12.12 kB / 1.356 GB, free: 14.3 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.76, allocations: 49.67 kB / 1.356 GB, free: 14.25 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.76, allocations: 4 kB / 1.356 GB, free: 14.24 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.237e-06/0.76, allocations: 3.938 kB / 1.356 GB, free: 14.24 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.76, allocations: 4 kB / 1.356 GB, free: 14.23 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.119e-05/0.7601, allocations: 15.98 kB / 1.356 GB, free: 14.22 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004215/0.7605, allocations: 295.9 kB / 1.356 GB, free: 13.89 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 7.478e-05/0.7606, allocations: 26.58 kB / 1.356 GB, free: 13.85 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.671e-05/0.7606, allocations: 20.88 kB / 1.356 GB, free: 13.83 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.357e-06/0.7606, allocations: 7.938 kB / 1.356 GB, free: 13.82 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001508/0.7607, allocations: 91.31 kB / 1.356 GB, free: 13.72 MB / 1.042 GB Notification: Performance of pre-optimization done (n=9): time 1.272e-06/0.7607, allocations: 0 / 1.356 GB, free: 13.72 MB / 1.042 GB Notification: Performance of matching and sorting (n=9): time 0.000227/0.761, allocations: 125.6 kB / 1.356 GB, free: 13.59 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.303e-05/0.761, allocations: 59.39 kB / 1.356 GB, free: 13.52 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.995e-05/0.7611, allocations: 121.8 kB / 1.356 GB, free: 13.39 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.137e-05/0.7611, allocations: 29.7 kB / 1.356 GB, free: 13.36 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 4.907e-05/0.7611, allocations: 96.31 kB / 1.357 GB, free: 13.25 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.7612, allocations: 23.83 kB / 1.357 GB, free: 13.23 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.971e-05/0.7612, allocations: 49.69 kB / 1.357 GB, free: 13.18 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 7.623e-05/0.7613, allocations: 326.8 kB / 1.357 GB, free: 12.85 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001196/0.7614, allocations: 123.4 kB / 1.357 GB, free: 12.71 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002161/0.7616, allocations: 169.3 kB / 1.357 GB, free: 12.52 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.7618, allocations: 189.3 kB / 1.357 GB, free: 12.3 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.7618, allocations: 0 / 1.357 GB, free: 12.3 MB / 1.042 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003163/0.7621, allocations: 348.2 kB / 1.358 GB, free: 11.93 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 4.447e-05/0.7621, allocations: 67.39 kB / 1.358 GB, free: 11.85 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.7621, allocations: 384 / 1.358 GB, free: 11.85 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.7622, allocations: 4 kB / 1.358 GB, free: 11.84 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.661e-05/0.7622, allocations: 8.156 kB / 1.358 GB, free: 11.84 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.743e-06/0.7622, allocations: 3.984 kB / 1.358 GB, free: 11.83 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001822/0.7624, allocations: 59.83 kB / 1.358 GB, free: 11.77 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.352e-05/0.7624, allocations: 19.92 kB / 1.358 GB, free: 11.75 MB / 1.042 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.213e-05/0.7625, allocations: 128.4 kB / 1.358 GB, free: 11.62 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.147e-06/0.7625, allocations: 4 kB / 1.358 GB, free: 11.62 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.462e-05/0.7625, allocations: 16.36 kB / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.7625, allocations: 0 / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.718e-06/0.7625, allocations: 0 / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.397e-06/0.7625, allocations: 3.938 kB / 1.358 GB, free: 11.6 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002379/0.7628, allocations: 333.4 kB / 1.358 GB, free: 11.22 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7628, allocations: 0 / 1.358 GB, free: 11.22 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.725e-06/0.7628, allocations: 4 kB / 1.358 GB, free: 11.22 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.826e-06/0.7628, allocations: 0 / 1.358 GB, free: 11.22 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.7628, allocations: 7.984 kB / 1.358 GB, free: 11.21 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.7628, allocations: 3.938 kB / 1.358 GB, free: 11.21 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.7628, allocations: 4 kB / 1.358 GB, free: 11.2 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001212/0.7629, allocations: 199.5 kB / 1.359 GB, free: 10.99 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 9.217e-06/0.7629, allocations: 11.95 kB / 1.359 GB, free: 10.98 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.763, allocations: 3.984 kB / 1.359 GB, free: 10.98 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.712e-05/0.763, allocations: 3.938 kB / 1.359 GB, free: 10.97 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.973e-05/0.763, allocations: 11.98 kB / 1.359 GB, free: 10.96 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.321e-05/0.763, allocations: 7.938 kB / 1.359 GB, free: 10.95 MB / 1.042 GB Notification: Performance of sorting global known variables: time 3.617e-05/0.7631, allocations: 91.27 kB / 1.359 GB, free: 10.86 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7631, allocations: 0 / 1.359 GB, free: 10.86 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.0001877/0.7633, allocations: 32 kB / 1.359 GB, free: 10.83 MB / 1.042 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.0003371/0.7636, allocations: 0.7419 MB / 1.359 GB, free: 10.07 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0002648/0.7639, allocations: 290.1 kB / 1.36 GB, free: 9.746 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.7639, allocations: 0 / 1.36 GB, free: 9.746 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 3.605e-05/0.7639, allocations: 27.92 kB / 1.36 GB, free: 9.719 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002111/0.7641, allocations: 19.92 kB / 1.36 GB, free: 9.699 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.7656, allocations: 2.108 MB / 1.362 GB, free: 7.41 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.887e-05/0.7657, allocations: 75.28 kB / 1.362 GB, free: 7.316 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 2.691e-05/0.7657, allocations: 8.656 kB / 1.362 GB, free: 7.309 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.573e-05/0.7657, allocations: 19.44 kB / 1.362 GB, free: 7.289 MB / 1.042 GB Notification: Performance of SimCode: time 4.31e-07/0.7657, allocations: 0 / 1.362 GB, free: 7.289 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08876/0.8545, allocations: 3.782 MB / 1.366 GB, free: 3.691 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.088/7.942, allocations: 4.688 kB / 1.366 GB, free: 3.691 MB / 1.042 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: 13.013433122076094]