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.001223/0.001223, allocations: 100.3 kB / 19.72 MB, free: 428 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.001151/0.001151, allocations: 215.3 kB / 23.02 MB, free: 2.973 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 1.001/1.001, allocations: 230.6 MB / 256.8 MB, free: 9.598 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.014/2.014, allocations: 0.5045 GB / 0.8104 GB, free: 2.773 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.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 0.0009872/0.0009872, allocations: 63.89 kB / 1.177 GB, free: 12 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7864/0.7874, allocations: 180 MB / 1.352 GB, free: 1.699 MB / 1.026 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.001957/0.7894, allocations: 0.806 MB / 1.353 GB, free: 0.8945 MB / 1.026 GB Notification: Performance of NFInst.instExpressions: time 0.001575/0.7909, allocations: 1.299 MB / 1.355 GB, free: 15.58 MB / 1.042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.294e-05/0.791, allocations: 0 / 1.355 GB, free: 15.58 MB / 1.042 GB Notification: Performance of NFTyping.typeComponents: time 4.407e-05/0.7911, allocations: 11.86 kB / 1.355 GB, free: 15.57 MB / 1.042 GB Notification: Performance of NFTyping.typeBindings: time 8.182e-05/0.7911, allocations: 27.67 kB / 1.355 GB, free: 15.54 MB / 1.042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006472/0.7918, allocations: 324 kB / 1.355 GB, free: 15.23 MB / 1.042 GB Notification: Performance of NFFlatten.flatten: time 0.0002785/0.7921, allocations: 295.4 kB / 1.355 GB, free: 14.95 MB / 1.042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001295/0.7922, allocations: 29.62 kB / 1.355 GB, free: 14.91 MB / 1.042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001197/0.7923, allocations: 111.8 kB / 1.355 GB, free: 14.8 MB / 1.042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.7925, allocations: 95.66 kB / 1.355 GB, free: 14.71 MB / 1.042 GB Notification: Performance of NFPackage.collectConstants: time 3.476e-05/0.7925, allocations: 28 kB / 1.355 GB, free: 14.68 MB / 1.042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.109e-05/0.7926, allocations: 32 kB / 1.355 GB, free: 14.65 MB / 1.042 GB Notification: Performance of NFScalarize.scalarize: time 3.772e-05/0.7926, allocations: 35.84 kB / 1.355 GB, free: 14.62 MB / 1.042 GB Notification: Performance of NFVerifyModel.verify: time 9.47e-05/0.7927, allocations: 95.73 kB / 1.356 GB, free: 14.52 MB / 1.042 GB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.793, allocations: 269.3 kB / 1.356 GB, free: 14.26 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.793, allocations: 0 / 1.356 GB, free: 14.26 MB / 1.042 GB Notification: Performance of FrontEnd: time 1.914e-06/0.793, allocations: 0 / 1.356 GB, free: 14.26 MB / 1.042 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.793, allocations: 0 / 1.356 GB, free: 14.26 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005777/0.7936, allocations: 454.9 kB / 1.356 GB, free: 13.77 MB / 1.042 GB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.7936, allocations: 12.92 kB / 1.356 GB, free: 13.76 MB / 1.042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/0.7937, allocations: 42.73 kB / 1.356 GB, free: 13.71 MB / 1.042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.456e-05/0.7937, allocations: 20.84 kB / 1.356 GB, free: 13.69 MB / 1.042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.104e-05/0.7938, allocations: 126.9 kB / 1.356 GB, free: 13.54 MB / 1.042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.839e-05/0.7938, allocations: 31.8 kB / 1.356 GB, free: 13.51 MB / 1.042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.636e-05/0.7939, allocations: 24 kB / 1.356 GB, free: 13.48 MB / 1.042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001411/0.794, allocations: 83.38 kB / 1.357 GB, free: 13.4 MB / 1.042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.795e-06/0.794, allocations: 0 / 1.357 GB, free: 13.4 MB / 1.042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.045e-05/0.794, allocations: 4 kB / 1.357 GB, free: 13.39 MB / 1.042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.103e-06/0.794, allocations: 4 kB / 1.357 GB, free: 13.39 MB / 1.042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.743e-05/0.7941, allocations: 47.97 kB / 1.357 GB, free: 13.34 MB / 1.042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005203/0.7946, allocations: 407.5 kB / 1.357 GB, free: 12.9 MB / 1.042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002098/0.7948, allocations: 74.55 kB / 1.357 GB, free: 12.82 MB / 1.042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.166e-05/0.7949, allocations: 24.92 kB / 1.357 GB, free: 12.79 MB / 1.042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.7949, allocations: 4 kB / 1.357 GB, free: 12.79 MB / 1.042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002282/0.7951, allocations: 122.9 kB / 1.357 GB, free: 12.66 MB / 1.042 GB Notification: Performance of pre-optimization done (n=14): time 2.094e-06/0.7951, allocations: 0 / 1.357 GB, free: 12.66 MB / 1.042 GB Notification: Performance of matching and sorting (n=14): time 0.0002998/0.7954, allocations: 177.6 kB / 1.357 GB, free: 12.48 MB / 1.042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.128e-05/0.7955, allocations: 51.41 kB / 1.357 GB, free: 12.42 MB / 1.042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.7956, allocations: 168.4 kB / 1.358 GB, free: 12.25 MB / 1.042 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.7956, allocations: 33.7 kB / 1.358 GB, free: 12.21 MB / 1.042 GB Notification: Performance of collectInitialEqns (initialization): time 6.138e-05/0.7957, allocations: 108.1 kB / 1.358 GB, free: 12.1 MB / 1.042 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.7957, allocations: 35.73 kB / 1.358 GB, free: 12.06 MB / 1.042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.799e-05/0.7958, allocations: 73.67 kB / 1.358 GB, free: 11.98 MB / 1.042 GB Notification: Performance of setup shared object (initialization): time 9.061e-05/0.7959, allocations: 334.8 kB / 1.358 GB, free: 11.65 MB / 1.042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001898/0.7961, allocations: 189 kB / 1.358 GB, free: 11.45 MB / 1.042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001886/0.7962, allocations: 234.9 kB / 1.359 GB, free: 11.18 MB / 1.042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002129/0.7965, allocations: 253.2 kB / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.7965, allocations: 0 / 1.359 GB, free: 10.89 MB / 1.042 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005915/0.7971, allocations: 0.4917 MB / 1.359 GB, free: 10.36 MB / 1.042 GB Notification: Performance of prepare postOptimizeDAE: time 5.58e-05/0.7971, allocations: 93.09 kB / 1.359 GB, free: 10.25 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.294e-06/0.7971, allocations: 4 kB / 1.359 GB, free: 10.24 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.639e-05/0.7971, allocations: 3.984 kB / 1.359 GB, free: 10.24 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.468e-05/0.7972, allocations: 15.94 kB / 1.359 GB, free: 10.22 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.805e-06/0.7972, allocations: 0 / 1.359 GB, free: 10.22 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002508/0.7974, allocations: 87.98 kB / 1.359 GB, free: 10.14 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.7975, allocations: 19.98 kB / 1.36 GB, free: 10.12 MB / 1.042 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 9.214e-05/0.7976, allocations: 142.3 kB / 1.36 GB, free: 9.969 MB / 1.042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.32e-05/0.7976, allocations: 23.78 kB / 1.36 GB, free: 9.945 MB / 1.042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.104e-05/0.7976, allocations: 12.78 kB / 1.36 GB, free: 9.934 MB / 1.042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.7976, allocations: 0 / 1.36 GB, free: 9.934 MB / 1.042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.491e-06/0.7976, allocations: 0 / 1.36 GB, free: 9.934 MB / 1.042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7976, allocations: 4 kB / 1.36 GB, free: 9.93 MB / 1.042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001274/0.7978, allocations: 184.7 kB / 1.36 GB, free: 9.707 MB / 1.042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.7978, allocations: 3.938 kB / 1.36 GB, free: 9.703 MB / 1.042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.889e-05/0.7978, allocations: 8 kB / 1.36 GB, free: 9.695 MB / 1.042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.914e-06/0.7978, allocations: 3.938 kB / 1.36 GB, free: 9.691 MB / 1.042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.7978, allocations: 12 kB / 1.36 GB, free: 9.68 MB / 1.042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.7978, allocations: 0 / 1.36 GB, free: 9.68 MB / 1.042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.7978, allocations: 0 / 1.36 GB, free: 9.68 MB / 1.042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001718/0.798, allocations: 168.9 kB / 1.36 GB, free: 9.496 MB / 1.042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.952e-05/0.798, allocations: 19.81 kB / 1.36 GB, free: 9.477 MB / 1.042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.798, allocations: 4 kB / 1.36 GB, free: 9.473 MB / 1.042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.239e-05/0.798, allocations: 4 kB / 1.36 GB, free: 9.469 MB / 1.042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.771e-05/0.7981, allocations: 7.984 kB / 1.36 GB, free: 9.461 MB / 1.042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.06e-05/0.7981, allocations: 11.98 kB / 1.36 GB, free: 9.449 MB / 1.042 GB Notification: Performance of sorting global known variables: time 6.143e-05/0.7981, allocations: 113.5 kB / 1.36 GB, free: 9.34 MB / 1.042 GB Notification: Performance of sort global known variables: time 5e-08/0.7981, allocations: 0 / 1.36 GB, free: 9.34 MB / 1.042 GB Notification: Performance of remove unused functions: time 0.000188/0.7983, allocations: 55.94 kB / 1.36 GB, free: 9.285 MB / 1.042 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.0004962/0.7988, allocations: 0.7047 MB / 1.361 GB, free: 8.555 MB / 1.042 GB Notification: Performance of simCode: created initialization part: time 0.0004287/0.7993, allocations: 442.5 kB / 1.361 GB, free: 8.07 MB / 1.042 GB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.7993, allocations: 0 / 1.361 GB, free: 8.07 MB / 1.042 GB Notification: Performance of simCode: created simulation system equations: time 5.73e-05/0.7993, allocations: 43.92 kB / 1.361 GB, free: 8.027 MB / 1.042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002374/0.7996, allocations: 22.23 kB / 1.361 GB, free: 8.008 MB / 1.042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002168/0.8017, allocations: 2.627 MB / 1.364 GB, free: 5.172 MB / 1.042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.602e-05/0.8018, allocations: 98.66 kB / 1.364 GB, free: 5.059 MB / 1.042 GB Notification: Performance of simCode: alias equations: time 4.169e-05/0.8018, allocations: 12.64 kB / 1.364 GB, free: 5.047 MB / 1.042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.763e-05/0.8019, allocations: 39.42 kB / 1.364 GB, free: 5.008 MB / 1.042 GB Notification: Performance of SimCode: time 9.01e-07/0.8019, allocations: 0 / 1.364 GB, free: 5.008 MB / 1.042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08553/0.8874, allocations: 5.104 MB / 1.369 GB, free: 96 kB / 1.042 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.141/8.028, allocations: 2.844 kB / 1.369 GB, free: 96 kB / 1.042 GB " [Timeout remaining time 292] (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: 13.000379742123187]