Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001798/0.001798, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 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.001616/0.001616, allocations: 216.9 kB / 22.25 MB, free: 4.855 MB / 14.72 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.464/1.464, allocations: 230.6 MB / 256 MB, free: 7.793 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.256/3.256, allocations: 0.5107 GB / 0.8158 GB, free: 17.84 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003108/0.003108, allocations: 70.64 kB / 1.186 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3565/0.3597, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001947/0.3616, allocations: 0.6612 MB / 1.364 GB, free: 13.42 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001767/0.3634, allocations: 1.222 MB / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.346e-05/0.3634, allocations: 0 / 1.365 GB, free: 12.19 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.097e-05/0.3634, allocations: 3.938 kB / 1.365 GB, free: 12.18 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.143e-05/0.3635, allocations: 15.86 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006923/0.3642, allocations: 227.1 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002723/0.3645, allocations: 175.7 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 8.766e-05/0.3646, allocations: 11.98 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.3647, allocations: 71.89 kB / 1.366 GB, free: 11.7 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001408/0.3648, allocations: 59.78 kB / 1.366 GB, free: 11.64 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 4.135e-05/0.3649, allocations: 16 kB / 1.366 GB, free: 11.62 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 8.725e-05/0.365, allocations: 23.98 kB / 1.366 GB, free: 11.6 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.75e-05/0.365, allocations: 19.86 kB / 1.366 GB, free: 11.58 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 8.082e-05/0.3651, allocations: 55.89 kB / 1.366 GB, free: 11.53 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002451/0.3653, allocations: 155.8 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.838e-06/0.3653, allocations: 0 / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.914e-06/0.3653, allocations: 4 kB / 1.366 GB, free: 11.37 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.4e-06/0.3653, allocations: 0 / 1.366 GB, free: 11.37 MB / 1.061 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.0005762/0.3659, allocations: 361.5 kB / 1.366 GB, free: 10.98 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.874e-05/0.3659, allocations: 12.03 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.795e-05/0.366, allocations: 34.73 kB / 1.366 GB, free: 10.92 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.448e-05/0.366, allocations: 12.89 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.3662, allocations: 114.5 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.01e-05/0.3662, allocations: 4.375 kB / 1.367 GB, free: 10.77 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.867e-05/0.3662, allocations: 16.12 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001293/0.3663, allocations: 53.61 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.114e-05/0.3664, allocations: 3.984 kB / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.676e-06/0.3664, allocations: 0 / 1.367 GB, free: 10.69 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.3664, allocations: 8 kB / 1.367 GB, free: 10.68 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.026e-05/0.3664, allocations: 11.98 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005814/0.367, allocations: 299.8 kB / 1.367 GB, free: 10.34 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 9.192e-05/0.3671, allocations: 30.58 kB / 1.367 GB, free: 10.3 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.738e-05/0.3671, allocations: 21.94 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.3671, allocations: 0 / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002187/0.3674, allocations: 95.3 kB / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of pre-optimization done (n=9): time 1.222e-06/0.3674, allocations: 0 / 1.367 GB, free: 10.17 MB / 1.061 GB Notification: Performance of matching and sorting (n=9): time 0.0003037/0.3677, allocations: 125.6 kB / 1.367 GB, free: 10.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.264e-05/0.3677, allocations: 63.77 kB / 1.367 GB, free: 9.965 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001074/0.3678, allocations: 113.8 kB / 1.367 GB, free: 9.844 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 4.265e-05/0.3679, allocations: 33.7 kB / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 8.855e-05/0.368, allocations: 100.3 kB / 1.367 GB, free: 9.699 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.368, allocations: 19.84 kB / 1.368 GB, free: 9.68 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.969e-05/0.3681, allocations: 53.62 kB / 1.368 GB, free: 9.621 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.3682, allocations: 322.8 kB / 1.368 GB, free: 9.297 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001934/0.3684, allocations: 127.3 kB / 1.368 GB, free: 9.16 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002355/0.3687, allocations: 169.4 kB / 1.368 GB, free: 8.961 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002457/0.3689, allocations: 185.3 kB / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.3689, allocations: 0 / 1.368 GB, free: 8.746 MB / 1.061 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000543/0.3695, allocations: 352.2 kB / 1.369 GB, free: 8.371 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 7.184e-05/0.3695, allocations: 68.95 kB / 1.369 GB, free: 8.293 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.494e-06/0.3695, allocations: 4 kB / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.776e-05/0.3696, allocations: 0 / 1.369 GB, free: 8.289 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.786e-05/0.3696, allocations: 8.156 kB / 1.369 GB, free: 8.281 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.3696, allocations: 4 kB / 1.369 GB, free: 8.277 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003308/0.3699, allocations: 55.88 kB / 1.369 GB, free: 8.223 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.579e-05/0.37, allocations: 19.92 kB / 1.369 GB, free: 8.203 MB / 1.061 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.0001273/0.3701, allocations: 125.8 kB / 1.369 GB, free: 8.07 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.625e-05/0.3701, allocations: 7.953 kB / 1.369 GB, free: 8.062 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.175e-05/0.3701, allocations: 12.36 kB / 1.369 GB, free: 8.043 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.3702, allocations: 4 kB / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.167e-06/0.3702, allocations: 0 / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/0.3702, allocations: 0 / 1.369 GB, free: 8.039 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003833/0.3705, allocations: 321.6 kB / 1.369 GB, free: 7.676 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.653e-06/0.3705, allocations: 0 / 1.369 GB, free: 7.676 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.448e-06/0.3706, allocations: 0 / 1.369 GB, free: 7.676 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.819e-06/0.3706, allocations: 4 kB / 1.369 GB, free: 7.672 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.3706, allocations: 7.984 kB / 1.369 GB, free: 7.664 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.795e-06/0.3706, allocations: 7.938 kB / 1.369 GB, free: 7.656 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.3706, allocations: 0 / 1.369 GB, free: 7.656 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002231/0.3708, allocations: 203.5 kB / 1.369 GB, free: 7.441 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.622e-05/0.3708, allocations: 8.047 kB / 1.369 GB, free: 7.434 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.3708, allocations: 3.938 kB / 1.369 GB, free: 7.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.945e-05/0.3709, allocations: 7.922 kB / 1.37 GB, free: 7.422 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.3709, allocations: 11.94 kB / 1.37 GB, free: 7.41 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.528e-05/0.371, allocations: 7.984 kB / 1.37 GB, free: 7.402 MB / 1.061 GB Notification: Performance of sorting global known variables: time 6.595e-05/0.371, allocations: 95.2 kB / 1.37 GB, free: 7.309 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.371, allocations: 0 / 1.37 GB, free: 7.309 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002903/0.3713, allocations: 28 kB / 1.37 GB, free: 7.281 MB / 1.061 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.0006157/0.3719, allocations: 0.7397 MB / 1.37 GB, free: 6.516 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004438/0.3724, allocations: 290.1 kB / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.3724, allocations: 0 / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.783e-05/0.3724, allocations: 27.92 kB / 1.371 GB, free: 6.168 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003065/0.3727, allocations: 24.8 kB / 1.371 GB, free: 6.145 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002726/0.3755, allocations: 2.117 MB / 1.373 GB, free: 3.855 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.963e-05/0.3756, allocations: 67.34 kB / 1.373 GB, free: 3.77 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.984e-05/0.3756, allocations: 8.938 kB / 1.373 GB, free: 3.762 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.3757, allocations: 27.38 kB / 1.373 GB, free: 3.734 MB / 1.061 GB Notification: Performance of SimCode: time 5.61e-07/0.3757, allocations: 4 kB / 1.373 GB, free: 3.73 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/0.4084, allocations: 3.754 MB / 1.377 GB, free: 140 kB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.85, allocations: 12.84 kB / 1.377 GB, free: 136 kB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv --start-time 0 --stop-time 2 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable onCounter.trigger in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv. Warning: Get data of variable onCounter.trigger from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv failed! Error: Could not read variable onCounter.reset in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv. Warning: Get data of variable onCounter.reset from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv failed! Error: Could not read variable onCounter.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv. Warning: Get data of variable onCounter.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.71820541471243]