Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001923/0.001923, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.00202/0.00202, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.522/1.522, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.826/2.826, allocations: 476.7 MB / 0.7679 GB, free: 9.41 MB / 0.6075 GB " [Timeout remaining time 176] 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.Switch,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Switch",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Switch,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Switch",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.002205/0.002205, allocations: 59.91 kB / 1.113 GB, free: 15.86 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9389/0.9411, allocations: 169.9 MB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Switch): time 0.002302/0.9434, allocations: 0.8303 MB / 1.28 GB, free: 11.21 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001961/0.9454, allocations: 1.323 MB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.09e-05/0.9455, allocations: 1.719 kB / 1.281 GB, free: 10.24 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 4.866e-05/0.9455, allocations: 13.27 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 9.951e-05/0.9456, allocations: 22.09 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.000905/0.9465, allocations: 335.6 kB / 1.281 GB, free: 10.05 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0004265/0.947, allocations: 286.3 kB / 1.282 GB, free: 9.93 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.9471, allocations: 32.75 kB / 1.282 GB, free: 9.906 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001999/0.9473, allocations: 114.8 kB / 1.282 GB, free: 9.863 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002202/0.9475, allocations: 110.5 kB / 1.282 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 6.984e-05/0.9476, allocations: 26.5 kB / 1.282 GB, free: 9.816 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001076/0.9477, allocations: 45.75 kB / 1.282 GB, free: 9.809 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.556e-05/0.9477, allocations: 33.12 kB / 1.282 GB, free: 9.785 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001345/0.9478, allocations: 101.3 kB / 1.282 GB, free: 9.734 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0003904/0.9482, allocations: 264.7 kB / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.9482, allocations: 0 / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.864e-06/0.9482, allocations: 1.375 kB / 1.282 GB, free: 9.645 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 8.656e-06/0.9482, allocations: 0 / 1.282 GB, free: 9.645 MB / 0.9981 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.0007309/0.949, allocations: 0.5259 MB / 1.283 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.949, allocations: 10.78 kB / 1.283 GB, free: 9.137 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.661e-05/0.949, allocations: 5.688 kB / 1.283 GB, free: 9.133 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.258e-05/0.9491, allocations: 40 kB / 1.283 GB, free: 9.09 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.253e-05/0.9492, allocations: 26.97 kB / 1.283 GB, free: 9.078 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.9494, allocations: 184.3 kB / 1.283 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.928e-05/0.9494, allocations: 9.141 kB / 1.283 GB, free: 8.867 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.222e-05/0.9494, allocations: 20.86 kB / 1.283 GB, free: 8.863 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.9496, allocations: 91.38 kB / 1.283 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.9496, allocations: 0.7031 kB / 1.283 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.181e-05/0.9496, allocations: 2.109 kB / 1.283 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.9496, allocations: 2.625 kB / 1.283 GB, free: 8.809 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001051/0.9498, allocations: 59.14 kB / 1.283 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007275/0.9505, allocations: 491.8 kB / 1.284 GB, free: 8.426 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002184/0.9507, allocations: 66.11 kB / 1.284 GB, free: 8.387 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.817e-05/0.9508, allocations: 32.5 kB / 1.284 GB, free: 8.367 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.457e-05/0.9508, allocations: 5.125 kB / 1.284 GB, free: 8.363 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.951, allocations: 117.4 kB / 1.284 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=14): time 1.413e-06/0.951, allocations: 0 / 1.284 GB, free: 8.293 MB / 0.9981 GB Notification: Performance of matching and sorting (n=14): time 0.0003594/0.9513, allocations: 167.7 kB / 1.284 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.21e-05/0.9514, allocations: 55.03 kB / 1.284 GB, free: 8.156 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001526/0.9516, allocations: 162.9 kB / 1.284 GB, free: 8.035 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.251e-05/0.9516, allocations: 36.55 kB / 1.284 GB, free: 8 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001017/0.9517, allocations: 113.4 kB / 1.285 GB, free: 7.898 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.383e-05/0.9517, allocations: 33.47 kB / 1.285 GB, free: 7.871 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001431/0.9519, allocations: 71.52 kB / 1.285 GB, free: 7.844 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001568/0.952, allocations: 326.6 kB / 1.285 GB, free: 7.523 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002221/0.9523, allocations: 96.19 kB / 1.285 GB, free: 7.492 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.9525, allocations: 142.3 kB / 1.285 GB, free: 7.402 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003537/0.9529, allocations: 256 kB / 1.285 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.9529, allocations: 1.281 kB / 1.285 GB, free: 7.191 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007197/0.9536, allocations: 410.6 kB / 1.286 GB, free: 6.965 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 9.801e-05/0.9537, allocations: 105.8 kB / 1.286 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.9537, allocations: 1.531 kB / 1.286 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.626e-05/0.9537, allocations: 3.078 kB / 1.286 GB, free: 6.859 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.183e-05/0.9538, allocations: 18.09 kB / 1.286 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.9538, allocations: 2.781 kB / 1.286 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005117/0.9543, allocations: 90.28 kB / 1.286 GB, free: 6.836 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.132e-05/0.9543, allocations: 17.08 kB / 1.286 GB, free: 6.836 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: 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 0.0001693/0.9545, allocations: 139.5 kB / 1.286 GB, free: 6.707 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.029e-05/0.9545, allocations: 23.11 kB / 1.286 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.251e-05/0.9546, allocations: 12.98 kB / 1.286 GB, free: 6.68 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.9546, allocations: 5.312 kB / 1.286 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.9546, allocations: 0 / 1.286 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.52e-06/0.9546, allocations: 1.359 kB / 1.286 GB, free: 6.676 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000237/0.9548, allocations: 217.6 kB / 1.286 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.372e-06/0.9548, allocations: 1.156 kB / 1.286 GB, free: 6.461 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.744e-05/0.9549, allocations: 12.55 kB / 1.286 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.9549, allocations: 1.859 kB / 1.286 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.26e-05/0.9549, allocations: 2.938 kB / 1.286 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.9549, allocations: 0.5625 kB / 1.286 GB, free: 6.457 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.9549, allocations: 5.625 kB / 1.286 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002527/0.9551, allocations: 168.5 kB / 1.287 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.844e-05/0.9552, allocations: 93.28 kB / 1.287 GB, free: 6.238 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.409e-05/0.9552, allocations: 6.75 kB / 1.287 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.246e-05/0.9553, allocations: 2.141 kB / 1.287 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.136e-05/0.9553, allocations: 11.59 kB / 1.287 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.04e-05/0.9553, allocations: 5.703 kB / 1.287 GB, free: 6.23 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 9.881e-05/0.9554, allocations: 116.7 kB / 1.287 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9554, allocations: 5.406 kB / 1.287 GB, free: 6.141 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002775/0.9557, allocations: 47.77 kB / 1.287 GB, free: 6.137 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: 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.0007431/0.9565, allocations: 0.7104 MB / 1.288 GB, free: 5.5 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000527/0.957, allocations: 341.2 kB / 1.288 GB, free: 5.254 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.957, allocations: 4.062 kB / 1.288 GB, free: 5.25 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 8.333e-05/0.9571, allocations: 46.88 kB / 1.288 GB, free: 5.234 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002776/0.9573, allocations: 31.89 kB / 1.288 GB, free: 5.223 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002974/0.9603, allocations: 2.261 MB / 1.29 GB, free: 3.531 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.9607, allocations: 0.712 MB / 1.291 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.794e-05/0.9608, allocations: 10.91 kB / 1.291 GB, free: 2.832 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.042e-05/0.9608, allocations: 37.62 kB / 1.291 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of SimCode: time 5.41e-07/0.9608, allocations: 0 / 1.291 GB, free: 2.805 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02364/0.9845, allocations: 4.29 MB / 1.295 GB, free: 2.184 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.714/9.699, allocations: 11.03 kB / 1.295 GB, free: 2.176 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Switch.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Switch.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 15.963224792969413] Failed to read output from testmodel.py, exit status != 0: 9.826178789022379 9.849513183 8.896856107 Calling exit ...