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.00156/0.00156, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.001415/0.001415, allocations: 215.3 kB / 23.03 MB, free: 4.926 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 7.812 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.34/3.34, allocations: 0.5003 GB / 0.8062 GB, free: 28.28 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="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter",fmuType="cs",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.001961/0.001961, allocations: 70.28 kB / 1.17 GB, free: 19.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3598, allocations: 179 MB / 1.345 GB, free: 15.97 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.00208/0.3619, allocations: 0.6612 MB / 1.346 GB, free: 15.31 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001761/0.3636, allocations: 1.225 MB / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.703e-05/0.3637, allocations: 0 / 1.347 GB, free: 14.07 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.895e-05/0.3637, allocations: 7.938 kB / 1.347 GB, free: 14.06 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 7.283e-05/0.3638, allocations: 11.86 kB / 1.347 GB, free: 14.05 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007006/0.3645, allocations: 220.2 kB / 1.347 GB, free: 13.84 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0002706/0.3648, allocations: 179.7 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 8.417e-05/0.3649, allocations: 8 kB / 1.348 GB, free: 13.66 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001363/0.365, allocations: 71.88 kB / 1.348 GB, free: 13.59 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001562/0.3652, allocations: 67.78 kB / 1.348 GB, free: 13.52 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 4.278e-05/0.3652, allocations: 16 kB / 1.348 GB, free: 13.5 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 9.839e-05/0.3653, allocations: 31.98 kB / 1.348 GB, free: 13.47 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.798e-05/0.3653, allocations: 8 kB / 1.348 GB, free: 13.46 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.826e-05/0.3654, allocations: 59.75 kB / 1.348 GB, free: 13.41 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002554/0.3657, allocations: 155.9 kB / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.3657, allocations: 0 / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.483e-06/0.3657, allocations: 0 / 1.348 GB, free: 13.25 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.752e-06/0.3657, allocations: 4 kB / 1.348 GB, free: 13.25 MB / 1.045 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.0005602/0.3663, allocations: 369.5 kB / 1.348 GB, free: 12.85 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.3663, allocations: 8.031 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.696e-05/0.3663, allocations: 4.172 kB / 1.348 GB, free: 12.84 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.991e-05/0.3663, allocations: 34.75 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.85e-05/0.3664, allocations: 8.891 kB / 1.348 GB, free: 12.79 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.51e-05/0.3665, allocations: 110.5 kB / 1.348 GB, free: 12.65 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.666e-05/0.3665, allocations: 12.31 kB / 1.348 GB, free: 12.64 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.047e-05/0.3666, allocations: 19.92 kB / 1.348 GB, free: 12.62 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001263/0.3667, allocations: 53.62 kB / 1.349 GB, free: 12.56 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.006e-05/0.3667, allocations: 4 kB / 1.349 GB, free: 12.56 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.863e-05/0.3667, allocations: 7.969 kB / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.3667, allocations: 0 / 1.349 GB, free: 12.55 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.194e-05/0.3668, allocations: 12 kB / 1.349 GB, free: 12.54 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005306/0.3673, allocations: 299.8 kB / 1.349 GB, free: 12.2 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.258e-05/0.3674, allocations: 34.52 kB / 1.349 GB, free: 12.16 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.353e-05/0.3674, allocations: 12.94 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.195e-05/0.3675, allocations: 4 kB / 1.349 GB, free: 12.14 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002209/0.3677, allocations: 91.31 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of pre-optimization done (n=9): time 1.503e-06/0.3677, allocations: 4 kB / 1.349 GB, free: 12.04 MB / 1.045 GB Notification: Performance of matching and sorting (n=9): time 0.0003083/0.368, allocations: 133.5 kB / 1.349 GB, free: 11.9 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.925e-05/0.368, allocations: 55.41 kB / 1.349 GB, free: 11.83 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001075/0.3681, allocations: 117.8 kB / 1.349 GB, free: 11.71 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.721e-05/0.3682, allocations: 29.7 kB / 1.349 GB, free: 11.67 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 8.159e-05/0.3683, allocations: 92.36 kB / 1.349 GB, free: 11.57 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.3683, allocations: 23.84 kB / 1.349 GB, free: 11.55 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001098/0.3684, allocations: 53.69 kB / 1.349 GB, free: 11.49 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.3686, allocations: 330.7 kB / 1.35 GB, free: 11.16 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001982/0.3688, allocations: 123.4 kB / 1.35 GB, free: 11.03 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002284/0.369, allocations: 164.5 kB / 1.35 GB, free: 10.84 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002918/0.3693, allocations: 185.3 kB / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/0.3693, allocations: 0 / 1.35 GB, free: 10.62 MB / 1.045 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0005568/0.3699, allocations: 352.2 kB / 1.351 GB, free: 10.25 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 6.627e-05/0.3699, allocations: 67.39 kB / 1.351 GB, free: 10.17 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3699, allocations: 4.156 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.922e-05/0.37, allocations: 4 kB / 1.351 GB, free: 10.16 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.891e-05/0.37, allocations: 7.938 kB / 1.351 GB, free: 10.15 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.107e-05/0.37, allocations: 8 kB / 1.351 GB, free: 10.14 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003417/0.3704, allocations: 55.81 kB / 1.351 GB, free: 10.09 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.34e-05/0.3704, allocations: 15.98 kB / 1.351 GB, free: 10.07 MB / 1.045 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.0001404/0.3706, allocations: 139 kB / 1.351 GB, free: 9.93 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.888e-05/0.3706, allocations: 7.953 kB / 1.351 GB, free: 9.922 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.159e-05/0.3706, allocations: 8.375 kB / 1.351 GB, free: 9.91 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.595e-06/0.3706, allocations: 0 / 1.351 GB, free: 9.91 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.3706, allocations: 0 / 1.351 GB, free: 9.91 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.3706, allocations: 3.938 kB / 1.351 GB, free: 9.906 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003733/0.371, allocations: 325.6 kB / 1.351 GB, free: 9.539 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.371, allocations: 0 / 1.351 GB, free: 9.539 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.289e-05/0.371, allocations: 4.453 kB / 1.351 GB, free: 9.535 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.371, allocations: 0 / 1.351 GB, free: 9.535 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.371, allocations: 4 kB / 1.351 GB, free: 9.531 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.957e-06/0.371, allocations: 7.938 kB / 1.351 GB, free: 9.523 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.371, allocations: 3.938 kB / 1.351 GB, free: 9.52 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002291/0.3713, allocations: 195.4 kB / 1.351 GB, free: 9.312 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.3713, allocations: 7.953 kB / 1.351 GB, free: 9.305 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.185e-05/0.3713, allocations: 3.984 kB / 1.351 GB, free: 9.301 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.042e-05/0.3714, allocations: 15.88 kB / 1.351 GB, free: 9.285 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.442e-05/0.3714, allocations: 3.984 kB / 1.351 GB, free: 9.281 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.772e-05/0.3714, allocations: 4 kB / 1.351 GB, free: 9.277 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.592e-05/0.3715, allocations: 95.31 kB / 1.352 GB, free: 9.184 MB / 1.045 GB Notification: Performance of sort global known variables: time 8e-08/0.3715, allocations: 0 / 1.352 GB, free: 9.184 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002998/0.3718, allocations: 40 kB / 1.352 GB, free: 9.145 MB / 1.045 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.0006058/0.3724, allocations: 0.7382 MB / 1.352 GB, free: 8.383 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0004384/0.3728, allocations: 290.1 kB / 1.353 GB, free: 8.062 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.3728, allocations: 3.938 kB / 1.353 GB, free: 8.059 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 6.03e-05/0.3729, allocations: 23.98 kB / 1.353 GB, free: 8.035 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003281/0.3732, allocations: 20.61 kB / 1.353 GB, free: 8.016 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00247/0.3757, allocations: 2.126 MB / 1.355 GB, free: 5.711 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.097e-05/0.3757, allocations: 71.33 kB / 1.355 GB, free: 5.621 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 3.121e-05/0.3758, allocations: 4.672 kB / 1.355 GB, free: 5.617 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.443e-05/0.3758, allocations: 19.44 kB / 1.355 GB, free: 5.598 MB / 1.045 GB Notification: Performance of SimCode: time 3.91e-07/0.3758, allocations: 4 kB / 1.355 GB, free: 5.594 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/0.4004, allocations: 3.373 MB / 1.358 GB, free: 2.398 MB / 1.045 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.84, allocations: 0 / 1.358 GB, free: 2.398 MB / 1.045 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_OnCounter_fmu --startTime=0 --stopTime=2 --stepSize=0.0008 --timeout=800 --tolerance=1e-06 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] [Calling os._exit(0), Time elapsed: 18.71769129205495] Failed to read output from testmodel.py, exit status != 0: 11.999548772000708 12.01784713 11.648944334 Calling exit ...