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.001691/0.001691, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001472/0.001472, allocations: 214.8 kB / 22.25 MB, free: 5.121 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.511/1.511, allocations: 230.6 MB / 256 MB, free: 7.996 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.792/2.792, allocations: 476.7 MB / 0.7707 GB, free: 4.297 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.002075/0.002075, allocations: 66.25 kB / 1.117 GB, free: 39.84 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3669/0.369, allocations: 169.9 MB / 1.283 GB, free: 11.58 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.0021/0.3711, allocations: 0.6904 MB / 1.284 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001885/0.373, allocations: 1.235 MB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.933e-05/0.3731, allocations: 0 / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.608e-05/0.3731, allocations: 3.938 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.109e-05/0.3732, allocations: 19.84 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007391/0.3739, allocations: 219.7 kB / 1.285 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002724/0.3742, allocations: 175.8 kB / 1.286 GB, free: 9.238 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.3743, allocations: 7.984 kB / 1.286 GB, free: 9.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001214/0.3744, allocations: 75.83 kB / 1.286 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001662/0.3746, allocations: 67.77 kB / 1.286 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.059e-05/0.3746, allocations: 16 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001001/0.3747, allocations: 28 kB / 1.286 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.088e-05/0.3748, allocations: 11.98 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.739e-05/0.3749, allocations: 59.81 kB / 1.286 GB, free: 8.977 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002713/0.3751, allocations: 167 kB / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.3752, allocations: 0 / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.673e-06/0.3752, allocations: 0 / 1.286 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.191e-05/0.3752, allocations: 4 kB / 1.286 GB, free: 8.812 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.0006249/0.3758, allocations: 365.5 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.19e-05/0.3758, allocations: 11.97 kB / 1.286 GB, free: 8.402 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.981e-05/0.3759, allocations: 30.75 kB / 1.286 GB, free: 8.363 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.546e-05/0.3759, allocations: 16.88 kB / 1.286 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.3761, allocations: 110.5 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.683e-05/0.3761, allocations: 12.38 kB / 1.287 GB, free: 8.203 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.981e-05/0.3761, allocations: 20.06 kB / 1.287 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001392/0.3763, allocations: 45.67 kB / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.023e-05/0.3763, allocations: 0 / 1.287 GB, free: 8.133 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.342e-05/0.3763, allocations: 4 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.3763, allocations: 4 kB / 1.287 GB, free: 8.125 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.243e-05/0.3763, allocations: 15.97 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005678/0.3769, allocations: 323.8 kB / 1.287 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.377, allocations: 42.5 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.92e-05/0.377, allocations: 12.86 kB / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.937e-06/0.377, allocations: 0 / 1.287 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002441/0.3773, allocations: 95.44 kB / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.162e-06/0.3773, allocations: 0 / 1.287 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0003052/0.3776, allocations: 117.6 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.546e-05/0.3777, allocations: 63.34 kB / 1.287 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3778, allocations: 121.8 kB / 1.287 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/0.3778, allocations: 37.7 kB / 1.287 GB, free: 7.211 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.58e-05/0.3779, allocations: 96.3 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.649e-05/0.3779, allocations: 19.89 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.535e-05/0.378, allocations: 49.69 kB / 1.288 GB, free: 7.035 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001397/0.3781, allocations: 318.8 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001386/0.3783, allocations: 67.95 kB / 1.288 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001706/0.3784, allocations: 116.8 kB / 1.288 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002446/0.3787, allocations: 181.3 kB / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.3787, allocations: 384 / 1.288 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004854/0.3792, allocations: 284.8 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.993e-05/0.3792, allocations: 71.39 kB / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.3793, allocations: 0 / 1.289 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.016e-05/0.3793, allocations: 7.938 kB / 1.289 GB, free: 5.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.791e-05/0.3793, allocations: 4 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.056e-05/0.3793, allocations: 8.094 kB / 1.289 GB, free: 5.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003212/0.3797, allocations: 59.83 kB / 1.289 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.181e-05/0.3797, allocations: 19.92 kB / 1.289 GB, free: 5.828 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.0001372/0.3798, allocations: 117.8 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.426e-05/0.3799, allocations: 7.953 kB / 1.289 GB, free: 5.695 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.308e-05/0.3799, allocations: 20.36 kB / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.3799, allocations: 0 / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.461e-06/0.3799, allocations: 0 / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.497e-06/0.3799, allocations: 0 / 1.289 GB, free: 5.676 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003756/0.3803, allocations: 329.5 kB / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.973e-06/0.3803, allocations: 0 / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.507e-05/0.3803, allocations: 11.94 kB / 1.289 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.3803, allocations: 3.984 kB / 1.289 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.3803, allocations: 0 / 1.289 GB, free: 5.289 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.697e-06/0.3803, allocations: 3.938 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.3803, allocations: 4 kB / 1.289 GB, free: 5.281 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002223/0.3805, allocations: 199.4 kB / 1.289 GB, free: 5.07 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.394e-05/0.3805, allocations: 7.953 kB / 1.289 GB, free: 5.062 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.666e-05/0.3806, allocations: 11.98 kB / 1.289 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.587e-05/0.3806, allocations: 7.875 kB / 1.289 GB, free: 5.043 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.285e-05/0.3807, allocations: 7.984 kB / 1.289 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.471e-05/0.3807, allocations: 0 / 1.289 GB, free: 5.035 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.893e-05/0.3808, allocations: 103.3 kB / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3808, allocations: 0 / 1.29 GB, free: 4.934 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002863/0.381, allocations: 35.94 kB / 1.29 GB, free: 4.898 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.0006232/0.3817, allocations: 0.7359 MB / 1.29 GB, free: 4.137 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003973/0.3821, allocations: 230.6 kB / 1.29 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3821, allocations: 0 / 1.29 GB, free: 3.887 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.032e-05/0.3821, allocations: 27.98 kB / 1.291 GB, free: 3.859 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.3825, allocations: 23.91 kB / 1.291 GB, free: 3.836 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002438/0.3849, allocations: 1.856 MB / 1.292 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003277/0.3852, allocations: 0.6924 MB / 1.293 GB, free: 1.133 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.25e-05/0.3853, allocations: 12.66 kB / 1.293 GB, free: 1.121 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.224e-05/0.3853, allocations: 23.44 kB / 1.293 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of SimCode: time 5.81e-07/0.3853, allocations: 0 / 1.293 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0358/0.4211, allocations: 3.166 MB / 1.296 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.61/11.04, allocations: 9.109 kB / 1.296 GB, free: 14.09 MB / 0.9981 GB " [Timeout remaining time 288] (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: 17.921841234001477]