Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001747/0.001747, 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.002693/0.002693, allocations: 212.1 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.532/1.532, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.247/3.247, allocations: 0.4892 GB / 0.7943 GB, free: 35.65 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_12_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.002215/0.002215, allocations: 68.14 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3555/0.3577, allocations: 176.1 MB / 1.325 GB, free: 2.359 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001952/0.3597, allocations: 0.6835 MB / 1.326 GB, free: 1.68 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001737/0.3614, allocations: 1.222 MB / 1.327 GB, free: 456 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.727e-05/0.3615, allocations: 4 kB / 1.327 GB, free: 452 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 3.082e-05/0.3615, allocations: 3.938 kB / 1.327 GB, free: 448 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 7.147e-05/0.3616, allocations: 15.86 kB / 1.327 GB, free: 432 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006959/0.3622, allocations: 218.9 kB / 1.327 GB, free: 220 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0002489/0.3625, allocations: 179.7 kB / 1.327 GB, free: 40 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 9.29e-05/0.3626, allocations: 8 kB / 1.327 GB, free: 32 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001264/0.3627, allocations: 71.95 kB / 1.327 GB, free: 15.96 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001328/0.3628, allocations: 59.7 kB / 1.327 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 3.717e-05/0.3629, allocations: 20 kB / 1.327 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 8.437e-05/0.363, allocations: 27.98 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.462e-05/0.363, allocations: 8 kB / 1.328 GB, free: 15.85 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 9.357e-05/0.3631, allocations: 63.81 kB / 1.328 GB, free: 15.79 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0002232/0.3633, allocations: 147.9 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3633, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of FrontEnd: time 3.767e-06/0.3633, allocations: 3.984 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.3633, allocations: 0 / 1.328 GB, free: 15.64 MB / 1.029 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.000538/0.3639, allocations: 365.5 kB / 1.328 GB, free: 15.24 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.3639, allocations: 11.97 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.567e-05/0.3639, allocations: 34.75 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.88e-05/0.364, allocations: 16.89 kB / 1.328 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001073/0.3641, allocations: 114.5 kB / 1.328 GB, free: 15.03 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.383e-05/0.3641, allocations: 8.375 kB / 1.328 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.143e-05/0.3642, allocations: 20.05 kB / 1.328 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.3643, allocations: 45.69 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.708e-06/0.3643, allocations: 4 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.3643, allocations: 3.984 kB / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.3643, allocations: 0 / 1.328 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.802e-05/0.3643, allocations: 12 kB / 1.328 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005728/0.3649, allocations: 307.8 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001053/0.365, allocations: 34.52 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.418e-05/0.3651, allocations: 16.94 kB / 1.329 GB, free: 14.53 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.152e-05/0.3651, allocations: 4 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001821/0.3653, allocations: 83.36 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=9): time 1.362e-06/0.3653, allocations: 0 / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=9): time 0.0002838/0.3655, allocations: 133.5 kB / 1.329 GB, free: 14.29 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.809e-05/0.3656, allocations: 55.34 kB / 1.329 GB, free: 14.23 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001114/0.3657, allocations: 121.8 kB / 1.329 GB, free: 14.1 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 4.049e-05/0.3657, allocations: 37.69 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.863e-05/0.3658, allocations: 88.38 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.3658, allocations: 23.89 kB / 1.329 GB, free: 13.94 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.778e-05/0.3659, allocations: 49.69 kB / 1.329 GB, free: 13.88 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.3661, allocations: 326.8 kB / 1.33 GB, free: 13.55 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001874/0.3663, allocations: 123.4 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002011/0.3665, allocations: 165.8 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002347/0.3667, allocations: 189.3 kB / 1.33 GB, free: 13.01 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.3667, allocations: 4.375 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005824/0.3673, allocations: 348.2 kB / 1.33 GB, free: 12.63 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.287e-05/0.3674, allocations: 67.39 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.941e-06/0.3674, allocations: 0 / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/0.3674, allocations: 7.938 kB / 1.33 GB, free: 12.55 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.498e-05/0.3674, allocations: 4 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.694e-06/0.3674, allocations: 3.938 kB / 1.33 GB, free: 12.54 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/0.3677, allocations: 67.97 kB / 1.33 GB, free: 12.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.289e-05/0.3678, allocations: 15.94 kB / 1.331 GB, free: 12.46 MB / 1.029 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.0001184/0.3679, allocations: 127.5 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.3679, allocations: 7.953 kB / 1.331 GB, free: 12.32 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.035e-05/0.3679, allocations: 12.38 kB / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.3679, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.3679, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.736e-06/0.368, allocations: 0 / 1.331 GB, free: 12.3 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003457/0.3683, allocations: 325.5 kB / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3683, allocations: 0 / 1.331 GB, free: 11.93 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.817e-05/0.3683, allocations: 15.92 kB / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.033e-06/0.3683, allocations: 0 / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.3683, allocations: 0 / 1.331 GB, free: 11.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.3683, allocations: 3.938 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.3683, allocations: 4 kB / 1.331 GB, free: 11.91 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.3685, allocations: 199.4 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.391e-05/0.3686, allocations: 7.953 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.3686, allocations: 3.984 kB / 1.331 GB, free: 11.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.434e-05/0.3686, allocations: 3.938 kB / 1.331 GB, free: 11.68 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.9e-05/0.3687, allocations: 15.98 kB / 1.331 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.664e-05/0.3687, allocations: 4 kB / 1.331 GB, free: 11.66 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.384e-05/0.3688, allocations: 95.31 kB / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3688, allocations: 0 / 1.331 GB, free: 11.57 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002726/0.369, allocations: 32 kB / 1.331 GB, free: 11.54 MB / 1.029 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.0005707/0.3696, allocations: 0.7398 MB / 1.332 GB, free: 10.77 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0004074/0.37, allocations: 294 kB / 1.332 GB, free: 10.45 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.37, allocations: 8.25 kB / 1.332 GB, free: 10.44 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.569e-05/0.3701, allocations: 27.98 kB / 1.332 GB, free: 10.41 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002957/0.3704, allocations: 15.92 kB / 1.332 GB, free: 10.4 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002387/0.3727, allocations: 2.108 MB / 1.334 GB, free: 8.117 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.684e-05/0.3728, allocations: 75.33 kB / 1.335 GB, free: 8.023 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.882e-05/0.3729, allocations: 8.672 kB / 1.335 GB, free: 8.016 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.569e-05/0.3729, allocations: 19.44 kB / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3729, allocations: 0 / 1.335 GB, free: 7.996 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03135/0.4042, allocations: 3.773 MB / 1.338 GB, free: 4.391 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.37/11.77, allocations: 15.64 kB / 1.338 GB, free: 4.379 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.sim & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv. Warning: Get data of variable onCounter.trigger from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv failed! Error: Could not read variable onCounter.reset in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv. Warning: Get data of variable onCounter.reset from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv failed! Error: Could not read variable onCounter.y in file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv. Warning: Get data of variable onCounter.y from file Buildings_12_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.836765891872346]