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.001403/0.001403, allocations: 97.88 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.001426/0.001426, allocations: 215.7 kB / 23.03 MB, free: 4.918 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.527/1.527, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.868/2.868, allocations: 476.8 MB / 0.7715 GB, free: 3.848 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.002911/0.002911, allocations: 64.56 kB / 1.118 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4011/0.404, allocations: 169.9 MB / 1.284 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.And): time 0.002127/0.4061, allocations: 0.6505 MB / 1.285 GB, free: 9.941 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001826/0.4079, allocations: 1.204 MB / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.959e-05/0.408, allocations: 0 / 1.286 GB, free: 8.727 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.573e-05/0.408, allocations: 3.938 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.146e-05/0.4081, allocations: 15.91 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000767/0.4089, allocations: 217.5 kB / 1.286 GB, free: 8.5 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002857/0.4092, allocations: 171.7 kB / 1.286 GB, free: 8.332 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 9.803e-05/0.4093, allocations: 13.39 kB / 1.286 GB, free: 8.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.4094, allocations: 67.94 kB / 1.286 GB, free: 8.254 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001645/0.4096, allocations: 67.78 kB / 1.286 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.25e-05/0.4096, allocations: 16 kB / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.022e-05/0.4097, allocations: 20 kB / 1.286 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.718e-05/0.4097, allocations: 11.98 kB / 1.286 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.191e-05/0.4098, allocations: 55.89 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002741/0.4101, allocations: 151.1 kB / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.4101, allocations: 0 / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.573e-06/0.4101, allocations: 0 / 1.287 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.4101, allocations: 0 / 1.287 GB, free: 7.941 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.000632/0.4108, allocations: 361.5 kB / 1.287 GB, free: 7.543 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/0.4108, allocations: 12.03 kB / 1.287 GB, free: 7.531 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.578e-05/0.4108, allocations: 8.125 kB / 1.287 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.869e-05/0.4108, allocations: 30.75 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.105e-05/0.4109, allocations: 8.938 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001192/0.411, allocations: 114.5 kB / 1.287 GB, free: 7.34 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.523e-05/0.411, allocations: 8.359 kB / 1.287 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.326e-05/0.4111, allocations: 20.38 kB / 1.287 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001232/0.4112, allocations: 46 kB / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.066e-06/0.4112, allocations: 0 / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.005e-05/0.4112, allocations: 0 / 1.287 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.4112, allocations: 3.984 kB / 1.287 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.809e-05/0.4113, allocations: 19.92 kB / 1.287 GB, free: 7.238 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005075/0.4118, allocations: 299.9 kB / 1.288 GB, free: 6.902 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.04e-05/0.4119, allocations: 34.56 kB / 1.288 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.331e-05/0.4119, allocations: 8.859 kB / 1.288 GB, free: 6.848 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 9.738e-06/0.4119, allocations: 7.938 kB / 1.288 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001965/0.4121, allocations: 91.3 kB / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.192e-06/0.4121, allocations: 0 / 1.288 GB, free: 6.738 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002677/0.4124, allocations: 101.7 kB / 1.288 GB, free: 6.633 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.811e-05/0.4124, allocations: 59.38 kB / 1.288 GB, free: 6.562 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001066/0.4125, allocations: 117.8 kB / 1.288 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.4126, allocations: 29.7 kB / 1.288 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.342e-05/0.4126, allocations: 92.14 kB / 1.288 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.337e-05/0.4127, allocations: 19.83 kB / 1.288 GB, free: 6.289 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.4128, allocations: 49.69 kB / 1.288 GB, free: 6.234 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001383/0.4129, allocations: 318.8 kB / 1.288 GB, free: 5.914 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001832/0.4131, allocations: 123.4 kB / 1.289 GB, free: 5.781 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000205/0.4133, allocations: 157.8 kB / 1.289 GB, free: 5.602 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002072/0.4135, allocations: 159.6 kB / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.884e-06/0.4135, allocations: 0 / 1.289 GB, free: 5.418 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005093/0.414, allocations: 328.2 kB / 1.289 GB, free: 5.066 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 5.814e-05/0.4141, allocations: 63.98 kB / 1.289 GB, free: 4.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.4141, allocations: 4 kB / 1.289 GB, free: 4.988 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.4141, allocations: 4 kB / 1.289 GB, free: 4.984 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.456e-05/0.4141, allocations: 11.92 kB / 1.289 GB, free: 4.973 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.4141, allocations: 4 kB / 1.289 GB, free: 4.969 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003319/0.4145, allocations: 51.88 kB / 1.289 GB, free: 4.918 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.323e-05/0.4145, allocations: 11.98 kB / 1.289 GB, free: 4.906 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.0001116/0.4146, allocations: 129.7 kB / 1.289 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.543e-05/0.4146, allocations: 7.953 kB / 1.289 GB, free: 4.762 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.45e-05/0.4146, allocations: 8.375 kB / 1.289 GB, free: 4.754 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.4146, allocations: 4 kB / 1.289 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.4146, allocations: 0 / 1.289 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.4147, allocations: 0 / 1.289 GB, free: 4.75 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001413/0.4148, allocations: 148.7 kB / 1.29 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4148, allocations: 0 / 1.29 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.576e-06/0.4148, allocations: 0 / 1.29 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.4148, allocations: 0 / 1.29 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.338e-06/0.4148, allocations: 8 kB / 1.29 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.186e-06/0.4148, allocations: 8.25 kB / 1.29 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.4148, allocations: 3.938 kB / 1.29 GB, free: 4.543 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001567/0.415, allocations: 117 kB / 1.29 GB, free: 4.41 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.303e-05/0.415, allocations: 7.953 kB / 1.29 GB, free: 4.402 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.634e-05/0.415, allocations: 3.984 kB / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.05e-05/0.415, allocations: 0 / 1.29 GB, free: 4.398 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.103e-05/0.4151, allocations: 7.984 kB / 1.29 GB, free: 4.391 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.337e-06/0.4151, allocations: 8 kB / 1.29 GB, free: 4.383 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.966e-05/0.4151, allocations: 83.28 kB / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4151, allocations: 0 / 1.29 GB, free: 4.301 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002604/0.4154, allocations: 35.92 kB / 1.29 GB, free: 4.266 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.0004957/0.4159, allocations: 0.6514 MB / 1.291 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004386/0.4163, allocations: 282.1 kB / 1.291 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.4163, allocations: 0 / 1.291 GB, free: 3.273 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.721e-05/0.4164, allocations: 20 kB / 1.291 GB, free: 3.254 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002407/0.4166, allocations: 20.2 kB / 1.291 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002258/0.4189, allocations: 1.965 MB / 1.293 GB, free: 1.098 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.104e-05/0.4189, allocations: 75.33 kB / 1.293 GB, free: 1.004 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.616e-05/0.419, allocations: 4 kB / 1.293 GB, free: 1 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.616e-05/0.419, allocations: 23.42 kB / 1.293 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of SimCode: time 7.71e-07/0.419, allocations: 0 / 1.293 GB, free: 0.9766 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02652/0.4455, allocations: 3.25 MB / 1.296 GB, free: 13.92 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.17/11.61, allocations: 12.75 kB / 1.296 GB, free: 13.91 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.548853595973924] Failed to read output from testmodel.py, exit status != 0: 12.40115521196276 11.814382958 11.398671934 Calling exit ...