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.001305/0.001305, 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.001567/0.001567, 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.461/1.461, allocations: 230.6 MB / 256.8 MB, free: 7.984 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.825/2.825, allocations: 476.7 MB / 0.7715 GB, free: 4.293 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.002067/0.002067, allocations: 64.59 kB / 1.118 GB, free: 39.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3802/0.3823, allocations: 170 MB / 1.284 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.LessThreshold): time 0.00215/0.3844, allocations: 0.7056 MB / 1.285 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00116/0.3856, allocations: 0.8705 MB / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.126e-05/0.3856, allocations: 0 / 1.286 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.574e-05/0.3856, allocations: 7.938 kB / 1.286 GB, free: 9.996 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 7.52e-05/0.3857, allocations: 3.938 kB / 1.286 GB, free: 9.992 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001547/0.3859, allocations: 35.89 kB / 1.286 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 9.369e-05/0.386, allocations: 39.92 kB / 1.286 GB, free: 9.918 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.3861, allocations: 11.98 kB / 1.286 GB, free: 9.906 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 7.363e-05/0.3862, allocations: 19.92 kB / 1.286 GB, free: 9.887 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.054e-05/0.3862, allocations: 27.91 kB / 1.286 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.57e-05/0.3863, allocations: 4 kB / 1.286 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.34e-05/0.3863, allocations: 4 kB / 1.286 GB, free: 9.852 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.194e-05/0.3863, allocations: 11.92 kB / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.212e-05/0.3863, allocations: 19.94 kB / 1.286 GB, free: 9.82 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001167/0.3864, allocations: 55.3 kB / 1.286 GB, free: 9.77 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3864, allocations: 4 kB / 1.286 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.362e-06/0.3865, allocations: 3.938 kB / 1.286 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.3865, allocations: 0 / 1.286 GB, free: 9.762 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.0005516/0.387, allocations: 278.2 kB / 1.286 GB, free: 9.461 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.205e-05/0.3871, allocations: 8.031 kB / 1.286 GB, free: 9.453 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.529e-05/0.3871, allocations: 4.188 kB / 1.286 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.261e-05/0.3871, allocations: 42.69 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.092e-05/0.3871, allocations: 0.9375 kB / 1.286 GB, free: 9.398 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001307/0.3873, allocations: 118.4 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.659e-05/0.3873, allocations: 4.375 kB / 1.286 GB, free: 9.254 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.3873, allocations: 7.938 kB / 1.286 GB, free: 9.246 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002038/0.3875, allocations: 65.66 kB / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.174e-06/0.3875, allocations: 0 / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.3875, allocations: 0 / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.3875, allocations: 0 / 1.286 GB, free: 9.176 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002238/0.3878, allocations: 55.89 kB / 1.286 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.3882, allocations: 263.9 kB / 1.287 GB, free: 8.82 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002089/0.3884, allocations: 58.55 kB / 1.287 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001141/0.3886, allocations: 32.91 kB / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.574e-05/0.3886, allocations: 0 / 1.287 GB, free: 8.719 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.269e-05/0.3886, allocations: 38.5 kB / 1.287 GB, free: 8.672 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 9.32e-07/0.3886, allocations: 4 kB / 1.287 GB, free: 8.668 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004288/0.3891, allocations: 101.6 kB / 1.287 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.3891, allocations: 55.41 kB / 1.287 GB, free: 8.496 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001107/0.3892, allocations: 117.8 kB / 1.287 GB, free: 8.371 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.061e-05/0.3892, allocations: 25.7 kB / 1.287 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.046e-05/0.3893, allocations: 80.14 kB / 1.287 GB, free: 8.258 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.948e-05/0.3893, allocations: 19.84 kB / 1.287 GB, free: 8.238 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.891e-05/0.3894, allocations: 17.7 kB / 1.287 GB, free: 8.215 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3895, allocations: 322.7 kB / 1.288 GB, free: 7.891 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001109/0.3897, allocations: 23.97 kB / 1.288 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001022/0.3898, allocations: 31.97 kB / 1.288 GB, free: 7.836 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001969/0.39, allocations: 52.77 kB / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.39, allocations: 0 / 1.288 GB, free: 7.781 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002565/0.3902, allocations: 81.92 kB / 1.288 GB, free: 7.695 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.3902, allocations: 4 kB / 1.288 GB, free: 7.691 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.3902, allocations: 4 kB / 1.288 GB, free: 7.688 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.3902, allocations: 4.031 kB / 1.288 GB, free: 7.684 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.3904, allocations: 15.98 kB / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.372e-06/0.3904, allocations: 0 / 1.288 GB, free: 7.668 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.16e-05/0.3905, allocations: 15.92 kB / 1.288 GB, free: 7.652 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.3905, allocations: 0 / 1.288 GB, free: 7.652 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.0001088/0.3906, allocations: 121.8 kB / 1.288 GB, free: 7.523 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.3906, allocations: 7.891 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/0.3906, allocations: 8 kB / 1.288 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.108e-06/0.3906, allocations: 4 kB / 1.288 GB, free: 7.5 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.3907, allocations: 4 kB / 1.288 GB, free: 7.496 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.3907, allocations: 3.938 kB / 1.288 GB, free: 7.492 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.3908, allocations: 140.7 kB / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.236e-05/0.3909, allocations: 0 / 1.288 GB, free: 7.312 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.662e-05/0.3909, allocations: 11.98 kB / 1.288 GB, free: 7.301 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.168e-06/0.391, allocations: 4 kB / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.015e-05/0.391, allocations: 0 / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.391, allocations: 0 / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.391, allocations: 0 / 1.288 GB, free: 7.297 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003253/0.3913, allocations: 187.4 kB / 1.288 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.159e-05/0.3913, allocations: 4 kB / 1.288 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.736e-05/0.3913, allocations: 4 kB / 1.288 GB, free: 7.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000106/0.3914, allocations: 7.984 kB / 1.288 GB, free: 7.082 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.29e-05/0.3915, allocations: 15.92 kB / 1.288 GB, free: 7.066 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.456e-06/0.3915, allocations: 3.938 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 6.438e-05/0.3916, allocations: 91.27 kB / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.3916, allocations: 0 / 1.288 GB, free: 6.973 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002188/0.3918, allocations: 8 kB / 1.288 GB, free: 6.965 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.000673/0.3925, allocations: 0.7085 MB / 1.289 GB, free: 6.23 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002719/0.3927, allocations: 67.81 kB / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.3927, allocations: 0 / 1.289 GB, free: 6.164 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001188/0.3928, allocations: 31.97 kB / 1.289 GB, free: 6.133 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.3932, allocations: 6.438 kB / 1.289 GB, free: 6.129 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001815/0.395, allocations: 1.321 MB / 1.29 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003304/0.3953, allocations: 0.6807 MB / 1.291 GB, free: 4.023 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.027e-05/0.3954, allocations: 4 kB / 1.291 GB, free: 4.02 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.08e-05/0.3954, allocations: 23.47 kB / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of SimCode: time 7.72e-07/0.3954, allocations: 0 / 1.291 GB, free: 3.996 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02266/0.4181, allocations: 1.997 MB / 1.293 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.15/11.56, allocations: 6.875 kB / 1.293 GB, free: 2.148 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.28609167400282] Failed to read output from testmodel.py, exit status != 0: 12.352909673994873 11.749581503 11.359858618 Calling exit ...