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.00141/0.00141, 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.001402/0.001402, allocations: 215.7 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.447/1.447, allocations: 230.6 MB / 256.8 MB, free: 8 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.731/2.731, allocations: 476.7 MB / 0.7715 GB, free: 4.297 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.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.002031/0.002031, allocations: 62.39 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3817/0.3837, allocations: 170 MB / 1.284 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Xor): time 0.002179/0.3859, allocations: 0.6613 MB / 1.285 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002059/0.388, allocations: 1.227 MB / 1.286 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.348e-05/0.388, allocations: 0 / 1.286 GB, free: 9.895 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.496e-05/0.3881, allocations: 3.938 kB / 1.286 GB, free: 9.891 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.091e-05/0.3881, allocations: 19.91 kB / 1.286 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007614/0.3889, allocations: 216.9 kB / 1.286 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0003032/0.3892, allocations: 175.7 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001171/0.3893, allocations: 11.98 kB / 1.286 GB, free: 9.48 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001636/0.3895, allocations: 67.89 kB / 1.286 GB, free: 9.414 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000231/0.3897, allocations: 63.84 kB / 1.287 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 5.677e-05/0.3898, allocations: 16 kB / 1.287 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001187/0.3899, allocations: 27.98 kB / 1.287 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.982e-05/0.3899, allocations: 11.92 kB / 1.287 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0001304/0.3901, allocations: 63.83 kB / 1.287 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0003111/0.3904, allocations: 147.2 kB / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.3904, allocations: 0 / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.523e-06/0.3904, allocations: 0 / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.107e-06/0.3904, allocations: 7.984 kB / 1.287 GB, free: 9.086 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.0007322/0.3911, allocations: 365.5 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.243e-05/0.3912, allocations: 11.97 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.972e-05/0.3912, allocations: 192 / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.095e-05/0.3912, allocations: 38.67 kB / 1.287 GB, free: 8.625 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.284e-05/0.3913, allocations: 8.938 kB / 1.287 GB, free: 8.617 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001327/0.3914, allocations: 110.5 kB / 1.287 GB, free: 8.484 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.894e-05/0.3915, allocations: 8.375 kB / 1.287 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.867e-05/0.3915, allocations: 12.38 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001555/0.3917, allocations: 53.98 kB / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3917, allocations: 0 / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.095e-05/0.3917, allocations: 0 / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.3917, allocations: 0 / 1.287 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.468e-05/0.3917, allocations: 23.94 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007862/0.3925, allocations: 331.7 kB / 1.288 GB, free: 8.016 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001119/0.3926, allocations: 34.56 kB / 1.288 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.119e-05/0.3927, allocations: 16.95 kB / 1.288 GB, free: 7.953 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.079e-05/0.3927, allocations: 3.984 kB / 1.288 GB, free: 7.949 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002884/0.393, allocations: 87.27 kB / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.884e-06/0.393, allocations: 0 / 1.288 GB, free: 7.852 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0003516/0.3933, allocations: 101.6 kB / 1.288 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.759e-05/0.3934, allocations: 59.41 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001436/0.3935, allocations: 121.8 kB / 1.288 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 4.661e-05/0.3936, allocations: 29.7 kB / 1.288 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.069e-05/0.3937, allocations: 88.14 kB / 1.288 GB, free: 7.422 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.792e-05/0.3937, allocations: 11.91 kB / 1.288 GB, free: 7.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000146/0.3938, allocations: 53.62 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0002298/0.3941, allocations: 322.8 kB / 1.289 GB, free: 7.027 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002072/0.3943, allocations: 59.97 kB / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002828/0.3946, allocations: 97.62 kB / 1.289 GB, free: 6.859 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003073/0.3949, allocations: 159.7 kB / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.3949, allocations: 0 / 1.289 GB, free: 6.676 MB / 0.9825 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006917/0.3956, allocations: 276.8 kB / 1.289 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.385e-05/0.3957, allocations: 67.39 kB / 1.289 GB, free: 6.309 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.3957, allocations: 4 kB / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.341e-05/0.3957, allocations: 0 / 1.289 GB, free: 6.305 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.756e-05/0.3957, allocations: 7.984 kB / 1.289 GB, free: 6.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.987e-06/0.3957, allocations: 3.938 kB / 1.289 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004789/0.3962, allocations: 52.02 kB / 1.289 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.919e-05/0.3963, allocations: 16 kB / 1.289 GB, free: 6.227 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,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.0001885/0.3965, allocations: 129.7 kB / 1.289 GB, free: 6.09 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.3965, allocations: 4 kB / 1.289 GB, free: 6.086 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.3e-05/0.3965, allocations: 8.375 kB / 1.289 GB, free: 6.078 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.3965, allocations: 4 kB / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.544e-06/0.3965, allocations: 0 / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.24e-06/0.3965, allocations: 0 / 1.289 GB, free: 6.074 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002264/0.3968, allocations: 152.6 kB / 1.29 GB, free: 5.883 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.734e-06/0.3968, allocations: 4 kB / 1.29 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.286e-05/0.3968, allocations: 0 / 1.29 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.845e-06/0.3968, allocations: 4 kB / 1.29 GB, free: 5.875 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.057e-05/0.3968, allocations: 4 kB / 1.29 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.3968, allocations: 0 / 1.29 GB, free: 5.871 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.59e-06/0.3968, allocations: 3.938 kB / 1.29 GB, free: 5.867 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003861/0.3972, allocations: 109 kB / 1.29 GB, free: 5.742 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.473e-05/0.3972, allocations: 11.95 kB / 1.29 GB, free: 5.73 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.626e-05/0.3973, allocations: 3.984 kB / 1.29 GB, free: 5.727 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.874e-05/0.3973, allocations: 4 kB / 1.29 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.262e-05/0.3974, allocations: 11.97 kB / 1.29 GB, free: 5.711 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.944e-05/0.3974, allocations: 8 kB / 1.29 GB, free: 5.703 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 8.783e-05/0.3975, allocations: 95.2 kB / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3975, allocations: 0 / 1.29 GB, free: 5.609 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003796/0.3979, allocations: 27.94 kB / 1.29 GB, free: 5.582 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,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.000954/0.3988, allocations: 0.6553 MB / 1.291 GB, free: 4.898 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0005114/0.3993, allocations: 214.7 kB / 1.291 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.967e-06/0.3993, allocations: 0 / 1.291 GB, free: 4.664 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 7.304e-05/0.3994, allocations: 23.98 kB / 1.291 GB, free: 4.641 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003431/0.3997, allocations: 16.86 kB / 1.291 GB, free: 4.625 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003049/0.4028, allocations: 1.725 MB / 1.292 GB, free: 2.777 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004538/0.4032, allocations: 0.6949 MB / 1.293 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.967e-05/0.4033, allocations: 4 kB / 1.293 GB, free: 2.055 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.559e-05/0.4034, allocations: 19.42 kB / 1.293 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.4034, allocations: 0 / 1.293 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0271/0.4305, allocations: 3.079 MB / 1.296 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.33/11.76, allocations: 9.719 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.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: 18.30943316104822] Failed to read output from testmodel.py, exit status != 0: 12.50171722297091 11.938075606 11.544589836 Calling exit ...