Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.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.001354/0.001354, allocations: 116.1 kB / 17.16 MB, free: 6.023 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.001506/0.001506, allocations: 205.5 kB / 20.13 MB, free: 3.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.542/1.542, 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 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.873/2.873, allocations: 476.7 MB / 0.7678 GB, free: 9.445 MB / 0.6075 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.Xor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",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.0021/0.0021, allocations: 61.78 kB / 1.113 GB, free: 15.81 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.197/1.199, allocations: 169.9 MB / 1.279 GB, free: 11.72 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002394/1.201, allocations: 0.6617 MB / 1.28 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001938/1.203, allocations: 1.226 MB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.105e-05/1.203, allocations: 1.312 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 3.659e-05/1.203, allocations: 3.938 kB / 1.281 GB, free: 10.41 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 8.525e-05/1.204, allocations: 11.55 kB / 1.281 GB, free: 10.4 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007254/1.204, allocations: 224.9 kB / 1.281 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0003146/1.205, allocations: 171.2 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/1.205, allocations: 10.3 kB / 1.281 GB, free: 10.21 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/1.205, allocations: 64.39 kB / 1.281 GB, free: 10.19 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001885/1.205, allocations: 71.2 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 4.316e-05/1.205, allocations: 14.59 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/1.205, allocations: 29.39 kB / 1.281 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.802e-05/1.205, allocations: 9.297 kB / 1.281 GB, free: 10.15 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001289/1.205, allocations: 57.44 kB / 1.281 GB, free: 10.12 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.000361/1.206, allocations: 162.8 kB / 1.282 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.206, allocations: 0.5 kB / 1.282 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.073e-06/1.206, allocations: 0.625 kB / 1.282 GB, free: 10.07 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 1.059e-05/1.206, allocations: 0 / 1.282 GB, free: 10.07 MB / 0.9981 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.0008502/1.207, allocations: 435.5 kB / 1.282 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.775e-05/1.207, allocations: 9.875 kB / 1.282 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.716e-05/1.207, allocations: 5.156 kB / 1.282 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.103e-05/1.207, allocations: 33 kB / 1.282 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.675e-05/1.207, allocations: 7.844 kB / 1.282 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/1.207, allocations: 184.7 kB / 1.282 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/1.207, allocations: 5.453 kB / 1.282 GB, free: 9.367 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.712e-05/1.207, allocations: 14.14 kB / 1.282 GB, free: 9.363 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001716/1.207, allocations: 50.02 kB / 1.282 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/1.207, allocations: 0 / 1.282 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/1.207, allocations: 1.75 kB / 1.282 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-06/1.207, allocations: 0.5 kB / 1.282 GB, free: 9.324 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.493e-05/1.207, allocations: 18.77 kB / 1.282 GB, free: 9.316 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006888/1.208, allocations: 352 kB / 1.283 GB, free: 9.012 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/1.208, allocations: 38.48 kB / 1.283 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.311e-05/1.208, allocations: 16.2 kB / 1.283 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.556e-05/1.208, allocations: 1.469 kB / 1.283 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002816/1.208, allocations: 86.73 kB / 1.283 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=7): time 1.783e-06/1.208, allocations: 0 / 1.283 GB, free: 8.902 MB / 0.9981 GB Notification: Performance of matching and sorting (n=7): time 0.0003225/1.209, allocations: 108.4 kB / 1.283 GB, free: 8.844 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.472e-05/1.209, allocations: 57.78 kB / 1.283 GB, free: 8.777 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001348/1.209, allocations: 119.9 kB / 1.283 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 4.188e-05/1.209, allocations: 33.72 kB / 1.283 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 8.766e-05/1.209, allocations: 90.59 kB / 1.283 GB, free: 8.547 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.333e-05/1.209, allocations: 11.66 kB / 1.283 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001183/1.209, allocations: 49.09 kB / 1.283 GB, free: 8.516 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001525/1.209, allocations: 322.5 kB / 1.284 GB, free: 8.195 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001564/1.209, allocations: 63.97 kB / 1.284 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001844/1.21, allocations: 98.92 kB / 1.284 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002363/1.21, allocations: 161.7 kB / 1.284 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/1.21, allocations: 0.6875 kB / 1.284 GB, free: 7.965 MB / 0.9981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.000502/1.21, allocations: 270.2 kB / 1.284 GB, free: 7.809 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.998e-05/1.21, allocations: 67.84 kB / 1.284 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/1.21, allocations: 1.219 kB / 1.284 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.704e-05/1.211, allocations: 2.281 kB / 1.284 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.522e-05/1.211, allocations: 3.312 kB / 1.284 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/1.211, allocations: 2.125 kB / 1.284 GB, free: 7.742 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003841/1.211, allocations: 54.72 kB / 1.284 GB, free: 7.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.943e-05/1.211, allocations: 15.95 kB / 1.284 GB, free: 7.73 MB / 0.9981 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,xor1.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.0001354/1.211, allocations: 128 kB / 1.284 GB, free: 7.605 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.07e-05/1.211, allocations: 7.422 kB / 1.284 GB, free: 7.602 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.684e-05/1.211, allocations: 14.38 kB / 1.284 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.916e-06/1.211, allocations: 1.344 kB / 1.284 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/1.211, allocations: 4.703 kB / 1.284 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/1.211, allocations: 1.188 kB / 1.284 GB, free: 7.582 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001729/1.211, allocations: 175.5 kB / 1.285 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/1.211, allocations: 0 / 1.285 GB, free: 7.383 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.551e-05/1.211, allocations: 5.969 kB / 1.285 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/1.211, allocations: 1.094 kB / 1.285 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/1.211, allocations: 1.625 kB / 1.285 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.116e-06/1.211, allocations: 2.234 kB / 1.285 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/1.211, allocations: 0 / 1.285 GB, free: 7.379 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001748/1.212, allocations: 119.7 kB / 1.285 GB, free: 7.285 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-05/1.212, allocations: 84.19 kB / 1.285 GB, free: 7.188 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/1.212, allocations: 9.906 kB / 1.285 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.245e-05/1.212, allocations: 0.6094 kB / 1.285 GB, free: 7.18 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.868e-05/1.212, allocations: 10.42 kB / 1.285 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-06/1.212, allocations: 4.266 kB / 1.285 GB, free: 7.176 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.56e-05/1.212, allocations: 97.91 kB / 1.285 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of sort global known variables: time 9e-08/1.212, allocations: 0 / 1.285 GB, free: 7.09 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002875/1.212, allocations: 40.3 kB / 1.285 GB, free: 7.078 MB / 0.9981 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,xor1.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.0006202/1.213, allocations: 0.6499 MB / 1.286 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0004189/1.213, allocations: 220.1 kB / 1.286 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.213, allocations: 1.312 kB / 1.286 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 5.457e-05/1.213, allocations: 20.44 kB / 1.286 GB, free: 6.297 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002618/1.213, allocations: 24.55 kB / 1.286 GB, free: 6.289 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002423/1.216, allocations: 1.721 MB / 1.288 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/1.216, allocations: 0.6896 MB / 1.288 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.334e-05/1.216, allocations: 5.891 kB / 1.288 GB, free: 4.152 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.402e-05/1.216, allocations: 15.91 kB / 1.288 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of SimCode: time 6.72e-07/1.216, allocations: 0 / 1.288 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02195/1.238, allocations: 2.951 MB / 1.291 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.477/9.715, allocations: 12.88 kB / 1.291 GB, free: 3.621 MB / 0.9981 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.100622853031382] Failed to read output from testmodel.py, exit status != 0: 9.846213177021127 9.876042558 8.665133808 Calling exit ...