Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Logical.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.001435/0.001435, 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.001625/0.001625, 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.546/1.546, allocations: 230.6 MB / 253.5 MB, free: 15.11 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.09/3.09, allocations: 0.5003 GB / 0.8026 GB, free: 6.754 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Switch,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_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.002181/0.002181, allocations: 71.89 kB / 1.165 GB, free: 0.5039 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.163/1.166, allocations: 178.9 MB / 1.34 GB, free: 16.28 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.002064/1.168, allocations: 0.7065 MB / 1.341 GB, free: 15.83 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001659/1.169, allocations: 1.301 MB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.994e-05/1.169, allocations: 1.094 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.609e-05/1.169, allocations: 4.734 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 8.864e-05/1.169, allocations: 17.69 kB / 1.342 GB, free: 14.87 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008246/1.17, allocations: 316.8 kB / 1.342 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0003541/1.171, allocations: 251.5 kB / 1.343 GB, free: 14.61 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001074/1.171, allocations: 15.03 kB / 1.343 GB, free: 14.6 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001519/1.171, allocations: 104.9 kB / 1.343 GB, free: 14.56 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001965/1.171, allocations: 96.19 kB / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 6.106e-05/1.171, allocations: 22.72 kB / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.768e-05/1.171, allocations: 35.94 kB / 1.343 GB, free: 14.52 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.603e-05/1.171, allocations: 16.38 kB / 1.343 GB, free: 14.51 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001303/1.171, allocations: 87.53 kB / 1.343 GB, free: 14.46 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003414/1.172, allocations: 222.5 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/1.172, allocations: 0 / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.134e-06/1.172, allocations: 1 kB / 1.343 GB, free: 14.39 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.141e-06/1.172, allocations: 0 / 1.343 GB, free: 14.39 MB / 1.061 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.0006084/1.172, allocations: 499.2 kB / 1.344 GB, free: 13.91 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.854e-05/1.172, allocations: 9.094 kB / 1.344 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.406e-05/1.172, allocations: 1.844 kB / 1.344 GB, free: 13.91 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.229e-05/1.172, allocations: 38 kB / 1.344 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.059e-05/1.173, allocations: 14.73 kB / 1.344 GB, free: 13.86 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001042/1.173, allocations: 183.2 kB / 1.344 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.814e-05/1.173, allocations: 6.453 kB / 1.344 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.334e-05/1.173, allocations: 15.39 kB / 1.344 GB, free: 13.65 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001333/1.173, allocations: 63.59 kB / 1.344 GB, free: 13.6 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.707e-06/1.173, allocations: 0 / 1.344 GB, free: 13.6 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.195e-05/1.173, allocations: 0.7031 kB / 1.344 GB, free: 13.6 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.92e-06/1.173, allocations: 2.281 kB / 1.344 GB, free: 13.6 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.784e-05/1.173, allocations: 25.48 kB / 1.344 GB, free: 13.59 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000572/1.173, allocations: 411.2 kB / 1.344 GB, free: 13.27 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.8e-05/1.174, allocations: 33.3 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.636e-05/1.174, allocations: 18.27 kB / 1.345 GB, free: 13.22 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 7.645e-06/1.174, allocations: 1.375 kB / 1.345 GB, free: 13.22 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002303/1.174, allocations: 99.89 kB / 1.345 GB, free: 13.16 MB / 1.061 GB Notification: Performance of pre-optimization done (n=10): time 1.283e-06/1.174, allocations: 1.375 kB / 1.345 GB, free: 13.16 MB / 1.061 GB Notification: Performance of matching and sorting (n=10): time 0.0003231/1.174, allocations: 144 kB / 1.345 GB, free: 13.09 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.578e-05/1.174, allocations: 55.38 kB / 1.345 GB, free: 13.03 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001044/1.174, allocations: 146.9 kB / 1.345 GB, free: 12.9 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.345e-05/1.174, allocations: 31.86 kB / 1.345 GB, free: 12.87 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.462e-05/1.174, allocations: 100.8 kB / 1.345 GB, free: 12.78 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/1.174, allocations: 21.2 kB / 1.345 GB, free: 12.76 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001338/1.175, allocations: 71.19 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.195e-05/1.175, allocations: 322.9 kB / 1.345 GB, free: 12.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001992/1.175, allocations: 92.34 kB / 1.346 GB, free: 12.38 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000229/1.175, allocations: 134 kB / 1.346 GB, free: 12.29 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002575/1.175, allocations: 232.5 kB / 1.346 GB, free: 12.09 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/1.175, allocations: 5.125 kB / 1.346 GB, free: 12.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006321/1.176, allocations: 387.6 kB / 1.346 GB, free: 11.88 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.253e-05/1.176, allocations: 98.22 kB / 1.346 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.442e-06/1.176, allocations: 1.25 kB / 1.346 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.801e-05/1.176, allocations: 2.906 kB / 1.346 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.798e-05/1.176, allocations: 4.281 kB / 1.346 GB, free: 11.78 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.558e-06/1.176, allocations: 5.984 kB / 1.346 GB, free: 11.77 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005238/1.177, allocations: 92.3 kB / 1.346 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.981e-05/1.177, allocations: 16.84 kB / 1.346 GB, free: 11.75 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,logicalSwitch.y,booPul3.y,$PRE.booPul3.y,booPul2.y,$PRE.booPul2.y,booPul1.y,$PRE.booPul1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 10 * 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.0001002/1.177, allocations: 133.1 kB / 1.347 GB, free: 11.63 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.679e-05/1.177, allocations: 9.641 kB / 1.347 GB, free: 11.62 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.848e-05/1.177, allocations: 10.2 kB / 1.347 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.576e-06/1.177, allocations: 1.953 kB / 1.347 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/1.177, allocations: 0 / 1.347 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.969e-06/1.177, allocations: 5.969 kB / 1.347 GB, free: 11.61 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001319/1.177, allocations: 188.2 kB / 1.347 GB, free: 11.41 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.984e-06/1.177, allocations: 3.984 kB / 1.347 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.201e-05/1.177, allocations: 6.594 kB / 1.347 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.335e-06/1.177, allocations: 1.281 kB / 1.347 GB, free: 11.4 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/1.177, allocations: 6.688 kB / 1.347 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/1.177, allocations: 1.438 kB / 1.347 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/1.177, allocations: 0 / 1.347 GB, free: 11.39 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001788/1.177, allocations: 141.7 kB / 1.347 GB, free: 11.3 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/1.177, allocations: 88.88 kB / 1.347 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/1.177, allocations: 2 kB / 1.347 GB, free: 11.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.413e-05/1.177, allocations: 5.688 kB / 1.347 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.765e-05/1.177, allocations: 7.953 kB / 1.347 GB, free: 11.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.034e-05/1.177, allocations: 12.36 kB / 1.347 GB, free: 11.18 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.795e-05/1.177, allocations: 94.19 kB / 1.347 GB, free: 11.11 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.177, allocations: 0 / 1.347 GB, free: 11.11 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002772/1.178, allocations: 56.73 kB / 1.347 GB, free: 11.09 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,booPul3.y,logicalSwitch.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 7 * 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.0004202/1.178, allocations: 0.6747 MB / 1.348 GB, free: 10.47 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0004509/1.178, allocations: 324.9 kB / 1.348 GB, free: 10.23 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/1.178, allocations: 0 / 1.348 GB, free: 10.23 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.392e-05/1.178, allocations: 34.8 kB / 1.348 GB, free: 10.21 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002814/1.179, allocations: 25.73 kB / 1.348 GB, free: 10.21 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002347/1.181, allocations: 2.073 MB / 1.35 GB, free: 8.586 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/1.181, allocations: 0.6937 MB / 1.351 GB, free: 7.891 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.978e-05/1.181, allocations: 11.58 kB / 1.351 GB, free: 7.887 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.777e-05/1.181, allocations: 27.75 kB / 1.351 GB, free: 7.867 MB / 1.061 GB Notification: Performance of SimCode: time 5.31e-07/1.181, allocations: 3.938 kB / 1.351 GB, free: 7.863 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/1.204, allocations: 3.872 MB / 1.355 GB, free: 7.281 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.337/9.542, allocations: 8.719 kB / 1.355 GB, free: 7.277 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Switch.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.195355114992708] Failed to read output from testmodel.py, exit status != 0: 9.668263484025374 9.680007234 8.505816473 Calling exit ...