Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00135/0.00135, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001445/0.001445, allocations: 206.9 kB / 22.24 MB, free: 5.262 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.492/1.492, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.828/2.828, allocations: 476 MB / 0.7699 GB, free: 4.762 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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_11_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_11_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.002133/0.002133, allocations: 65.91 kB / 1.117 GB, free: 41.14 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3551, allocations: 170 MB / 1.283 GB, free: 12.38 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002391/0.3575, allocations: 0.6671 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00193/0.3594, allocations: 1.208 MB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.578e-05/0.3594, allocations: 4 kB / 1.284 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.763e-05/0.3595, allocations: 3.938 kB / 1.284 GB, free: 10.49 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.958e-05/0.3596, allocations: 11.88 kB / 1.284 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007986/0.3604, allocations: 221.9 kB / 1.285 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003214/0.3607, allocations: 183.8 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001175/0.3608, allocations: 5.688 kB / 1.285 GB, free: 10.09 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001346/0.3609, allocations: 71.88 kB / 1.285 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001431/0.3611, allocations: 55.84 kB / 1.285 GB, free: 9.961 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.085e-05/0.3611, allocations: 16 kB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.809e-05/0.3612, allocations: 35.92 kB / 1.285 GB, free: 9.91 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.76e-05/0.3612, allocations: 15.88 kB / 1.285 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.836e-05/0.3613, allocations: 51.88 kB / 1.285 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002608/0.3616, allocations: 159.1 kB / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.3616, allocations: 0 / 1.285 GB, free: 9.691 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3616, allocations: 4 kB / 1.285 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.158e-05/0.3616, allocations: 0 / 1.285 GB, free: 9.688 MB / 0.9825 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.000627/0.3622, allocations: 373.5 kB / 1.286 GB, free: 9.281 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.309e-05/0.3623, allocations: 8.031 kB / 1.286 GB, free: 9.273 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.3623, allocations: 34.73 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.174e-05/0.3624, allocations: 8.938 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.3625, allocations: 114.5 kB / 1.286 GB, free: 9.086 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.3625, allocations: 4.375 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.952e-05/0.3626, allocations: 20.12 kB / 1.286 GB, free: 9.062 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001277/0.3627, allocations: 53.61 kB / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.3627, allocations: 0 / 1.286 GB, free: 9.004 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.468e-06/0.3627, allocations: 8 kB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.128e-06/0.3627, allocations: 0 / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.276e-05/0.3627, allocations: 15.98 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005688/0.3633, allocations: 307.8 kB / 1.286 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.953e-05/0.3634, allocations: 34.52 kB / 1.286 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.157e-05/0.3634, allocations: 12.94 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.468e-06/0.3635, allocations: 0 / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002383/0.3637, allocations: 91.36 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.223e-06/0.3637, allocations: 0 / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003054/0.364, allocations: 129.5 kB / 1.286 GB, free: 8.344 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.083e-05/0.3641, allocations: 59.41 kB / 1.286 GB, free: 8.273 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.3642, allocations: 125.7 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.587e-05/0.3642, allocations: 29.7 kB / 1.287 GB, free: 8.105 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.469e-05/0.3643, allocations: 100.6 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.701e-05/0.3643, allocations: 19.89 kB / 1.287 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.3644, allocations: 53.69 kB / 1.287 GB, free: 7.922 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001731/0.3646, allocations: 318.8 kB / 1.287 GB, free: 7.602 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001803/0.3648, allocations: 127.3 kB / 1.287 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002131/0.365, allocations: 172.3 kB / 1.287 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002442/0.3652, allocations: 185.3 kB / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.3652, allocations: 0 / 1.288 GB, free: 7.051 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.000515/0.3657, allocations: 348.2 kB / 1.288 GB, free: 6.68 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 7.151e-05/0.3658, allocations: 71.39 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.139e-06/0.3658, allocations: 0 / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.3658, allocations: 8.156 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.31e-05/0.3659, allocations: 4 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.3659, allocations: 3.938 kB / 1.288 GB, free: 6.582 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000328/0.3662, allocations: 59.83 kB / 1.288 GB, free: 6.523 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.003e-05/0.3663, allocations: 23.92 kB / 1.288 GB, free: 6.5 MB / 0.9825 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.00012/0.3664, allocations: 117.8 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.846e-05/0.3664, allocations: 15.94 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.903e-05/0.3664, allocations: 12.38 kB / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.3664, allocations: 0 / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.3664, allocations: 0 / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3664, allocations: 0 / 1.288 GB, free: 6.348 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003647/0.3668, allocations: 325.5 kB / 1.288 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.3668, allocations: 0 / 1.288 GB, free: 5.98 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.132e-05/0.3668, allocations: 4 kB / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.3668, allocations: 0 / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.25e-05/0.3668, allocations: 3.984 kB / 1.288 GB, free: 5.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.3668, allocations: 7.875 kB / 1.288 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3668, allocations: 11.94 kB / 1.288 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.367, allocations: 195.4 kB / 1.289 GB, free: 5.746 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.3671, allocations: 7.953 kB / 1.289 GB, free: 5.738 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.98e-05/0.3671, allocations: 3.984 kB / 1.289 GB, free: 5.734 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.704e-05/0.3671, allocations: 8.125 kB / 1.289 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.774e-05/0.3672, allocations: 7.984 kB / 1.289 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.715e-05/0.3672, allocations: 7.938 kB / 1.289 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.038e-05/0.3673, allocations: 91.27 kB / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3673, allocations: 0 / 1.289 GB, free: 5.621 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002798/0.3675, allocations: 32 kB / 1.289 GB, free: 5.59 MB / 0.9825 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.0006079/0.3682, allocations: 0.7436 MB / 1.29 GB, free: 4.82 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004216/0.3686, allocations: 290 kB / 1.29 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.3686, allocations: 0 / 1.29 GB, free: 4.5 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.026e-05/0.3686, allocations: 27.98 kB / 1.29 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.3689, allocations: 19.92 kB / 1.29 GB, free: 4.453 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002354/0.3713, allocations: 2.107 MB / 1.292 GB, free: 2.168 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.515e-05/0.3714, allocations: 75.28 kB / 1.292 GB, free: 2.074 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.209e-05/0.3714, allocations: 8.656 kB / 1.292 GB, free: 2.066 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.459e-05/0.3714, allocations: 19.72 kB / 1.292 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of SimCode: time 3e-07/0.3714, allocations: 0 / 1.292 GB, free: 2.047 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03103/0.4025, allocations: 3.781 MB / 1.296 GB, free: 14.45 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.45/11.86, allocations: 4.188 kB / 1.296 GB, free: 14.45 MB / 0.9981 GB " [Timeout remaining time 287] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv --start-time 0 --stop-time 2 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv. Warning: Get data of variable onCounter.trigger from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv failed! Error: Could not read variable onCounter.reset in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv. Warning: Get data of variable onCounter.reset from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv failed! Error: Could not read variable onCounter.y in file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv. Warning: Get data of variable onCounter.y from file Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.66300106793642]