Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.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.0008836/0.0008836, allocations: 104.3 kB / 19.73 MB, free: 424 kB / 13.93 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.001254/0.001254, allocations: 212.7 kB / 23.02 MB, free: 2.969 MB / 13.93 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 0.9713/0.9713, allocations: 230.6 MB / 256.8 MB, free: 9.648 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.012/2.012, allocations: 0.5046 GB / 0.8104 GB, free: 2.828 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Logical.Validation.Timer,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Timer,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0009928/0.0009928, allocations: 75.77 kB / 1.177 GB, free: 12.05 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7991/0.8001, allocations: 180 MB / 1.352 GB, free: 1.754 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002091/0.8022, allocations: 0.7237 MB / 1.353 GB, free: 1.031 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001576/0.8038, allocations: 1.272 MB / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.179e-05/0.8038, allocations: 0 / 1.354 GB, free: 15.75 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 4.352e-05/0.8039, allocations: 7.875 kB / 1.354 GB, free: 15.74 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 0.000108/0.804, allocations: 23.84 kB / 1.354 GB, free: 15.71 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006582/0.8046, allocations: 249.9 kB / 1.355 GB, free: 15.48 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.000251/0.8049, allocations: 255.6 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001177/0.805, allocations: 8.234 kB / 1.355 GB, free: 15.21 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.8051, allocations: 103.8 kB / 1.355 GB, free: 15.11 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001351/0.8053, allocations: 83.73 kB / 1.355 GB, free: 15.03 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.347e-05/0.8053, allocations: 28 kB / 1.355 GB, free: 15 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 7.567e-05/0.8054, allocations: 32 kB / 1.355 GB, free: 14.97 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 4.102e-05/0.8054, allocations: 39.83 kB / 1.355 GB, free: 14.93 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 8.785e-05/0.8055, allocations: 83.8 kB / 1.355 GB, free: 14.85 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002466/0.8057, allocations: 225.4 kB / 1.355 GB, free: 14.63 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.8058, allocations: 0 / 1.355 GB, free: 14.63 MB / 1.042 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8058, allocations: 0 / 1.355 GB, free: 14.63 MB / 1.042 GB Notification: Performance of Transformations before backend: time 7.734e-06/0.8058, allocations: 0 / 1.355 GB, free: 14.63 MB / 1.042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0006172/0.8064, allocations: 421.4 kB / 1.356 GB, free: 14.18 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.521e-05/0.8064, allocations: 12.92 kB / 1.356 GB, free: 14.16 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.398e-05/0.8065, allocations: 42.73 kB / 1.356 GB, free: 14.11 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.213e-05/0.8065, allocations: 24.83 kB / 1.356 GB, free: 14.09 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003857/0.8069, allocations: 194.4 kB / 1.356 GB, free: 13.88 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.87e-05/0.8069, allocations: 16.36 kB / 1.356 GB, free: 13.86 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.748e-05/0.807, allocations: 16.38 kB / 1.356 GB, free: 13.84 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002011/0.8072, allocations: 139.4 kB / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.8072, allocations: 0 / 1.356 GB, free: 13.7 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.8072, allocations: 8 kB / 1.356 GB, free: 13.69 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.8072, allocations: 7.984 kB / 1.356 GB, free: 13.68 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.8073, allocations: 59.89 kB / 1.356 GB, free: 13.62 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006167/0.8079, allocations: 447.9 kB / 1.357 GB, free: 13.14 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002333/0.8081, allocations: 137.2 kB / 1.357 GB, free: 12.99 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.651e-05/0.8082, allocations: 49.7 kB / 1.357 GB, free: 12.93 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.594e-05/0.8082, allocations: 4 kB / 1.357 GB, free: 12.93 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003463/0.8086, allocations: 215.2 kB / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of pre-optimization done (n=22): time 1.643e-06/0.8086, allocations: 0 / 1.357 GB, free: 12.7 MB / 1.042 GB Notification: Performance of matching and sorting (n=22): time 0.0004168/0.809, allocations: 317.4 kB / 1.358 GB, free: 12.39 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.182e-05/0.809, allocations: 88.98 kB / 1.358 GB, free: 12.28 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.053e-05/0.8091, allocations: 134 kB / 1.358 GB, free: 12.14 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 3.09e-05/0.8092, allocations: 41.69 kB / 1.358 GB, free: 12.09 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.8092, allocations: 96.64 kB / 1.358 GB, free: 12 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 3.443e-05/0.8093, allocations: 51.62 kB / 1.358 GB, free: 11.95 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.563e-05/0.8093, allocations: 73.67 kB / 1.358 GB, free: 11.87 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.744e-05/0.8094, allocations: 326.8 kB / 1.358 GB, free: 11.54 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001684/0.8096, allocations: 147.6 kB / 1.358 GB, free: 11.38 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001646/0.8098, allocations: 207.6 kB / 1.359 GB, free: 11.14 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.81, allocations: 248.7 kB / 1.359 GB, free: 10.86 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.81, allocations: 3.938 kB / 1.359 GB, free: 10.85 MB / 1.042 GB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0005571/0.8105, allocations: 432 kB / 1.359 GB, free: 10.4 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 4.531e-05/0.8106, allocations: 59.41 kB / 1.359 GB, free: 10.33 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.8106, allocations: 4 kB / 1.359 GB, free: 10.32 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.898e-05/0.8106, allocations: 11.97 kB / 1.359 GB, free: 10.31 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.647e-05/0.8107, allocations: 28.09 kB / 1.359 GB, free: 10.29 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.724e-06/0.8107, allocations: 4 kB / 1.359 GB, free: 10.28 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001823/0.8109, allocations: 71.77 kB / 1.359 GB, free: 10.21 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.296e-05/0.8109, allocations: 16 kB / 1.359 GB, free: 10.2 MB / 1.042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 27 (thrTim.passed,$PRE.thrTim.passed,noThr.passed,$PRE.noThr.passed,$whenCondition10,$whenCondition11,booPul.y,$PRE.booPul.y,thrTim.entryTime,$PRE.thrTim.entryTime,noThr.entryTime,$PRE.noThr.entryTime,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition9,thrTim1.passed,$PRE.thrTim1.passed,$whenCondition4,$whenCondition5,booPul1.y,$PRE.booPul1.y,thrTim1.entryTime,$PRE.thrTim1.entryTime,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 28 * 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.0001031/0.811, allocations: 140.3 kB / 1.36 GB, free: 10.05 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.774e-05/0.811, allocations: 15.95 kB / 1.36 GB, free: 10.04 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.405e-05/0.8111, allocations: 20.42 kB / 1.36 GB, free: 10.02 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.8111, allocations: 3.938 kB / 1.36 GB, free: 10.01 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.8111, allocations: 0 / 1.36 GB, free: 10.01 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.8111, allocations: 4 kB / 1.36 GB, free: 10.01 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004472/0.8115, allocations: 0.5758 MB / 1.36 GB, free: 9.383 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/0.8115, allocations: 3.938 kB / 1.36 GB, free: 9.379 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.12e-05/0.8116, allocations: 8 kB / 1.36 GB, free: 9.371 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.378e-06/0.8116, allocations: 3.938 kB / 1.36 GB, free: 9.367 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.8116, allocations: 11.98 kB / 1.36 GB, free: 9.355 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.454e-06/0.8116, allocations: 4 kB / 1.36 GB, free: 9.352 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.8116, allocations: 4 kB / 1.36 GB, free: 9.348 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002804/0.8119, allocations: 426.6 kB / 1.361 GB, free: 8.914 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.355e-05/0.8119, allocations: 15.84 kB / 1.361 GB, free: 8.898 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.8119, allocations: 15.92 kB / 1.361 GB, free: 8.883 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.707e-05/0.812, allocations: 11.98 kB / 1.361 GB, free: 8.871 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.469e-05/0.812, allocations: 23.95 kB / 1.361 GB, free: 8.848 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.23e-05/0.812, allocations: 11.98 kB / 1.361 GB, free: 8.836 MB / 1.042 GB Notification: Performance of sorting global known variables: time 4.207e-05/0.8121, allocations: 100.6 kB / 1.361 GB, free: 8.738 MB / 1.042 GB Notification: Performance of sort global known variables: time 4.1e-08/0.8121, allocations: 96 / 1.361 GB, free: 8.738 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.00024/0.8123, allocations: 59.94 kB / 1.361 GB, free: 8.68 MB / 1.042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 19 ($whenCondition4,$whenCondition5,$whenCondition1,$whenCondition2,$whenCondition3,thrTim1.passed,thrTim1.entryTime,booPul1.y,$whenCondition10,$whenCondition11,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition8,noThr.passed,noThr.entryTime,thrTim.passed,thrTim.entryTime,booPul.y) * Number of discrete states: 3 (noThr.entryTime,thrTim.entryTime,thrTim1.entryTime) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.0005733/0.8129, allocations: 0.9703 MB / 1.362 GB, free: 7.684 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0003571/0.8133, allocations: 381.8 kB / 1.362 GB, free: 7.273 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.8133, allocations: 0 / 1.362 GB, free: 7.273 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 9.991e-05/0.8134, allocations: 85.28 kB / 1.362 GB, free: 7.191 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/0.8136, allocations: 36.62 kB / 1.362 GB, free: 7.156 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001956/0.8156, allocations: 2.532 MB / 1.365 GB, free: 4.434 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.683e-05/0.8157, allocations: 92.75 kB / 1.365 GB, free: 4.324 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 5.085e-05/0.8157, allocations: 21.48 kB / 1.365 GB, free: 4.301 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.975e-05/0.8158, allocations: 35.53 kB / 1.365 GB, free: 4.266 MB / 1.042 GB Notification: Performance of SimCode: time 9.32e-07/0.8158, allocations: 3.938 kB / 1.365 GB, free: 4.262 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08239/0.8982, allocations: 4.94 MB / 1.37 GB, free: 15.52 MB / 1.057 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.145/8.043, allocations: 14.44 kB / 1.37 GB, free: 15.51 MB / 1.057 GB " [Timeout remaining time 292] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Timer_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Timer.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.002 ../Buildings_13_Buildings_Controls_OBC_CDL_Logical_Validation_Timer.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Logical.Validation.Timer_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.967448475770652]