Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.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.001706/0.001706, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002081/0.002081, allocations: 214.9 kB / 23.04 MB, free: 5.074 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.511/1.511, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.844/2.844, allocations: 476.7 MB / 0.7715 GB, free: 4.285 MB / 0.6231 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.Logical.Validation.And,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.And,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And",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.002048/0.002048, allocations: 59.17 kB / 1.118 GB, free: 39.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3548/0.3569, allocations: 170 MB / 1.284 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002012/0.3589, allocations: 0.6607 MB / 1.285 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001948/0.3608, allocations: 1.227 MB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.717e-05/0.3609, allocations: 0 / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.089e-05/0.3609, allocations: 3.938 kB / 1.286 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.985e-05/0.361, allocations: 15.88 kB / 1.286 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006457/0.3616, allocations: 213.7 kB / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.000251/0.3619, allocations: 171.7 kB / 1.286 GB, free: 9.312 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 8.597e-05/0.362, allocations: 11.98 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.3621, allocations: 67.89 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001373/0.3622, allocations: 59.86 kB / 1.287 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.155e-05/0.3622, allocations: 20 kB / 1.287 GB, free: 9.156 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 9.424e-05/0.3623, allocations: 31.92 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.709e-05/0.3624, allocations: 15.91 kB / 1.287 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.63e-05/0.3625, allocations: 55.84 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003025/0.3628, allocations: 155.1 kB / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.259e-06/0.3628, allocations: 0 / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.054e-06/0.3628, allocations: 0 / 1.287 GB, free: 8.906 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.879e-06/0.3628, allocations: 0 / 1.287 GB, free: 8.906 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0005374/0.3633, allocations: 361.5 kB / 1.287 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.86e-05/0.3634, allocations: 12.03 kB / 1.287 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.243e-05/0.3634, allocations: 4.188 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.053e-05/0.3634, allocations: 34.75 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.873e-05/0.3635, allocations: 8.938 kB / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001029/0.3636, allocations: 110.5 kB / 1.287 GB, free: 8.312 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.712e-05/0.3636, allocations: 8.359 kB / 1.287 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.028e-05/0.3636, allocations: 8.375 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001069/0.3637, allocations: 53.81 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.3637, allocations: 3.938 kB / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.3638, allocations: 0 / 1.287 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3638, allocations: 4 kB / 1.287 GB, free: 8.23 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.126e-05/0.3638, allocations: 15.98 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005992/0.3644, allocations: 331.8 kB / 1.288 GB, free: 7.848 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.858e-05/0.3645, allocations: 26.58 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.101e-05/0.3645, allocations: 24.81 kB / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 8.957e-06/0.3645, allocations: 0 / 1.288 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002069/0.3647, allocations: 95.31 kB / 1.288 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.122e-06/0.3648, allocations: 0 / 1.288 GB, free: 7.68 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002369/0.365, allocations: 93.91 kB / 1.288 GB, free: 7.582 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.792e-05/0.365, allocations: 59.34 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.3651, allocations: 122.1 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.378e-05/0.3652, allocations: 29.7 kB / 1.288 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.000121/0.3653, allocations: 88.14 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.3653, allocations: 19.98 kB / 1.288 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.434e-05/0.3654, allocations: 53.62 kB / 1.288 GB, free: 7.18 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.3655, allocations: 326.8 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000137/0.3657, allocations: 55.97 kB / 1.289 GB, free: 6.797 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001512/0.3658, allocations: 92.25 kB / 1.289 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001985/0.366, allocations: 155.6 kB / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.366, allocations: 0 / 1.289 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005042/0.3665, allocations: 264.8 kB / 1.289 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.343e-05/0.3666, allocations: 71.39 kB / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.3666, allocations: 80 / 1.289 GB, free: 6.152 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3666, allocations: 8.125 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.247e-05/0.3666, allocations: 7.922 kB / 1.289 GB, free: 6.137 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.856e-06/0.3667, allocations: 7.984 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004039/0.3671, allocations: 51.89 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.028e-05/0.3671, allocations: 15.94 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,and1.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 (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 2 * 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.0001129/0.3672, allocations: 125.8 kB / 1.289 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.257e-05/0.3672, allocations: 8 kB / 1.289 GB, free: 5.922 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.444e-05/0.3672, allocations: 8.375 kB / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.3672, allocations: 0 / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.557e-06/0.3672, allocations: 0 / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.3672, allocations: 0 / 1.289 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001628/0.3674, allocations: 148.7 kB / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.052e-06/0.3674, allocations: 0 / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.222e-05/0.3674, allocations: 7.938 kB / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.3674, allocations: 0 / 1.29 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.3674, allocations: 4 kB / 1.29 GB, free: 5.715 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3674, allocations: 8.031 kB / 1.29 GB, free: 5.707 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3674, allocations: 3.938 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/0.3676, allocations: 113 kB / 1.29 GB, free: 5.574 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.354e-05/0.3676, allocations: 11.94 kB / 1.29 GB, free: 5.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.807e-05/0.3676, allocations: 7.984 kB / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.874e-05/0.3677, allocations: 0 / 1.29 GB, free: 5.555 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.853e-05/0.3677, allocations: 4.062 kB / 1.29 GB, free: 5.551 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.296e-05/0.3677, allocations: 11.98 kB / 1.29 GB, free: 5.539 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.5e-05/0.3678, allocations: 95.22 kB / 1.29 GB, free: 5.445 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3678, allocations: 3.938 kB / 1.29 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002324/0.368, allocations: 28 kB / 1.29 GB, free: 5.414 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: 7 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul1.y,booPul2.y,and1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0005306/0.3685, allocations: 0.6398 MB / 1.29 GB, free: 4.746 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003441/0.3689, allocations: 222.7 kB / 1.291 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.3689, allocations: 0 / 1.291 GB, free: 4.504 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 5.256e-05/0.3689, allocations: 31.91 kB / 1.291 GB, free: 4.473 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002202/0.3691, allocations: 11.98 kB / 1.291 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002151/0.3713, allocations: 1.715 MB / 1.292 GB, free: 2.625 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003792/0.3717, allocations: 0.6846 MB / 1.293 GB, free: 1.914 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.266e-05/0.3717, allocations: 11.92 kB / 1.293 GB, free: 1.902 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.142e-05/0.3717, allocations: 19.44 kB / 1.293 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of SimCode: time 4.81e-07/0.3717, allocations: 4 kB / 1.293 GB, free: 1.879 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02395/0.3957, allocations: 3.051 MB / 1.296 GB, free: 14.99 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.16/11.55, allocations: 10.88 kB / 1.296 GB, free: 14.98 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_And.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.And.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.556730765965767] Failed to read output from testmodel.py, exit status != 0: 12.350241807987913 11.755077789 11.386130889 Calling exit ...