Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.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.001775/0.001775, allocations: 101.3 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.002205/0.002205, allocations: 221.2 kB / 23.03 MB, free: 4.941 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.509/1.509, 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.855 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.LessEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold",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.002063/0.002063, allocations: 64.03 kB / 1.118 GB, free: 8.746 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3843/0.3864, allocations: 169.9 MB / 1.284 GB, free: 3.359 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold): time 0.00226/0.3887, allocations: 0.7057 MB / 1.285 GB, free: 2.652 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001158/0.3898, allocations: 0.8548 MB / 1.286 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.558e-05/0.3899, allocations: 0 / 1.286 GB, free: 1.785 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.903e-05/0.3899, allocations: 3.938 kB / 1.286 GB, free: 1.781 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 8.246e-05/0.39, allocations: 15.92 kB / 1.286 GB, free: 1.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001633/0.3901, allocations: 19.98 kB / 1.286 GB, free: 1.746 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.3903, allocations: 43.91 kB / 1.286 GB, free: 1.703 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001092/0.3904, allocations: 11.98 kB / 1.286 GB, free: 1.691 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.871e-05/0.3904, allocations: 19.92 kB / 1.286 GB, free: 1.672 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.83e-05/0.3905, allocations: 23.92 kB / 1.286 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.047e-05/0.3905, allocations: 4 kB / 1.286 GB, free: 1.645 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.287e-05/0.3905, allocations: 4 kB / 1.286 GB, free: 1.641 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.516e-05/0.3906, allocations: 15.92 kB / 1.286 GB, free: 1.625 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.008e-05/0.3906, allocations: 19.91 kB / 1.286 GB, free: 1.605 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.3907, allocations: 52.03 kB / 1.286 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.3907, allocations: 0 / 1.286 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.493e-06/0.3907, allocations: 0 / 1.286 GB, free: 1.555 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.3907, allocations: 0 / 1.286 GB, free: 1.555 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.0005817/0.3913, allocations: 280.5 kB / 1.286 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.537e-05/0.3914, allocations: 8.031 kB / 1.286 GB, free: 1.246 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.602e-05/0.3914, allocations: 4.188 kB / 1.286 GB, free: 1.242 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.408e-05/0.3914, allocations: 30.75 kB / 1.286 GB, free: 1.203 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.329e-05/0.3914, allocations: 8.891 kB / 1.286 GB, free: 1.195 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001489/0.3916, allocations: 126.4 kB / 1.286 GB, free: 1.047 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.4e-05/0.3916, allocations: 4.375 kB / 1.286 GB, free: 1.043 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.3916, allocations: 7.938 kB / 1.286 GB, free: 1.035 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.3918, allocations: 69.53 kB / 1.286 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.037e-06/0.3918, allocations: 0 / 1.286 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.3919, allocations: 0 / 1.286 GB, free: 0.9609 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3919, allocations: 4 kB / 1.286 GB, free: 0.957 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002148/0.3921, allocations: 47.95 kB / 1.286 GB, free: 0.9102 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004687/0.3925, allocations: 251.9 kB / 1.287 GB, free: 0.6211 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002207/0.3928, allocations: 66.52 kB / 1.287 GB, free: 0.5469 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001093/0.3929, allocations: 24.88 kB / 1.287 GB, free: 0.5195 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.096e-05/0.3929, allocations: 3.938 kB / 1.287 GB, free: 0.5156 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.394e-05/0.3929, allocations: 38.56 kB / 1.287 GB, free: 480 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.122e-06/0.3929, allocations: 0 / 1.287 GB, free: 480 kB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004424/0.3934, allocations: 105.6 kB / 1.287 GB, free: 368 kB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.3934, allocations: 59.39 kB / 1.287 GB, free: 296 kB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001001/0.3935, allocations: 109.8 kB / 1.287 GB, free: 176 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.3935, allocations: 29.7 kB / 1.287 GB, free: 140 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.924e-05/0.3936, allocations: 84.14 kB / 1.287 GB, free: 52 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.449e-05/0.3936, allocations: 11.91 kB / 1.287 GB, free: 40 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.34e-05/0.3937, allocations: 17.7 kB / 1.287 GB, free: 16 kB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001577/0.3938, allocations: 322.8 kB / 1.287 GB, free: 15.69 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001128/0.3939, allocations: 23.97 kB / 1.288 GB, free: 15.67 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.118e-05/0.394, allocations: 19.98 kB / 1.288 GB, free: 15.65 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001912/0.3942, allocations: 52.81 kB / 1.288 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.3942, allocations: 0 / 1.288 GB, free: 15.59 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002521/0.3945, allocations: 85.64 kB / 1.288 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.3945, allocations: 8 kB / 1.288 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.3945, allocations: 0 / 1.288 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.3945, allocations: 336 / 1.288 GB, free: 15.5 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.3946, allocations: 15.92 kB / 1.288 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.3946, allocations: 4.312 kB / 1.288 GB, free: 15.48 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.025e-05/0.3947, allocations: 15.86 kB / 1.288 GB, free: 15.46 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.675e-06/0.3947, allocations: 0 / 1.288 GB, free: 15.46 MB / 0.9981 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,intLesEquThr.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.0001041/0.3948, allocations: 117.8 kB / 1.288 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.344e-05/0.3949, allocations: 7.953 kB / 1.288 GB, free: 15.33 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.906e-05/0.3949, allocations: 11.94 kB / 1.288 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.905e-06/0.3949, allocations: 0 / 1.288 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3949, allocations: 0 / 1.288 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.3949, allocations: 3.938 kB / 1.288 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001886/0.3951, allocations: 152.8 kB / 1.288 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.3951, allocations: 0 / 1.288 GB, free: 15.12 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.295e-05/0.3952, allocations: 11.98 kB / 1.288 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.3952, allocations: 0 / 1.288 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/0.3952, allocations: 0 / 1.288 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.3952, allocations: 0 / 1.288 GB, free: 15.11 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.708e-06/0.3952, allocations: 3.984 kB / 1.288 GB, free: 15.1 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003361/0.3956, allocations: 187.4 kB / 1.288 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.486e-05/0.3956, allocations: 3.953 kB / 1.288 GB, free: 14.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.3956, allocations: 8 kB / 1.288 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001049/0.3957, allocations: 7.984 kB / 1.288 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.585e-05/0.3958, allocations: 7.984 kB / 1.288 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.959e-06/0.3958, allocations: 7.938 kB / 1.288 GB, free: 14.87 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.663e-05/0.3958, allocations: 91.2 kB / 1.288 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of sort global known variables: time 6e-08/0.3958, allocations: 0 / 1.288 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000227/0.3961, allocations: 8 kB / 1.288 GB, free: 14.77 MB / 0.9981 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 (intLesEquThr.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.0006389/0.3967, allocations: 0.7202 MB / 1.289 GB, free: 14.02 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002671/0.397, allocations: 51.94 kB / 1.289 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.397, allocations: 4 kB / 1.289 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001145/0.3971, allocations: 27.97 kB / 1.289 GB, free: 13.94 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003381/0.3974, allocations: 11.94 kB / 1.289 GB, free: 13.93 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001753/0.3992, allocations: 1.327 MB / 1.29 GB, free: 12.53 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.643e-05/0.3992, allocations: 67.28 kB / 1.29 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 4.438e-05/0.3993, allocations: 4 kB / 1.29 GB, free: 12.44 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.721e-05/0.3993, allocations: 23.42 kB / 1.29 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of SimCode: time 3.8e-07/0.3993, allocations: 0 / 1.29 GB, free: 12.42 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02311/0.4224, allocations: 2.062 MB / 1.293 GB, free: 10.51 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.34/11.76, allocations: 6.125 kB / 1.293 GB, free: 10.51 MB / 0.9981 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Integers_Validation_LessEqualThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.LessEqualThreshold.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.54192565602716] Failed to read output from testmodel.py, exit status != 0: 11.944066890981048 11.969408126 11.573906907 Calling exit ...