Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.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.001805/0.001805, 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.002192/0.002192, allocations: 219.8 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.495/1.495, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.804/2.804, allocations: 476.8 MB / 0.7715 GB, free: 3.914 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.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold",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.002004/0.002004, allocations: 62.16 kB / 1.118 GB, free: 40.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3637/0.3657, allocations: 170 MB / 1.284 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.002533/0.3683, allocations: 0.6878 MB / 1.285 GB, free: 10.13 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.3696, allocations: 0.855 MB / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.464e-05/0.3697, allocations: 0 / 1.286 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 5.156e-05/0.3697, allocations: 3.938 kB / 1.286 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.032e-05/0.3698, allocations: 3.938 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001916/0.37, allocations: 31.91 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001156/0.3701, allocations: 51.89 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.3702, allocations: 9.406 kB / 1.286 GB, free: 9.168 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 8.237e-05/0.3703, allocations: 23.92 kB / 1.286 GB, free: 9.145 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.38e-05/0.3704, allocations: 31.84 kB / 1.286 GB, free: 9.113 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.921e-05/0.3704, allocations: 4 kB / 1.286 GB, free: 9.109 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.791e-05/0.3705, allocations: 4 kB / 1.286 GB, free: 9.105 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.453e-05/0.3705, allocations: 7.984 kB / 1.286 GB, free: 9.098 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.029e-05/0.3705, allocations: 15.92 kB / 1.286 GB, free: 9.082 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.3707, allocations: 51.31 kB / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3707, allocations: 0 / 1.286 GB, free: 9.035 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.023e-06/0.3707, allocations: 4 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.953e-06/0.3707, allocations: 0 / 1.286 GB, free: 9.031 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005951/0.3713, allocations: 278.3 kB / 1.286 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.494e-05/0.3713, allocations: 8.031 kB / 1.286 GB, free: 8.723 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.31e-05/0.3713, allocations: 4.172 kB / 1.286 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.92e-05/0.3714, allocations: 38.75 kB / 1.286 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.148e-05/0.3714, allocations: 8.875 kB / 1.286 GB, free: 8.664 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001504/0.3716, allocations: 122.3 kB / 1.286 GB, free: 8.52 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.977e-05/0.3716, allocations: 4.375 kB / 1.286 GB, free: 8.516 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.64e-05/0.3716, allocations: 7.938 kB / 1.286 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.3718, allocations: 69.66 kB / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.906e-06/0.3718, allocations: 0 / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.3718, allocations: 0 / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.3718, allocations: 0 / 1.286 GB, free: 8.434 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002186/0.3721, allocations: 47.95 kB / 1.286 GB, free: 8.387 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005127/0.3726, allocations: 263.8 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002194/0.3728, allocations: 66.53 kB / 1.287 GB, free: 8.012 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.3729, allocations: 24.92 kB / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.508e-05/0.3729, allocations: 0 / 1.287 GB, free: 7.984 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.315e-05/0.373, allocations: 38.55 kB / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.373, allocations: 0 / 1.287 GB, free: 7.938 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.000435/0.3734, allocations: 113.5 kB / 1.287 GB, free: 7.82 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.198e-05/0.3734, allocations: 51.41 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001109/0.3736, allocations: 105.8 kB / 1.287 GB, free: 7.645 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.968e-05/0.3736, allocations: 29.7 kB / 1.287 GB, free: 7.609 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.749e-05/0.3736, allocations: 92.08 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.119e-05/0.3737, allocations: 11.84 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-05/0.3737, allocations: 21.7 kB / 1.287 GB, free: 7.477 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.3739, allocations: 322.8 kB / 1.287 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000106/0.374, allocations: 23.97 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.14e-05/0.3741, allocations: 19.98 kB / 1.288 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001913/0.3743, allocations: 52.81 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.335e-06/0.3743, allocations: 0 / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002507/0.3745, allocations: 89.58 kB / 1.288 GB, free: 6.961 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 2.366e-05/0.3745, allocations: 10.19 kB / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.3745, allocations: 336 / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.714e-05/0.3746, allocations: 0 / 1.288 GB, free: 6.953 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001307/0.3747, allocations: 11.98 kB / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.043e-06/0.3747, allocations: 0 / 1.288 GB, free: 6.941 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.387e-05/0.3748, allocations: 15.92 kB / 1.288 GB, free: 6.926 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.3748, allocations: 4 kB / 1.288 GB, free: 6.922 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: 2 (reaToInt.y,intLesThr.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.0001062/0.3749, allocations: 113.8 kB / 1.288 GB, free: 6.801 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.222e-05/0.3749, allocations: 7.953 kB / 1.288 GB, free: 6.793 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.532e-05/0.375, allocations: 7.984 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.375, allocations: 0 / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.375, allocations: 0 / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/0.375, allocations: 3.938 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/0.3752, allocations: 136.8 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.3752, allocations: 0 / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000102/0.3753, allocations: 23.86 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.636e-06/0.3753, allocations: 0 / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.3753, allocations: 0 / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.815e-06/0.3753, allocations: 7.984 kB / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3753, allocations: 0 / 1.288 GB, free: 6.57 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003134/0.3756, allocations: 183.4 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.193e-05/0.3756, allocations: 3.953 kB / 1.288 GB, free: 6.371 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.616e-05/0.3756, allocations: 4 kB / 1.288 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.3757, allocations: 7.984 kB / 1.288 GB, free: 6.359 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.179e-05/0.3758, allocations: 15.98 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.347e-06/0.3758, allocations: 7.938 kB / 1.288 GB, free: 6.336 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.099e-05/0.3759, allocations: 87.28 kB / 1.288 GB, free: 6.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3759, allocations: 3.938 kB / 1.288 GB, free: 6.246 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002212/0.3761, allocations: 4 kB / 1.288 GB, free: 6.242 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: 2 (intLesThr.y,reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.0006535/0.3768, allocations: 0.7163 MB / 1.289 GB, free: 5.5 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002583/0.377, allocations: 59.95 kB / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.354e-06/0.377, allocations: 0 / 1.289 GB, free: 5.441 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.000115/0.3771, allocations: 31.91 kB / 1.289 GB, free: 5.41 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003506/0.3775, allocations: 11.94 kB / 1.289 GB, free: 5.398 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001829/0.3793, allocations: 1.317 MB / 1.29 GB, free: 4.004 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.735e-05/0.3794, allocations: 63.34 kB / 1.29 GB, free: 3.922 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.675e-05/0.3794, allocations: 7.984 kB / 1.29 GB, free: 3.914 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.324e-05/0.3795, allocations: 15.77 kB / 1.29 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of SimCode: time 3.8e-07/0.3795, allocations: 0 / 1.29 GB, free: 3.898 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02542/0.4049, allocations: 2.07 MB / 1.292 GB, free: 1.988 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.75, allocations: 10.09 kB / 1.293 GB, free: 1.984 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.490253465017304] Failed to read output from testmodel.py, exit status != 0: 12.491864089039154 11.942119208 11.566753133 Calling exit ...