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.001454/0.001454, allocations: 103 kB / 16.45 MB, free: 6.449 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.001775/0.001775, allocations: 212.9 kB / 19.43 MB, free: 3.637 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.493/1.493, allocations: 230.6 MB / 252.8 MB, free: 9.117 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.838/2.838, allocations: 476.7 MB / 0.7672 GB, free: 5.25 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.002247/0.002247, allocations: 75.14 kB / 1.112 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3475, allocations: 169.9 MB / 1.278 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001908/0.3494, allocations: 0.6844 MB / 1.279 GB, free: 4.691 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001647/0.351, allocations: 1.231 MB / 1.28 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.18e-05/0.3511, allocations: 0 / 1.28 GB, free: 3.449 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.268e-05/0.3511, allocations: 3.938 kB / 1.28 GB, free: 3.445 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.478e-05/0.3512, allocations: 15.86 kB / 1.28 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006955/0.3519, allocations: 226.4 kB / 1.28 GB, free: 3.215 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002531/0.3521, allocations: 179.7 kB / 1.281 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.933e-05/0.3522, allocations: 4 kB / 1.281 GB, free: 3.035 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.778e-05/0.3523, allocations: 71.88 kB / 1.281 GB, free: 2.965 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001367/0.3525, allocations: 71.83 kB / 1.281 GB, free: 2.895 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.604e-05/0.3525, allocations: 16 kB / 1.281 GB, free: 2.879 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.015e-05/0.3526, allocations: 27.92 kB / 1.281 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.3526, allocations: 11.94 kB / 1.281 GB, free: 2.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.082e-05/0.3527, allocations: 63.81 kB / 1.281 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002336/0.3529, allocations: 155.9 kB / 1.281 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3529, allocations: 4 kB / 1.281 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.393e-06/0.3529, allocations: 0 / 1.281 GB, free: 2.621 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.07e-06/0.3529, allocations: 0 / 1.281 GB, free: 2.621 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.0006128/0.3536, allocations: 442.6 kB / 1.281 GB, free: 2.129 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3536, allocations: 8.031 kB / 1.281 GB, free: 2.121 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.851e-05/0.3536, allocations: 34.75 kB / 1.281 GB, free: 2.078 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.871e-05/0.3537, allocations: 16.88 kB / 1.281 GB, free: 2.062 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001294/0.3538, allocations: 168.4 kB / 1.282 GB, free: 1.859 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.504e-05/0.3538, allocations: 8.375 kB / 1.282 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.353e-05/0.3539, allocations: 12.12 kB / 1.282 GB, free: 1.84 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.354, allocations: 57.61 kB / 1.282 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.217e-06/0.354, allocations: 7.938 kB / 1.282 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.354, allocations: 0 / 1.282 GB, free: 1.77 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.354, allocations: 3.984 kB / 1.282 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.077e-05/0.3541, allocations: 15.98 kB / 1.282 GB, free: 1.75 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005363/0.3546, allocations: 352.6 kB / 1.282 GB, free: 1.355 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.228e-05/0.3547, allocations: 50.44 kB / 1.282 GB, free: 1.297 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.009e-05/0.3547, allocations: 16.94 kB / 1.282 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.075e-06/0.3547, allocations: 0 / 1.282 GB, free: 1.277 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001715/0.3549, allocations: 95.36 kB / 1.282 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=9): time 1.302e-06/0.3549, allocations: 0 / 1.282 GB, free: 1.172 MB / 0.9825 GB Notification: Performance of matching and sorting (n=9): time 0.0002971/0.3552, allocations: 121.6 kB / 1.282 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.851e-05/0.3553, allocations: 55.39 kB / 1.282 GB, free: 0.9805 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.3554, allocations: 125.8 kB / 1.282 GB, free: 0.8477 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.527e-05/0.3554, allocations: 29.7 kB / 1.283 GB, free: 0.8125 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.113e-05/0.3555, allocations: 100.2 kB / 1.283 GB, free: 0.707 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.23e-05/0.3555, allocations: 19.89 kB / 1.283 GB, free: 0.6875 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001032/0.3556, allocations: 49.69 kB / 1.283 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001456/0.3558, allocations: 322.8 kB / 1.283 GB, free: 316 kB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.3559, allocations: 63.97 kB / 1.283 GB, free: 252 kB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001791/0.3561, allocations: 112.5 kB / 1.283 GB, free: 120 kB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002454/0.3563, allocations: 181.3 kB / 1.283 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.3563, allocations: 0 / 1.283 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004888/0.3568, allocations: 288.8 kB / 1.284 GB, free: 15.61 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.785e-05/0.3569, allocations: 67.39 kB / 1.284 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.3569, allocations: 0 / 1.284 GB, free: 15.53 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.527e-05/0.3569, allocations: 4 kB / 1.284 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.577e-05/0.357, allocations: 4 kB / 1.284 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.055e-05/0.357, allocations: 7.938 kB / 1.284 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003378/0.3573, allocations: 63.97 kB / 1.284 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.3573, allocations: 19.88 kB / 1.284 GB, free: 15.43 MB / 0.9981 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.0001192/0.3575, allocations: 125.8 kB / 1.284 GB, free: 15.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.446e-05/0.3575, allocations: 3.953 kB / 1.284 GB, free: 15.29 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.696e-05/0.3575, allocations: 12.38 kB / 1.284 GB, free: 15.28 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.3575, allocations: 4.375 kB / 1.284 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.3575, allocations: 0 / 1.284 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.965e-06/0.3575, allocations: 0 / 1.284 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003555/0.3579, allocations: 370.4 kB / 1.284 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.242e-06/0.3579, allocations: 0 / 1.284 GB, free: 14.86 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.099e-05/0.3579, allocations: 4 kB / 1.284 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3579, allocations: 0 / 1.284 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.3579, allocations: 0 / 1.284 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.3579, allocations: 7.875 kB / 1.284 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.3579, allocations: 0 / 1.284 GB, free: 14.84 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.3581, allocations: 207.4 kB / 1.284 GB, free: 14.62 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.637e-05/0.3581, allocations: 81.06 kB / 1.285 GB, free: 14.53 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.166e-05/0.3582, allocations: 8 kB / 1.285 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.43e-05/0.3582, allocations: 3.938 kB / 1.285 GB, free: 14.52 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.554e-05/0.3583, allocations: 7.984 kB / 1.285 GB, free: 14.51 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.388e-05/0.3583, allocations: 4 kB / 1.285 GB, free: 14.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.71e-05/0.3583, allocations: 91.81 kB / 1.285 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3583, allocations: 0 / 1.285 GB, free: 14.41 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002782/0.3586, allocations: 36 kB / 1.285 GB, free: 14.38 MB / 0.9981 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.0005588/0.3592, allocations: 0.7402 MB / 1.285 GB, free: 13.61 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0003565/0.3595, allocations: 226.9 kB / 1.286 GB, free: 13.37 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.3595, allocations: 4.312 kB / 1.286 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.646e-05/0.3596, allocations: 31.92 kB / 1.286 GB, free: 13.33 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002891/0.3599, allocations: 20.25 kB / 1.286 GB, free: 13.31 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.362, allocations: 1.871 MB / 1.288 GB, free: 11.31 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002991/0.3623, allocations: 0.6885 MB / 1.288 GB, free: 10.6 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.202e-05/0.3624, allocations: 8.656 kB / 1.288 GB, free: 10.59 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.087e-05/0.3624, allocations: 23.44 kB / 1.288 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of SimCode: time 2.71e-07/0.3624, allocations: 0 / 1.288 GB, free: 10.57 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0311/0.3935, allocations: 3.037 MB / 1.291 GB, free: 7.648 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.223/8.616, allocations: 6.562 kB / 1.291 GB, free: 7.645 MB / 0.9981 GB " [Timeout remaining time 291] (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: 15.291187064023688]