Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.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.001004/0.001004, allocations: 80.52 kB / 19.95 MB, free: 4.602 MB / 18.57 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.001018/0.001018, allocations: 173.2 kB / 23.24 MB, free: 1.324 MB / 18.57 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.8925/0.8925, allocations: 177.1 MB / 203.5 MB, free: 5.73 MB / 186.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 1.813/1.813, allocations: 389.5 MB / 0.6343 GB, free: 12.59 MB / 0.6042 GB " [Timeout remaining time 178] 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.Integers.Validation.Switch,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Switch,fileNamePrefix="Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.625e-06/2.625e-06, allocations: 3.984 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.124e-05/1.387e-05, allocations: 5.938 kB / 1.001 GB, free: 13.5 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001185/0.001199, allocations: 0.8006 MB / 1.001 GB, free: 12.7 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001156/0.002355, allocations: 1.319 MB / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.502e-05/0.00241, allocations: 0 / 1.003 GB, free: 11.37 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 3.199e-05/0.002442, allocations: 11.86 kB / 1.003 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 7.176e-05/0.002514, allocations: 27.75 kB / 1.003 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005557/0.003069, allocations: 323.8 kB / 1.003 GB, free: 11.02 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0002395/0.003309, allocations: 291.5 kB / 1.003 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000105/0.003414, allocations: 37.53 kB / 1.003 GB, free: 10.7 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000139/0.003553, allocations: 159.8 kB / 1.004 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001195/0.003672, allocations: 91.78 kB / 1.004 GB, free: 10.45 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 3.371e-05/0.003706, allocations: 28 kB / 1.004 GB, free: 10.42 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 6.249e-05/0.003769, allocations: 35.98 kB / 1.004 GB, free: 10.39 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 2.426e-05/0.003793, allocations: 23.86 kB / 1.004 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 7.469e-05/0.003868, allocations: 91.84 kB / 1.004 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.004104, allocations: 303.3 kB / 1.004 GB, free: 9.977 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.004108, allocations: 7.922 kB / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004108, allocations: 0 / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 3.356e-06/0.004112, allocations: 0 / 1.004 GB, free: 9.969 MB / 0.9636 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004562/0.004568, allocations: 462.8 kB / 1.005 GB, free: 9.469 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.004604, allocations: 9.344 kB / 1.005 GB, free: 9.461 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.249e-05/0.004636, allocations: 46.73 kB / 1.005 GB, free: 9.406 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/0.004684, allocations: 20.84 kB / 1.005 GB, free: 9.387 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.769e-05/0.004762, allocations: 122.2 kB / 1.005 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.272e-05/0.004785, allocations: 16.31 kB / 1.005 GB, free: 9.227 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.875e-05/0.004814, allocations: 28.11 kB / 1.005 GB, free: 9.199 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001286/0.004942, allocations: 89.58 kB / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.143e-06/0.004949, allocations: 0 / 1.005 GB, free: 9.105 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.152e-05/0.004961, allocations: 8 kB / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.599e-06/0.004965, allocations: 0 / 1.005 GB, free: 9.098 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.656e-05/0.005042, allocations: 53.98 kB / 1.005 GB, free: 9.047 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004884/0.00553, allocations: 415.5 kB / 1.005 GB, free: 8.598 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.005706, allocations: 62.62 kB / 1.005 GB, free: 8.527 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.966e-05/0.005745, allocations: 24.91 kB / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 6.312e-06/0.005752, allocations: 0 / 1.005 GB, free: 8.5 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001466/0.005898, allocations: 115.4 kB / 1.006 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=14): time 1.152e-06/0.0059, allocations: 0 / 1.006 GB, free: 8.375 MB / 0.9636 GB Notification: Performance of matching and sorting (n=14): time 0.0002735/0.006173, allocations: 177.5 kB / 1.006 GB, free: 8.195 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.199e-05/0.006205, allocations: 55.41 kB / 1.006 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.006313, allocations: 160.9 kB / 1.006 GB, free: 7.965 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.006343, allocations: 41.7 kB / 1.006 GB, free: 7.918 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.0064, allocations: 104.1 kB / 1.006 GB, free: 7.812 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 2.136e-05/0.006422, allocations: 39.66 kB / 1.006 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.459e-05/0.006506, allocations: 77.61 kB / 1.006 GB, free: 7.691 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.408e-05/0.00659, allocations: 326.8 kB / 1.006 GB, free: 7.363 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001789/0.006769, allocations: 185 kB / 1.007 GB, free: 7.164 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001869/0.006956, allocations: 234.9 kB / 1.007 GB, free: 6.895 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.007163, allocations: 269.4 kB / 1.007 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.514e-06/0.007166, allocations: 0 / 1.007 GB, free: 6.594 MB / 0.9636 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004603/0.007626, allocations: 495.5 kB / 1.008 GB, free: 6.066 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 4.84e-05/0.007675, allocations: 105 kB / 1.008 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.00768, allocations: 0 / 1.008 GB, free: 5.945 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.007691, allocations: 4 kB / 1.008 GB, free: 5.941 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.682e-05/0.007728, allocations: 11.98 kB / 1.008 GB, free: 5.93 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.007735, allocations: 12.12 kB / 1.008 GB, free: 5.918 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002436/0.007978, allocations: 83.8 kB / 1.008 GB, free: 5.836 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.428e-05/0.008003, allocations: 15.98 kB / 1.008 GB, free: 5.82 MB / 0.9636 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 17 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booToInt1.y,booToInt.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y,integerSwitch.y,integerSwitch.u3,integerSwitch.u1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 3 * 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 8.735e-05/0.00809, allocations: 129.8 kB / 1.008 GB, free: 5.684 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.179e-05/0.008102, allocations: 15.91 kB / 1.008 GB, free: 5.668 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.591e-05/0.008128, allocations: 24.7 kB / 1.008 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.694e-06/0.008129, allocations: 0 / 1.008 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.008133, allocations: 0 / 1.008 GB, free: 5.645 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.008137, allocations: 4 kB / 1.008 GB, free: 5.641 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.008252, allocations: 172.7 kB / 1.008 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.008253, allocations: 0 / 1.008 GB, free: 5.43 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.367e-05/0.008277, allocations: 15.92 kB / 1.008 GB, free: 5.414 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.008279, allocations: 7.938 kB / 1.008 GB, free: 5.406 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.177e-06/0.008288, allocations: 3.938 kB / 1.008 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.008289, allocations: 0 / 1.008 GB, free: 5.402 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.00829, allocations: 4 kB / 1.008 GB, free: 5.398 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001521/0.008442, allocations: 162.5 kB / 1.008 GB, free: 5.223 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.7e-05/0.008459, allocations: 23.78 kB / 1.008 GB, free: 5.199 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.37e-05/0.008473, allocations: 3.938 kB / 1.008 GB, free: 5.195 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.929e-05/0.008492, allocations: 7.984 kB / 1.008 GB, free: 5.188 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.633e-05/0.008529, allocations: 11.98 kB / 1.008 GB, free: 5.176 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.084e-06/0.008536, allocations: 4 kB / 1.008 GB, free: 5.172 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 6.327e-05/0.008599, allocations: 117.2 kB / 1.009 GB, free: 5.059 MB / 0.9636 GB Notification: Performance of sort global known variables: time 7e-08/0.008599, allocations: 3.938 kB / 1.009 GB, free: 5.055 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001928/0.008792, allocations: 48 kB / 1.009 GB, free: 5.008 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,integerSwitch.u1,integerSwitch.u3,integerSwitch.y,booPul1.y,booPul2.y,booPul3.y,booToInt.y,booToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 11 * 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.000364/0.009156, allocations: 0.7127 MB / 1.009 GB, free: 4.266 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0003749/0.009531, allocations: 432.2 kB / 1.01 GB, free: 3.789 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.009532, allocations: 0 / 1.01 GB, free: 3.789 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 5.293e-05/0.009585, allocations: 43.92 kB / 1.01 GB, free: 3.746 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001914/0.009777, allocations: 29.84 kB / 1.01 GB, free: 3.719 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002068/0.01184, allocations: 2.623 MB / 1.012 GB, free: 0.8867 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.731e-05/0.0119, allocations: 94.78 kB / 1.012 GB, free: 0.7734 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.503e-05/0.01194, allocations: 16.62 kB / 1.012 GB, free: 0.7539 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.865e-05/0.01199, allocations: 44.48 kB / 1.012 GB, free: 0.7109 MB / 0.9636 GB Notification: Performance of SimCode: time 5.61e-07/0.01199, allocations: 0 / 1.012 GB, free: 0.7109 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07833/0.09032, allocations: 5.206 MB / 1.018 GB, free: 11.71 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.231/7.321, allocations: 3.938 kB / 1.018 GB, free: 11.7 MB / 0.9792 GB " [Timeout remaining time 293] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=50 --tolerance=1e-06 ../Buildings_13_Buildings_Controls_OBC_CDL_Integers_Validation_Switch.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 52.5] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_fmpy.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_fmpy.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_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_Integers_Validation_Switch.fmu) > Buildings_13_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_fmpy.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 11.815295891836286]