Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.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.001389/0.001389, allocations: 116.8 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.002382/0.002382, allocations: 209.5 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.543/1.543, allocations: 230.6 MB / 253.5 MB, free: 15.1 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.963/2.963, allocations: 476.7 MB / 0.7678 GB, free: 9.352 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.Reals.Validation.Switch,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Switch",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Switch,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_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.002372/0.002372, allocations: 71.89 kB / 1.113 GB, free: 15.79 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.204/1.206, allocations: 169.9 MB / 1.279 GB, free: 11.75 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Switch): time 0.002384/1.208, allocations: 0.7946 MB / 1.28 GB, free: 11.24 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002005/1.21, allocations: 1.193 MB / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.418e-05/1.21, allocations: 0 / 1.281 GB, free: 10.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.772e-05/1.21, allocations: 6.016 kB / 1.281 GB, free: 10.36 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001105/1.21, allocations: 15.39 kB / 1.281 GB, free: 10.35 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005755/1.211, allocations: 133.6 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.000239/1.211, allocations: 131.3 kB / 1.281 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001011/1.211, allocations: 15.19 kB / 1.281 GB, free: 10.22 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001276/1.212, allocations: 55.33 kB / 1.281 GB, free: 10.2 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001224/1.212, allocations: 45.72 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.946e-05/1.212, allocations: 11 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.652e-05/1.212, allocations: 24.95 kB / 1.281 GB, free: 10.18 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 3.56e-05/1.212, allocations: 13.59 kB / 1.281 GB, free: 10.17 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 9.293e-05/1.212, allocations: 51.59 kB / 1.281 GB, free: 10.14 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002682/1.212, allocations: 122.6 kB / 1.282 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/1.212, allocations: 0.5312 kB / 1.282 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.383e-06/1.212, allocations: 0 / 1.282 GB, free: 10.09 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.151e-06/1.212, allocations: 0.5 kB / 1.282 GB, free: 10.09 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0008532/1.213, allocations: 420.9 kB / 1.282 GB, free: 9.684 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/1.213, allocations: 13.41 kB / 1.282 GB, free: 9.68 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.869e-05/1.213, allocations: 5.312 kB / 1.282 GB, free: 9.676 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.338e-05/1.213, allocations: 36.59 kB / 1.282 GB, free: 9.633 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.949e-05/1.213, allocations: 11.23 kB / 1.282 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001895/1.213, allocations: 173.9 kB / 1.282 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.718e-05/1.213, allocations: 3.469 kB / 1.282 GB, free: 9.426 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.402e-05/1.213, allocations: 10.47 kB / 1.282 GB, free: 9.422 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003525/1.214, allocations: 86.84 kB / 1.282 GB, free: 9.371 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.335e-05/1.214, allocations: 4.75 kB / 1.282 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.454e-05/1.214, allocations: 5.156 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/1.214, allocations: 0.5 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004309/1.214, allocations: 70.84 kB / 1.282 GB, free: 9.352 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006407/1.215, allocations: 332.4 kB / 1.283 GB, free: 9.047 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/1.215, allocations: 57.55 kB / 1.283 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001804/1.215, allocations: 38.91 kB / 1.283 GB, free: 9 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.372e-05/1.215, allocations: 2.078 kB / 1.283 GB, free: 9 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003981/1.216, allocations: 99.62 kB / 1.283 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/1.216, allocations: 0 / 1.283 GB, free: 8.938 MB / 0.9981 GB Notification: Performance of matching and sorting (n=6): time 0.0007293/1.216, allocations: 164 kB / 1.283 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.408e-05/1.217, allocations: 53.19 kB / 1.283 GB, free: 8.816 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001541/1.217, allocations: 120.7 kB / 1.283 GB, free: 8.707 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 3.319e-05/1.217, allocations: 33.3 kB / 1.283 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.591e-05/1.217, allocations: 96.86 kB / 1.283 GB, free: 8.578 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.481e-05/1.217, allocations: 16.27 kB / 1.283 GB, free: 8.566 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.269e-05/1.217, allocations: 35.86 kB / 1.283 GB, free: 8.543 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001742/1.217, allocations: 327.4 kB / 1.284 GB, free: 8.219 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002481/1.217, allocations: 57.58 kB / 1.284 GB, free: 8.207 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002631/1.218, allocations: 88.98 kB / 1.284 GB, free: 8.16 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004526/1.218, allocations: 139.8 kB / 1.284 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/1.218, allocations: 7.938 kB / 1.284 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0006177/1.219, allocations: 212.4 kB / 1.284 GB, free: 7.973 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 5.873e-05/1.219, allocations: 38.42 kB / 1.284 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.219, allocations: 1.609 kB / 1.284 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/1.219, allocations: 2.156 kB / 1.284 GB, free: 7.938 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001566/1.219, allocations: 20.39 kB / 1.284 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.505e-06/1.219, allocations: 1.062 kB / 1.284 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000259/1.219, allocations: 36.05 kB / 1.284 GB, free: 7.934 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.774e-05/1.219, allocations: 6.625 kB / 1.284 GB, free: 7.934 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,$whenCondition2,booPul.y,$PRE.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 1 * 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.0001249/1.219, allocations: 120.5 kB / 1.284 GB, free: 7.812 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.884e-05/1.219, allocations: 7.203 kB / 1.284 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.281e-05/1.219, allocations: 14.84 kB / 1.284 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/1.219, allocations: 1.031 kB / 1.284 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/1.219, allocations: 1.156 kB / 1.284 GB, free: 7.793 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.029e-06/1.219, allocations: 4.594 kB / 1.284 GB, free: 7.789 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001973/1.22, allocations: 184.5 kB / 1.285 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/1.22, allocations: 3.938 kB / 1.285 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001185/1.22, allocations: 20.58 kB / 1.285 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.995e-06/1.22, allocations: 0.9375 kB / 1.285 GB, free: 7.578 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/1.22, allocations: 5.219 kB / 1.285 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.023e-06/1.22, allocations: 1.312 kB / 1.285 GB, free: 7.574 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.22, allocations: 4.656 kB / 1.285 GB, free: 7.57 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004564/1.22, allocations: 156.3 kB / 1.285 GB, free: 7.477 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/1.22, allocations: 88.64 kB / 1.285 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.013e-05/1.22, allocations: 0 / 1.285 GB, free: 7.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.745e-05/1.22, allocations: 16.12 kB / 1.285 GB, free: 7.371 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.429e-05/1.22, allocations: 10.7 kB / 1.285 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/1.22, allocations: 1.406 kB / 1.285 GB, free: 7.367 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 8.615e-05/1.221, allocations: 99.5 kB / 1.285 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/1.221, allocations: 0 / 1.285 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000248/1.221, allocations: 25.09 kB / 1.285 GB, free: 7.281 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: 3 ($whenCondition1,$whenCondition2,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0009692/1.222, allocations: 0.6935 MB / 1.286 GB, free: 6.66 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.000601/1.222, allocations: 174.5 kB / 1.286 GB, free: 6.57 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/1.222, allocations: 4.062 kB / 1.286 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002094/1.223, allocations: 45.36 kB / 1.286 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002504/1.223, allocations: 12.12 kB / 1.286 GB, free: 6.559 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003024/1.226, allocations: 1.641 MB / 1.287 GB, free: 5.227 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003622/1.226, allocations: 0.6908 MB / 1.288 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.747e-05/1.226, allocations: 4.375 kB / 1.288 GB, free: 4.527 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.377e-05/1.226, allocations: 24.88 kB / 1.288 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of SimCode: time 4.91e-07/1.226, allocations: 0 / 1.288 GB, free: 4.508 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02456/1.251, allocations: 2.737 MB / 1.291 GB, free: 4.02 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.4/9.651, allocations: 8.906 kB / 1.291 GB, free: 4.016 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Switch.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Switch.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.195679961994756] Failed to read output from testmodel.py, exit status != 0: 9.77992073801579 9.807694242 8.590438322 Calling exit ...