Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.001534/0.001534, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.00191/0.00191, allocations: 220.7 kB / 23.03 MB, free: 4.945 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.587/1.587, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.798/2.798, allocations: 476.8 MB / 0.7715 GB, free: 3.887 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.Integers.Validation.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max",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.002059/0.002059, allocations: 64.73 kB / 1.118 GB, free: 39.77 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3889/0.3909, allocations: 170 MB / 1.284 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.003046/0.394, allocations: 0.7578 MB / 1.285 GB, free: 9.883 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001473/0.3954, allocations: 0.8745 MB / 1.286 GB, free: 8.996 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.21e-05/0.3955, allocations: 3.938 kB / 1.286 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.832e-05/0.3955, allocations: 11.92 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.704e-05/0.3956, allocations: 15.88 kB / 1.286 GB, free: 8.965 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002252/0.3959, allocations: 47.88 kB / 1.286 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001485/0.396, allocations: 79.89 kB / 1.286 GB, free: 8.84 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000139/0.3961, allocations: 17.39 kB / 1.286 GB, free: 8.824 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.669e-05/0.3962, allocations: 39.84 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001011/0.3963, allocations: 47.83 kB / 1.286 GB, free: 8.738 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 3.726e-05/0.3964, allocations: 8 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 2.016e-05/0.3964, allocations: 11.94 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.51e-05/0.3964, allocations: 23.91 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.102e-05/0.3965, allocations: 35.8 kB / 1.286 GB, free: 8.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001577/0.3966, allocations: 83.23 kB / 1.286 GB, free: 8.582 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.3966, allocations: 4 kB / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.884e-06/0.3967, allocations: 0 / 1.286 GB, free: 8.578 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.191e-06/0.3967, allocations: 0 / 1.286 GB, free: 8.578 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.0006946/0.3974, allocations: 322 kB / 1.286 GB, free: 8.234 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.291e-05/0.3974, allocations: 12.03 kB / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.652e-05/0.3974, allocations: 192 / 1.286 GB, free: 8.223 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.562e-05/0.3975, allocations: 42.69 kB / 1.286 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.659e-05/0.3975, allocations: 8.891 kB / 1.286 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.3976, allocations: 122.4 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.126e-05/0.3977, allocations: 12.38 kB / 1.287 GB, free: 8.008 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.3977, allocations: 7.938 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003278/0.398, allocations: 101.6 kB / 1.287 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.229e-05/0.398, allocations: 4 kB / 1.287 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.579e-05/0.398, allocations: 4 kB / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.188e-06/0.398, allocations: 0 / 1.287 GB, free: 7.887 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003794/0.3984, allocations: 100.6 kB / 1.287 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005938/0.399, allocations: 295.8 kB / 1.287 GB, free: 7.457 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006716/0.3997, allocations: 122.6 kB / 1.287 GB, free: 7.328 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001899/0.3999, allocations: 52.81 kB / 1.287 GB, free: 7.273 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.3999, allocations: 3.938 kB / 1.287 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.61e-05/0.3999, allocations: 38.56 kB / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 1.283e-06/0.3999, allocations: 0 / 1.287 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0006927/0.4006, allocations: 181.5 kB / 1.287 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.962e-05/0.4007, allocations: 59.34 kB / 1.288 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001265/0.4008, allocations: 117.8 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.395e-05/0.4008, allocations: 33.69 kB / 1.288 GB, free: 6.805 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.492e-05/0.4009, allocations: 96.09 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.979e-05/0.4009, allocations: 15.84 kB / 1.288 GB, free: 6.691 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.755e-05/0.401, allocations: 25.7 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001628/0.4011, allocations: 318.8 kB / 1.288 GB, free: 6.34 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001808/0.4013, allocations: 47.95 kB / 1.288 GB, free: 6.293 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.4015, allocations: 51.83 kB / 1.288 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003456/0.4018, allocations: 96.77 kB / 1.288 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4018, allocations: 0 / 1.288 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004043/0.4022, allocations: 133.6 kB / 1.288 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.4023, allocations: 4 kB / 1.288 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4023, allocations: 0 / 1.288 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.4023, allocations: 4 kB / 1.288 GB, free: 6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001667/0.4024, allocations: 23.97 kB / 1.288 GB, free: 5.977 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.4025, allocations: 11.88 kB / 1.288 GB, free: 5.965 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000132/0.4026, allocations: 23.91 kB / 1.288 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.023e-05/0.4026, allocations: 0 / 1.288 GB, free: 5.941 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,max1.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.0001098/0.4027, allocations: 114.7 kB / 1.289 GB, free: 5.82 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.4027, allocations: 7.953 kB / 1.289 GB, free: 5.812 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004775/0.4032, allocations: 153.9 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.456e-06/0.4032, allocations: 0 / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.4032, allocations: 11.94 kB / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.4032, allocations: 0 / 1.289 GB, free: 5.641 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002251/0.4035, allocations: 160.6 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4035, allocations: 0 / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001617/0.4036, allocations: 27.91 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.4036, allocations: 8 kB / 1.289 GB, free: 5.406 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.327e-05/0.4036, allocations: 3.984 kB / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4036, allocations: 0 / 1.289 GB, free: 5.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.4036, allocations: 3.938 kB / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004754/0.4041, allocations: 229.8 kB / 1.289 GB, free: 5.16 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.827e-05/0.4041, allocations: 11.95 kB / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.104e-05/0.4042, allocations: 0 / 1.289 GB, free: 5.148 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001428/0.4043, allocations: 15.98 kB / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.636e-05/0.4044, allocations: 27.91 kB / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.4044, allocations: 0 / 1.289 GB, free: 5.105 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.279e-05/0.4045, allocations: 95.27 kB / 1.289 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.4045, allocations: 0 / 1.289 GB, free: 5.012 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002672/0.4047, allocations: 19.95 kB / 1.289 GB, free: 4.992 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 (max1.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.0008342/0.4056, allocations: 0.7749 MB / 1.29 GB, free: 4.191 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004181/0.406, allocations: 99.84 kB / 1.29 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.406, allocations: 0 / 1.29 GB, free: 4.094 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002243/0.4062, allocations: 67.92 kB / 1.29 GB, free: 4.027 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003745/0.4066, allocations: 15.94 kB / 1.29 GB, free: 4.012 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002353/0.4089, allocations: 1.537 MB / 1.292 GB, free: 2.395 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.555e-05/0.409, allocations: 75.33 kB / 1.292 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.937e-05/0.4091, allocations: 15.94 kB / 1.292 GB, free: 2.285 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.198e-05/0.4092, allocations: 27.42 kB / 1.292 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of SimCode: time 6.32e-07/0.4092, allocations: 192 / 1.292 GB, free: 2.258 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02411/0.4333, allocations: 2.993 MB / 1.295 GB, free: 15.42 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.93, allocations: 14.39 kB / 1.295 GB, free: 15.41 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.94007958692964] Failed to read output from testmodel.py, exit status != 0: 12.722691682982258 12.120819818 11.719824197 Calling exit ...