Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001362/0.001362, allocations: 117.4 kB / 17.17 MB, free: 5.977 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.001526/0.001526, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.488/1.488, allocations: 230.6 MB / 253.5 MB, free: 15.09 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 2.976/2.976, allocations: 0.49 GB / 0.7923 GB, free: 1.289 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Logical_Validation_Xor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Xor,fileNamePrefix="Buildings_12_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.002195/0.002195, allocations: 75.89 kB / 1.15 GB, free: 15.36 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.071/1.073, allocations: 176.1 MB / 1.321 GB, free: 24.73 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.001751/1.075, allocations: 0.6465 MB / 1.322 GB, free: 24.32 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001172/1.076, allocations: 1.227 MB / 1.323 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.348e-05/1.076, allocations: 2.625 kB / 1.323 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/1.076, allocations: 3.938 kB / 1.323 GB, free: 23.42 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.606e-05/1.077, allocations: 18.08 kB / 1.323 GB, free: 23.41 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005377/1.077, allocations: 212.8 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001744/1.077, allocations: 178.7 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 7.597e-05/1.077, allocations: 6.969 kB / 1.324 GB, free: 23.23 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 7.247e-05/1.077, allocations: 74.75 kB / 1.324 GB, free: 23.2 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001079/1.078, allocations: 64.08 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/1.078, allocations: 16.44 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 6.492e-05/1.078, allocations: 30.42 kB / 1.324 GB, free: 23.17 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.759e-05/1.078, allocations: 13.59 kB / 1.324 GB, free: 23.16 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 6.163e-05/1.078, allocations: 58.48 kB / 1.324 GB, free: 23.13 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001612/1.078, allocations: 148.8 kB / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/1.078, allocations: 0 / 1.324 GB, free: 23.09 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.373e-06/1.078, allocations: 4 kB / 1.324 GB, free: 23.08 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.97e-06/1.078, allocations: 0 / 1.324 GB, free: 23.08 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.0004201/1.078, allocations: 437.2 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.572e-05/1.078, allocations: 15.2 kB / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.546e-05/1.078, allocations: 192 / 1.325 GB, free: 22.64 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.874e-05/1.078, allocations: 34.69 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.795e-05/1.078, allocations: 12.62 kB / 1.325 GB, free: 22.59 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.815e-05/1.078, allocations: 174.1 kB / 1.325 GB, free: 22.39 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.835e-05/1.078, allocations: 9.562 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.802e-05/1.079, allocations: 8.625 kB / 1.325 GB, free: 22.38 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.852e-05/1.079, allocations: 56.19 kB / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/1.079, allocations: 0 / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.917e-06/1.079, allocations: 0 / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.757e-06/1.079, allocations: 0 / 1.325 GB, free: 22.34 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.882e-05/1.079, allocations: 20.44 kB / 1.325 GB, free: 22.33 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003873/1.079, allocations: 362.2 kB / 1.325 GB, free: 22.02 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 6.763e-05/1.079, allocations: 37.61 kB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.419e-05/1.079, allocations: 13.45 kB / 1.325 GB, free: 21.97 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-06/1.079, allocations: 3.234 kB / 1.325 GB, free: 21.97 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001286/1.079, allocations: 83.12 kB / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/1.079, allocations: 0 / 1.325 GB, free: 21.91 MB / 1.061 GB Notification: Performance of matching and sorting (n=7): time 0.0002215/1.08, allocations: 104.6 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.608e-05/1.08, allocations: 57.94 kB / 1.325 GB, free: 21.79 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.207e-05/1.08, allocations: 120.5 kB / 1.326 GB, free: 21.68 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/1.08, allocations: 28.52 kB / 1.326 GB, free: 21.65 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/1.08, allocations: 93.44 kB / 1.326 GB, free: 21.56 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.36e-05/1.08, allocations: 17.86 kB / 1.326 GB, free: 21.55 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.242e-05/1.08, allocations: 49.17 kB / 1.326 GB, free: 21.53 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.885e-05/1.08, allocations: 322.1 kB / 1.326 GB, free: 21.21 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/1.08, allocations: 63.89 kB / 1.326 GB, free: 21.18 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000127/1.08, allocations: 98.66 kB / 1.326 GB, free: 21.12 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/1.08, allocations: 155.2 kB / 1.326 GB, free: 20.98 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.344e-06/1.08, allocations: 0 / 1.326 GB, free: 20.98 MB / 1.061 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003646/1.081, allocations: 270.2 kB / 1.327 GB, free: 20.83 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 3.534e-05/1.081, allocations: 66.83 kB / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.008e-06/1.081, allocations: 0 / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/1.081, allocations: 2.656 kB / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.752e-05/1.081, allocations: 2.531 kB / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.607e-06/1.081, allocations: 10.33 kB / 1.327 GB, free: 20.76 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003249/1.081, allocations: 59.92 kB / 1.327 GB, free: 20.74 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.759e-05/1.081, allocations: 11.64 kB / 1.327 GB, free: 20.74 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 7.103e-05/1.081, allocations: 128.7 kB / 1.327 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.202e-05/1.081, allocations: 2.844 kB / 1.327 GB, free: 20.62 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.52e-05/1.081, allocations: 11.56 kB / 1.327 GB, free: 20.61 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/1.081, allocations: 0 / 1.327 GB, free: 20.61 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/1.081, allocations: 0 / 1.327 GB, free: 20.61 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/1.081, allocations: 3.984 kB / 1.327 GB, free: 20.61 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.533e-05/1.081, allocations: 190.7 kB / 1.327 GB, free: 20.39 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.613e-06/1.081, allocations: 13.89 kB / 1.327 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.416e-06/1.081, allocations: 0 / 1.327 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.332e-06/1.081, allocations: 0 / 1.327 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/1.081, allocations: 2.656 kB / 1.327 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.081, allocations: 0 / 1.327 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/1.081, allocations: 0 / 1.327 GB, free: 20.38 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/1.081, allocations: 111 kB / 1.327 GB, free: 20.3 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.125e-05/1.081, allocations: 86.97 kB / 1.327 GB, free: 20.2 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/1.081, allocations: 6.5 kB / 1.327 GB, free: 20.2 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.187e-05/1.081, allocations: 0 / 1.327 GB, free: 20.2 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.693e-05/1.081, allocations: 10.3 kB / 1.327 GB, free: 20.19 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.382e-06/1.081, allocations: 2.469 kB / 1.327 GB, free: 20.19 MB / 1.061 GB Notification: Performance of sorting global known variables: time 2.751e-05/1.081, allocations: 94.58 kB / 1.327 GB, free: 20.11 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.081, allocations: 0 / 1.327 GB, free: 20.11 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000232/1.082, allocations: 36.66 kB / 1.327 GB, free: 20.1 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.0003083/1.082, allocations: 0.656 MB / 1.328 GB, free: 19.48 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002767/1.082, allocations: 221.6 kB / 1.328 GB, free: 19.32 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/1.082, allocations: 0 / 1.328 GB, free: 19.32 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.521e-05/1.082, allocations: 25.86 kB / 1.328 GB, free: 19.31 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002289/1.083, allocations: 19.62 kB / 1.328 GB, free: 19.3 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001752/1.084, allocations: 1.726 MB / 1.33 GB, free: 17.86 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001413/1.084, allocations: 0.691 MB / 1.331 GB, free: 17.16 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.17e-05/1.085, allocations: 7.531 kB / 1.331 GB, free: 17.16 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/1.085, allocations: 18.91 kB / 1.331 GB, free: 17.14 MB / 1.061 GB Notification: Performance of SimCode: time 3.31e-07/1.085, allocations: 0 / 1.331 GB, free: 17.14 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02427/1.109, allocations: 2.948 MB / 1.334 GB, free: 16.64 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.579/9.688, allocations: 3.094 kB / 1.334 GB, free: 16.64 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Xor_fmu --startTime=0 --stopTime=5 --stepSize=0.002 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Logical_Validation_Xor.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Logical.Validation.Xor.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.080549959966447] Failed to read output from testmodel.py, exit status != 0: 9.812744680966716 9.826414763 8.745750237 Calling exit ...