Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001551/0.001551, allocations: 114.8 kB / 17.16 MB, free: 5.895 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.001938/0.001938, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.531/1.531, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.008/3.008, allocations: 0.5003 GB / 0.8026 GB, free: 6.742 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_latest_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.002015/0.002015, allocations: 63.91 kB / 1.165 GB, free: 492 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.048/1.05, allocations: 178.9 MB / 1.34 GB, free: 16.29 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001951/1.052, allocations: 0.6631 MB / 1.341 GB, free: 15.86 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001904/1.054, allocations: 1.219 MB / 1.342 GB, free: 14.98 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.207e-05/1.054, allocations: 5.125 kB / 1.342 GB, free: 14.97 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 3.909e-05/1.054, allocations: 4.641 kB / 1.342 GB, free: 14.97 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000107/1.054, allocations: 12.19 kB / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008249/1.055, allocations: 222 kB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002956/1.055, allocations: 172.4 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001152/1.055, allocations: 9.5 kB / 1.342 GB, free: 14.78 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000133/1.055, allocations: 76.48 kB / 1.342 GB, free: 14.75 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001666/1.055, allocations: 62.83 kB / 1.343 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.9e-05/1.055, allocations: 14.59 kB / 1.343 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 9.265e-05/1.056, allocations: 28.52 kB / 1.343 GB, free: 14.72 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.146e-05/1.056, allocations: 17.91 kB / 1.343 GB, free: 14.71 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 9.803e-05/1.056, allocations: 49.14 kB / 1.343 GB, free: 14.69 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0003239/1.056, allocations: 162.5 kB / 1.343 GB, free: 14.63 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/1.056, allocations: 1.062 kB / 1.343 GB, free: 14.63 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.044e-06/1.056, allocations: 0 / 1.343 GB, free: 14.63 MB / 1.061 GB Notification: Performance of Transformations before backend: time 1.607e-05/1.056, allocations: 0 / 1.343 GB, free: 14.63 MB / 1.061 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.0007308/1.057, allocations: 440.2 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.787e-05/1.057, allocations: 9.906 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.079e-05/1.057, allocations: 1.469 kB / 1.343 GB, free: 14.18 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.174e-05/1.057, allocations: 33.3 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.295e-05/1.057, allocations: 11.44 kB / 1.343 GB, free: 14.14 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001453/1.057, allocations: 169.2 kB / 1.343 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.851e-05/1.057, allocations: 8.906 kB / 1.343 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.019e-05/1.057, allocations: 9.953 kB / 1.343 GB, free: 13.94 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001833/1.057, allocations: 58.66 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.328e-05/1.057, allocations: 4 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.468e-05/1.057, allocations: 1.891 kB / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.288e-05/1.057, allocations: 0 / 1.343 GB, free: 13.89 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.295e-05/1.057, allocations: 15.33 kB / 1.344 GB, free: 13.88 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006045/1.058, allocations: 355.2 kB / 1.344 GB, free: 13.57 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/1.058, allocations: 30.66 kB / 1.344 GB, free: 13.55 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.09e-05/1.058, allocations: 20.17 kB / 1.344 GB, free: 13.53 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.522e-05/1.058, allocations: 7.938 kB / 1.344 GB, free: 13.52 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003081/1.058, allocations: 83.58 kB / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.753e-06/1.059, allocations: 0 / 1.344 GB, free: 13.46 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0003398/1.059, allocations: 104.2 kB / 1.344 GB, free: 13.41 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.766e-05/1.059, allocations: 58.14 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/1.059, allocations: 120.1 kB / 1.344 GB, free: 13.23 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/1.059, allocations: 29.33 kB / 1.344 GB, free: 13.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 6.894e-05/1.059, allocations: 99.92 kB / 1.344 GB, free: 13.11 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.152e-05/1.059, allocations: 14.98 kB / 1.344 GB, free: 13.1 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001144/1.059, allocations: 47.69 kB / 1.344 GB, free: 13.07 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 7.681e-05/1.059, allocations: 320.3 kB / 1.345 GB, free: 12.76 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001573/1.059, allocations: 64.52 kB / 1.345 GB, free: 12.73 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/1.06, allocations: 92.75 kB / 1.345 GB, free: 12.67 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002153/1.06, allocations: 158.1 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/1.06, allocations: 1.344 kB / 1.345 GB, free: 12.54 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0005013/1.06, allocations: 265 kB / 1.345 GB, free: 12.38 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 6.715e-05/1.06, allocations: 75.73 kB / 1.345 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/1.06, allocations: 1.375 kB / 1.345 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.767e-05/1.06, allocations: 1.375 kB / 1.345 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.213e-05/1.061, allocations: 7.547 kB / 1.345 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.171e-05/1.061, allocations: 6.031 kB / 1.345 GB, free: 12.3 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004018/1.061, allocations: 59.45 kB / 1.345 GB, free: 12.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.307e-05/1.061, allocations: 12.8 kB / 1.345 GB, free: 12.29 MB / 1.061 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.0001073/1.061, allocations: 127.2 kB / 1.346 GB, free: 12.17 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.628e-05/1.061, allocations: 8.109 kB / 1.346 GB, free: 12.16 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.288e-05/1.061, allocations: 10.41 kB / 1.346 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/1.061, allocations: 1.375 kB / 1.346 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/1.061, allocations: 0 / 1.346 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/1.061, allocations: 0.7031 kB / 1.346 GB, free: 12.15 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001293/1.061, allocations: 180.6 kB / 1.346 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/1.061, allocations: 0 / 1.346 GB, free: 11.95 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.054e-05/1.061, allocations: 10.06 kB / 1.346 GB, free: 11.94 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/1.061, allocations: 4 kB / 1.346 GB, free: 11.94 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/1.061, allocations: 2.219 kB / 1.346 GB, free: 11.94 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/1.061, allocations: 5.312 kB / 1.346 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/1.061, allocations: 0.5156 kB / 1.346 GB, free: 11.93 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001655/1.061, allocations: 116.7 kB / 1.346 GB, free: 11.84 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.854e-05/1.061, allocations: 82.44 kB / 1.346 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.782e-05/1.062, allocations: 2.734 kB / 1.346 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.155e-05/1.062, allocations: 1.375 kB / 1.346 GB, free: 11.75 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/1.062, allocations: 18.78 kB / 1.346 GB, free: 11.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.564e-06/1.062, allocations: 3.359 kB / 1.346 GB, free: 11.73 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.857e-05/1.062, allocations: 97.28 kB / 1.346 GB, free: 11.65 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.062, allocations: 0 / 1.346 GB, free: 11.65 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002424/1.062, allocations: 35.94 kB / 1.346 GB, free: 11.64 MB / 1.061 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.0003696/1.062, allocations: 0.6488 MB / 1.347 GB, free: 11.03 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003321/1.063, allocations: 220.6 kB / 1.347 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/1.063, allocations: 0 / 1.347 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 4.907e-05/1.063, allocations: 25.59 kB / 1.347 GB, free: 10.86 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002391/1.063, allocations: 15.09 kB / 1.347 GB, free: 10.85 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001967/1.065, allocations: 1.727 MB / 1.349 GB, free: 9.41 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001272/1.065, allocations: 0.6951 MB / 1.349 GB, free: 8.707 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.188e-05/1.065, allocations: 6.906 kB / 1.349 GB, free: 8.707 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.87e-05/1.065, allocations: 15.98 kB / 1.349 GB, free: 8.695 MB / 1.061 GB Notification: Performance of SimCode: time 3.11e-07/1.065, allocations: 0 / 1.349 GB, free: 8.695 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02174/1.087, allocations: 2.956 MB / 1.352 GB, free: 8.184 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.657/9.744, allocations: 7.547 kB / 1.352 GB, free: 8.184 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.34864767297404] Failed to read output from testmodel.py, exit status != 0: 9.873388012056239 9.897667315 8.837424509 Calling exit ...