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.001332/0.001332, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001531/0.001531, allocations: 218 kB / 23.04 MB, free: 5.074 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.456/1.456, allocations: 230.6 MB / 256.8 MB, free: 7.977 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.754/2.754, allocations: 476.8 MB / 0.7715 GB, free: 4.402 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.002023/0.002023, allocations: 66.56 kB / 1.118 GB, free: 40.33 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3615/0.3635, allocations: 170 MB / 1.284 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002304/0.3658, allocations: 0.7756 MB / 1.285 GB, free: 10.94 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001291/0.3671, allocations: 0.8978 MB / 1.286 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.346e-05/0.3671, allocations: 0 / 1.286 GB, free: 10.03 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 4.261e-05/0.3672, allocations: 7.875 kB / 1.286 GB, free: 10.02 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.572e-05/0.3673, allocations: 15.86 kB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002135/0.3675, allocations: 39.95 kB / 1.286 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.3676, allocations: 91.75 kB / 1.286 GB, free: 9.875 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001265/0.3677, allocations: 16 kB / 1.286 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001007/0.3678, allocations: 43.89 kB / 1.286 GB, free: 9.816 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.851e-05/0.3679, allocations: 47.83 kB / 1.286 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.852e-05/0.368, allocations: 8 kB / 1.286 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.956e-05/0.368, allocations: 8 kB / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.854e-05/0.368, allocations: 23.91 kB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.3681, allocations: 31.8 kB / 1.286 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001603/0.3682, allocations: 95.11 kB / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.339e-06/0.3682, allocations: 0 / 1.286 GB, free: 9.609 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3682, allocations: 4 kB / 1.286 GB, free: 9.605 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.081e-06/0.3682, allocations: 4 kB / 1.286 GB, free: 9.602 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.0006678/0.3689, allocations: 322 kB / 1.287 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.71e-05/0.369, allocations: 11.97 kB / 1.287 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.384e-05/0.369, allocations: 192 / 1.287 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.614e-05/0.369, allocations: 38.75 kB / 1.287 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.3691, allocations: 8.891 kB / 1.287 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.3692, allocations: 122.4 kB / 1.287 GB, free: 9.047 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.043e-05/0.3692, allocations: 4.375 kB / 1.287 GB, free: 9.043 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.591e-05/0.3692, allocations: 11.94 kB / 1.287 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003488/0.3696, allocations: 109.5 kB / 1.287 GB, free: 8.918 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.405e-05/0.3696, allocations: 4 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.3696, allocations: 0 / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.3696, allocations: 0 / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003934/0.37, allocations: 99.91 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006339/0.3707, allocations: 315.7 kB / 1.287 GB, free: 8.465 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006902/0.3713, allocations: 118.6 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001989/0.3715, allocations: 48.81 kB / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.421e-05/0.3716, allocations: 0 / 1.287 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.098e-05/0.3716, allocations: 38.56 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=7): time 8.32e-07/0.3716, allocations: 0 / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7): time 0.0007195/0.3723, allocations: 189.7 kB / 1.288 GB, free: 8.051 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.18e-05/0.3724, allocations: 59.34 kB / 1.288 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.3725, allocations: 117.8 kB / 1.288 GB, free: 7.855 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.275e-05/0.3725, allocations: 25.7 kB / 1.288 GB, free: 7.824 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.102e-05/0.3726, allocations: 96.08 kB / 1.288 GB, free: 7.727 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.3726, allocations: 15.84 kB / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.597e-05/0.3727, allocations: 29.7 kB / 1.288 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001566/0.3728, allocations: 322.8 kB / 1.288 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001878/0.373, allocations: 43.95 kB / 1.288 GB, free: 7.309 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.3732, allocations: 52.02 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003567/0.3736, allocations: 96.78 kB / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3736, allocations: 0 / 1.288 GB, free: 7.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004246/0.374, allocations: 145.5 kB / 1.289 GB, free: 7.012 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.374, allocations: 4 kB / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.374, allocations: 0 / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.484e-05/0.374, allocations: 0 / 1.289 GB, free: 7.008 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001752/0.3742, allocations: 27.97 kB / 1.289 GB, free: 6.98 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.756e-06/0.3742, allocations: 3.938 kB / 1.289 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001183/0.3743, allocations: 15.94 kB / 1.289 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.3743, allocations: 7.984 kB / 1.289 GB, free: 6.953 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.0001059/0.3744, allocations: 117.8 kB / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.918e-05/0.3745, allocations: 0 / 1.289 GB, free: 6.828 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000505/0.375, allocations: 157.9 kB / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.996e-06/0.375, allocations: 0 / 1.289 GB, free: 6.664 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.375, allocations: 7.875 kB / 1.289 GB, free: 6.656 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.193e-06/0.375, allocations: 3.984 kB / 1.289 GB, free: 6.652 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002321/0.3752, allocations: 176.6 kB / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.3752, allocations: 0 / 1.289 GB, free: 6.438 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.3754, allocations: 27.97 kB / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.3754, allocations: 0 / 1.289 GB, free: 6.41 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.536e-05/0.3754, allocations: 7.984 kB / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.3754, allocations: 0 / 1.289 GB, free: 6.402 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.3754, allocations: 3.938 kB / 1.289 GB, free: 6.398 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004932/0.3759, allocations: 241.1 kB / 1.289 GB, free: 6.148 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.833e-05/0.3759, allocations: 4 kB / 1.289 GB, free: 6.145 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.3759, allocations: 4 kB / 1.289 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001454/0.3761, allocations: 11.98 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.659e-05/0.3762, allocations: 23.91 kB / 1.289 GB, free: 6.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.3762, allocations: 4 kB / 1.289 GB, free: 6.102 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.135e-05/0.3763, allocations: 95.27 kB / 1.289 GB, free: 6.008 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3763, allocations: 3.938 kB / 1.289 GB, free: 6.004 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002361/0.3765, allocations: 15.95 kB / 1.289 GB, free: 5.988 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.0008349/0.3773, allocations: 0.767 MB / 1.29 GB, free: 5.195 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0004363/0.3778, allocations: 104.4 kB / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.3778, allocations: 0 / 1.29 GB, free: 5.094 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0002187/0.378, allocations: 63.88 kB / 1.29 GB, free: 5.031 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003511/0.3783, allocations: 16.25 kB / 1.29 GB, free: 5.016 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002392/0.3807, allocations: 1.537 MB / 1.292 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.3811, allocations: 0.6945 MB / 1.293 GB, free: 2.68 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 6.812e-05/0.3811, allocations: 8 kB / 1.293 GB, free: 2.672 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.08e-05/0.3812, allocations: 35.41 kB / 1.293 GB, free: 2.637 MB / 0.9825 GB Notification: Performance of SimCode: time 6.72e-07/0.3812, allocations: 4 kB / 1.293 GB, free: 2.633 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02356/0.4048, allocations: 2.867 MB / 1.295 GB, free: 15.91 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.28/11.69, allocations: 7 kB / 1.295 GB, free: 15.91 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.495391024043784] Failed to read output from testmodel.py, exit status != 0: 12.475131926999893 11.884266291 11.510572662 Calling exit ...