Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.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.001937/0.001937, 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.00226/0.00226, allocations: 217 kB / 23.04 MB, free: 5.078 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.473/1.473, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.769/2.769, allocations: 476.7 MB / 0.7715 GB, free: 4.309 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.Or,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Or,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or",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.002157/0.002157, allocations: 63.02 kB / 1.118 GB, free: 40.38 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3592/0.3613, allocations: 170 MB / 1.284 GB, free: 11.74 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Or): time 0.002508/0.3638, allocations: 0.6689 MB / 1.285 GB, free: 11.07 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00206/0.3659, allocations: 1.219 MB / 1.286 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.876e-05/0.3659, allocations: 0 / 1.286 GB, free: 9.844 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.297e-05/0.366, allocations: 7.922 kB / 1.286 GB, free: 9.836 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.586e-05/0.3661, allocations: 11.86 kB / 1.286 GB, free: 9.824 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007844/0.3668, allocations: 231.6 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002948/0.3671, allocations: 167.7 kB / 1.286 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001089/0.3673, allocations: 4 kB / 1.286 GB, free: 9.438 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001239/0.3674, allocations: 71.88 kB / 1.286 GB, free: 9.367 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001628/0.3675, allocations: 63.84 kB / 1.287 GB, free: 9.305 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.306e-05/0.3676, allocations: 16 kB / 1.287 GB, free: 9.289 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.218e-05/0.3677, allocations: 27.98 kB / 1.287 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.384e-05/0.3677, allocations: 7.938 kB / 1.287 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 9.286e-05/0.3678, allocations: 63.88 kB / 1.287 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0002218/0.368, allocations: 143.1 kB / 1.287 GB, free: 9.055 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.604e-06/0.368, allocations: 8 kB / 1.287 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.944e-06/0.368, allocations: 0 / 1.287 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.368, allocations: 0 / 1.287 GB, free: 9.047 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.0005435/0.3686, allocations: 359.2 kB / 1.287 GB, free: 8.652 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.217e-05/0.3686, allocations: 12.03 kB / 1.287 GB, free: 8.641 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.452e-05/0.3686, allocations: 4.188 kB / 1.287 GB, free: 8.637 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.727e-05/0.3686, allocations: 38.67 kB / 1.287 GB, free: 8.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.437e-05/0.3687, allocations: 8.938 kB / 1.287 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001093/0.3688, allocations: 118.5 kB / 1.287 GB, free: 8.441 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.662e-05/0.3688, allocations: 4.375 kB / 1.287 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.56e-05/0.3689, allocations: 12.38 kB / 1.287 GB, free: 8.426 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.369, allocations: 53.98 kB / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.596e-06/0.369, allocations: 0 / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.838e-06/0.369, allocations: 0 / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.298e-06/0.369, allocations: 0 / 1.287 GB, free: 8.367 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.255e-05/0.3691, allocations: 19.92 kB / 1.287 GB, free: 8.348 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005015/0.3696, allocations: 327.8 kB / 1.288 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.502e-05/0.3696, allocations: 34.56 kB / 1.288 GB, free: 7.941 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.167e-05/0.3697, allocations: 12.86 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.109e-05/0.3697, allocations: 7.922 kB / 1.288 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001954/0.3699, allocations: 87.34 kB / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.223e-06/0.3699, allocations: 0 / 1.288 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0002544/0.3701, allocations: 105.6 kB / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.554e-05/0.3702, allocations: 59.34 kB / 1.288 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.3703, allocations: 117.8 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.968e-05/0.3703, allocations: 33.7 kB / 1.288 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.923e-05/0.3704, allocations: 88.12 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.3704, allocations: 11.91 kB / 1.288 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.757e-05/0.3705, allocations: 49.69 kB / 1.288 GB, free: 7.32 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.3706, allocations: 330.7 kB / 1.289 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001396/0.3708, allocations: 59.97 kB / 1.289 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001498/0.3709, allocations: 88.27 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002107/0.3711, allocations: 155.6 kB / 1.289 GB, free: 6.648 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.3711, allocations: 4 kB / 1.289 GB, free: 6.645 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005056/0.3717, allocations: 264.8 kB / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 6.066e-05/0.3717, allocations: 71.39 kB / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.388e-06/0.3717, allocations: 0 / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.3717, allocations: 64 / 1.289 GB, free: 6.285 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.316e-05/0.3718, allocations: 8.469 kB / 1.289 GB, free: 6.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.067e-06/0.3718, allocations: 3.938 kB / 1.289 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003436/0.3721, allocations: 60.02 kB / 1.289 GB, free: 6.215 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.612e-05/0.3721, allocations: 15.98 kB / 1.289 GB, free: 6.199 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,or1.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.0001125/0.3723, allocations: 125.7 kB / 1.289 GB, free: 6.066 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.049e-05/0.3723, allocations: 3.938 kB / 1.289 GB, free: 6.062 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.851e-05/0.3723, allocations: 16.36 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.3723, allocations: 0 / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.486e-06/0.3723, allocations: 0 / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.377e-06/0.3723, allocations: 4 kB / 1.289 GB, free: 6.043 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001356/0.3724, allocations: 148.7 kB / 1.29 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.3724, allocations: 0 / 1.29 GB, free: 5.855 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.165e-05/0.3724, allocations: 7.984 kB / 1.29 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3724, allocations: 0 / 1.29 GB, free: 5.848 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.3725, allocations: 4 kB / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.3725, allocations: 0 / 1.29 GB, free: 5.844 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3725, allocations: 3.938 kB / 1.29 GB, free: 5.84 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.3727, allocations: 121.2 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.733e-05/0.3727, allocations: 11.95 kB / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.895e-05/0.3727, allocations: 0 / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.95e-05/0.3727, allocations: 0 / 1.29 GB, free: 5.691 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.773e-05/0.3728, allocations: 7.984 kB / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.3728, allocations: 0 / 1.29 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.008e-05/0.3728, allocations: 91.27 kB / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3728, allocations: 0 / 1.29 GB, free: 5.594 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002572/0.3731, allocations: 35.94 kB / 1.29 GB, free: 5.559 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,or1.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.000497/0.3736, allocations: 0.6514 MB / 1.29 GB, free: 4.879 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0003448/0.3739, allocations: 222.7 kB / 1.291 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.245e-06/0.3739, allocations: 0 / 1.291 GB, free: 4.637 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.571e-05/0.374, allocations: 16 kB / 1.291 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.3742, allocations: 16.52 kB / 1.291 GB, free: 4.605 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002047/0.3763, allocations: 1.727 MB / 1.292 GB, free: 2.754 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003207/0.3766, allocations: 0.6846 MB / 1.293 GB, free: 2.043 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.692e-05/0.3766, allocations: 4 kB / 1.293 GB, free: 2.039 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.52e-05/0.3767, allocations: 23.42 kB / 1.293 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of SimCode: time 4.21e-07/0.3767, allocations: 0 / 1.293 GB, free: 2.016 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02423/0.4009, allocations: 3.055 MB / 1.296 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.22/11.62, allocations: 8.75 kB / 1.296 GB, free: 15.12 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Or.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Or.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.43726475199219] Failed to read output from testmodel.py, exit status != 0: 12.386505772010423 11.793575663 11.422226109 Calling exit ...