Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001716/0.001716, allocations: 97.31 kB / 19.73 MB, free: 2.117 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.002108/0.002108, allocations: 219.6 kB / 23.03 MB, free: 4.922 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 / 256.8 MB, free: 7.801 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.801/2.801, allocations: 476.8 MB / 0.7715 GB, free: 3.941 MB / 0.6231 GB " [Timeout remaining time 177] 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.Logical.Validation.Switch,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Switch",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Switch,fileNamePrefix="Buildings_11_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.002054/0.002054, allocations: 61.98 kB / 1.118 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3725/0.3745, allocations: 170 MB / 1.284 GB, free: 10.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Switch): time 0.00228/0.3768, allocations: 0.6858 MB / 1.285 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002384/0.3792, allocations: 1.282 MB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.121e-05/0.3793, allocations: 0 / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.381e-05/0.3793, allocations: 11.88 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.952e-05/0.3794, allocations: 11.86 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.3805, allocations: 323.6 kB / 1.286 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003788/0.3808, allocations: 247.6 kB / 1.287 GB, free: 8.129 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001387/0.381, allocations: 17.56 kB / 1.287 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001782/0.3812, allocations: 107.8 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002181/0.3814, allocations: 91.75 kB / 1.287 GB, free: 7.914 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.862e-05/0.3814, allocations: 24 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001117/0.3816, allocations: 31.98 kB / 1.287 GB, free: 7.859 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.746e-05/0.3816, allocations: 11.94 kB / 1.287 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001427/0.3817, allocations: 87.8 kB / 1.287 GB, free: 7.762 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003568/0.3821, allocations: 222.9 kB / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.3821, allocations: 0 / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.755e-06/0.3821, allocations: 0 / 1.287 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.3821, allocations: 0 / 1.287 GB, free: 7.547 MB / 0.9825 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.0007359/0.3828, allocations: 411.2 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.3829, allocations: 12.03 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.753e-05/0.3829, allocations: 4.188 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.444e-05/0.383, allocations: 34.75 kB / 1.288 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.145e-05/0.383, allocations: 12.89 kB / 1.288 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001353/0.3832, allocations: 130.3 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.375e-05/0.3832, allocations: 16.31 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.378e-05/0.3832, allocations: 12.38 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.3834, allocations: 65.8 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.3834, allocations: 0 / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.476e-05/0.3834, allocations: 3.984 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3834, allocations: 0 / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.142e-05/0.3835, allocations: 16 kB / 1.288 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006384/0.3841, allocations: 347.6 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.665e-05/0.3842, allocations: 30.56 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.054e-05/0.3842, allocations: 16.86 kB / 1.288 GB, free: 6.316 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.337e-05/0.3843, allocations: 8.031 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002208/0.3845, allocations: 103.3 kB / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=10): time 1.503e-06/0.3845, allocations: 0 / 1.288 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of matching and sorting (n=10): time 0.0003571/0.3848, allocations: 145.5 kB / 1.288 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.3849, allocations: 51.41 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001479/0.385, allocations: 135.9 kB / 1.289 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 6.759e-05/0.3851, allocations: 37.7 kB / 1.289 GB, free: 5.801 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/0.3852, allocations: 96.16 kB / 1.289 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.392e-05/0.3852, allocations: 15.91 kB / 1.289 GB, free: 5.688 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001409/0.3854, allocations: 77.66 kB / 1.289 GB, free: 5.605 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001704/0.3855, allocations: 318.8 kB / 1.289 GB, free: 5.285 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000275/0.3858, allocations: 181 kB / 1.289 GB, free: 5.09 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003243/0.3861, allocations: 232.5 kB / 1.29 GB, free: 4.824 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003395/0.3865, allocations: 242.9 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3865, allocations: 0 / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0007523/0.3872, allocations: 479.6 kB / 1.29 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 8.669e-05/0.3873, allocations: 93.09 kB / 1.29 GB, free: 3.926 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.3873, allocations: 7.984 kB / 1.29 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.3873, allocations: 384 / 1.29 GB, free: 3.918 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.777e-05/0.3874, allocations: 7.938 kB / 1.29 GB, free: 3.91 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.3874, allocations: 4 kB / 1.29 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004697/0.3879, allocations: 83.98 kB / 1.29 GB, free: 3.824 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.686e-05/0.3879, allocations: 23.92 kB / 1.29 GB, free: 3.801 MB / 0.9825 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.000133/0.388, allocations: 136 kB / 1.291 GB, free: 3.66 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.869e-05/0.3881, allocations: 11.94 kB / 1.291 GB, free: 3.648 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.052e-05/0.3881, allocations: 8.375 kB / 1.291 GB, free: 3.641 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.678e-06/0.3881, allocations: 4 kB / 1.291 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.3881, allocations: 4 kB / 1.291 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.477e-06/0.3881, allocations: 0 / 1.291 GB, free: 3.633 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001639/0.3883, allocations: 152.7 kB / 1.291 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.3883, allocations: 0 / 1.291 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.229e-05/0.3883, allocations: 4 kB / 1.291 GB, free: 3.438 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.3883, allocations: 3.984 kB / 1.291 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.3883, allocations: 3.984 kB / 1.291 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3883, allocations: 0 / 1.291 GB, free: 3.43 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/0.3883, allocations: 4 kB / 1.291 GB, free: 3.426 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.3885, allocations: 148.9 kB / 1.291 GB, free: 3.262 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.961e-05/0.3885, allocations: 15.88 kB / 1.291 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.3886, allocations: 4 kB / 1.291 GB, free: 3.242 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.516e-05/0.3886, allocations: 4 kB / 1.291 GB, free: 3.238 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.327e-05/0.3886, allocations: 7.984 kB / 1.291 GB, free: 3.23 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.157e-06/0.3886, allocations: 4 kB / 1.291 GB, free: 3.227 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.053e-05/0.3887, allocations: 102.9 kB / 1.291 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3887, allocations: 0 / 1.291 GB, free: 3.129 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002743/0.389, allocations: 51.92 kB / 1.291 GB, free: 3.078 MB / 0.9825 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.0005648/0.3896, allocations: 0.6748 MB / 1.292 GB, free: 2.375 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005663/0.3901, allocations: 419.3 kB / 1.292 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.006e-06/0.3901, allocations: 0 / 1.292 GB, free: 1.91 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.043e-05/0.3902, allocations: 39.91 kB / 1.292 GB, free: 1.871 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002567/0.3904, allocations: 22.48 kB / 1.292 GB, free: 1.852 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002882/0.3933, allocations: 2.439 MB / 1.295 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.953e-05/0.3934, allocations: 83.89 kB / 1.295 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.955e-05/0.3934, allocations: 8.422 kB / 1.295 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.805e-05/0.3935, allocations: 23.44 kB / 1.295 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of SimCode: time 3.11e-07/0.3935, allocations: 0 / 1.295 GB, free: 15.06 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02753/0.421, allocations: 4.277 MB / 1.299 GB, free: 11 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.39/11.81, allocations: 8.766 kB / 1.299 GB, free: 11 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Switch_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Switch.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Switch.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.618977039936] Failed to read output from testmodel.py, exit status != 0: 12.515596944955178 11.990863165 11.605536173 Calling exit ...