Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.001361/0.001361, 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.001461/0.001461, allocations: 216.5 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.485/1.485, 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.843/2.843, allocations: 476.7 MB / 0.7715 GB, free: 4.277 MB / 0.6231 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.Integers.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.002068/0.002068, allocations: 63.05 kB / 1.118 GB, free: 40.35 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.3977, allocations: 170 MB / 1.284 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002351/0.4001, allocations: 0.7813 MB / 1.285 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001358/0.4014, allocations: 0.8939 MB / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.851e-05/0.4015, allocations: 0 / 1.286 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.774e-05/0.4015, allocations: 11.86 kB / 1.286 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001054/0.4016, allocations: 15.88 kB / 1.286 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.4018, allocations: 43.94 kB / 1.286 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001545/0.402, allocations: 83.77 kB / 1.286 GB, free: 9.977 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001395/0.4021, allocations: 19.98 kB / 1.286 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.4022, allocations: 39.91 kB / 1.286 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001127/0.4024, allocations: 47.83 kB / 1.286 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.4024, allocations: 8 kB / 1.286 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.861e-05/0.4024, allocations: 8 kB / 1.286 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.752e-05/0.4024, allocations: 23.91 kB / 1.286 GB, free: 9.832 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.209e-05/0.4025, allocations: 35.8 kB / 1.286 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.4027, allocations: 91.11 kB / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.4027, allocations: 0 / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.034e-06/0.4027, allocations: 0 / 1.286 GB, free: 9.711 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.254e-05/0.4027, allocations: 4 kB / 1.286 GB, free: 9.707 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0007163/0.4034, allocations: 322 kB / 1.287 GB, free: 9.363 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.4034, allocations: 8.031 kB / 1.287 GB, free: 9.355 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.352e-05/0.4035, allocations: 4.125 kB / 1.287 GB, free: 9.352 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.162e-05/0.4035, allocations: 42.69 kB / 1.287 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.577e-05/0.4035, allocations: 8.891 kB / 1.287 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000137/0.4037, allocations: 122.4 kB / 1.287 GB, free: 9.148 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.4037, allocations: 8.375 kB / 1.287 GB, free: 9.141 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.092e-05/0.4037, allocations: 7.938 kB / 1.287 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003289/0.404, allocations: 113.5 kB / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.4041, allocations: 0 / 1.287 GB, free: 9.016 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.582e-05/0.4041, allocations: 4 kB / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.4041, allocations: 0 / 1.287 GB, free: 9.012 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003695/0.4044, allocations: 91.91 kB / 1.287 GB, free: 8.922 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005787/0.405, allocations: 319.7 kB / 1.287 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006389/0.4057, allocations: 114.6 kB / 1.287 GB, free: 8.445 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002055/0.4059, allocations: 56.81 kB / 1.287 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.667e-05/0.4059, allocations: 3.984 kB / 1.287 GB, free: 8.383 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.4059, allocations: 34.56 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.343e-06/0.4059, allocations: 0 / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0007215/0.4066, allocations: 185.4 kB / 1.288 GB, free: 8.152 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.4067, allocations: 59.34 kB / 1.288 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.4068, allocations: 117.8 kB / 1.288 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.051e-05/0.4068, allocations: 25.7 kB / 1.288 GB, free: 7.926 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.123e-05/0.4069, allocations: 100.1 kB / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.662e-05/0.4069, allocations: 11.84 kB / 1.288 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.052e-05/0.407, allocations: 29.7 kB / 1.288 GB, free: 7.777 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.4071, allocations: 314.8 kB / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001879/0.4073, allocations: 47.95 kB / 1.288 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001755/0.4075, allocations: 51.89 kB / 1.288 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003558/0.4079, allocations: 96.77 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4079, allocations: 4 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004304/0.4083, allocations: 142 kB / 1.289 GB, free: 7.117 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/0.4083, allocations: 4 kB / 1.289 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.4083, allocations: 0 / 1.289 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.4083, allocations: 0 / 1.289 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.4085, allocations: 23.97 kB / 1.289 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.849e-06/0.4085, allocations: 3.938 kB / 1.289 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001187/0.4086, allocations: 19.98 kB / 1.289 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.747e-05/0.4086, allocations: 11.97 kB / 1.289 GB, free: 7.055 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * 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.0001456/0.4088, allocations: 113.8 kB / 1.289 GB, free: 6.934 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.165e-05/0.4088, allocations: 3.953 kB / 1.289 GB, free: 6.93 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005245/0.4093, allocations: 158 kB / 1.289 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.168e-06/0.4094, allocations: 3.984 kB / 1.289 GB, free: 6.762 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/0.4094, allocations: 3.938 kB / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.4094, allocations: 0 / 1.289 GB, free: 6.758 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003051/0.4097, allocations: 180.5 kB / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.4097, allocations: 0 / 1.289 GB, free: 6.539 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001644/0.4098, allocations: 23.97 kB / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.4098, allocations: 0 / 1.289 GB, free: 6.516 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.862e-05/0.4099, allocations: 11.98 kB / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.794e-06/0.4099, allocations: 4 kB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.4099, allocations: 3.938 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005115/0.4104, allocations: 229.2 kB / 1.289 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.969e-05/0.4104, allocations: 7.953 kB / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.4104, allocations: 0 / 1.289 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001469/0.4106, allocations: 19.98 kB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.341e-05/0.4107, allocations: 23.91 kB / 1.289 GB, free: 6.207 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.4107, allocations: 11.98 kB / 1.289 GB, free: 6.195 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.55e-05/0.4107, allocations: 91.27 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.4107, allocations: 0 / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002441/0.411, allocations: 15.95 kB / 1.289 GB, free: 6.09 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: 3 (min1.y,reaToInt.y,reaToInt1.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): 7 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0008431/0.4118, allocations: 0.7709 MB / 1.29 GB, free: 5.293 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004465/0.4123, allocations: 103.9 kB / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4123, allocations: 0 / 1.29 GB, free: 5.191 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002229/0.4125, allocations: 63.88 kB / 1.29 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003761/0.4129, allocations: 14.12 kB / 1.29 GB, free: 5.117 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002399/0.4153, allocations: 1.539 MB / 1.292 GB, free: 3.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003283/0.4156, allocations: 0.6885 MB / 1.293 GB, free: 2.785 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.414e-05/0.4157, allocations: 12 kB / 1.293 GB, free: 2.773 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.593e-05/0.4158, allocations: 35.41 kB / 1.293 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of SimCode: time 6.81e-07/0.4158, allocations: 0 / 1.293 GB, free: 2.738 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0234/0.4392, allocations: 2.876 MB / 1.295 GB, free: 16 kB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.59, allocations: 8.797 kB / 1.295 GB, free: 8 kB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.49919157498516] Failed to read output from testmodel.py, exit status != 0: 12.340471690986305 11.77786205 11.370551036 Calling exit ...