Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.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.001923/0.001923, allocations: 114.5 kB / 17.16 MB, free: 5.895 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.002388/0.002388, allocations: 210.2 kB / 20.13 MB, free: 2.949 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.55/1.55, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.148/3.148, allocations: 0.5003 GB / 0.8026 GB, free: 6.68 MB / 0.6387 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_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.002269/0.002269, allocations: 63.91 kB / 1.165 GB, free: 432 kB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.137/1.139, allocations: 179 MB / 1.34 GB, free: 16.25 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002346/1.141, allocations: 0.8328 MB / 1.341 GB, free: 15.7 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001206/1.143, allocations: 0.9123 MB / 1.342 GB, free: 15.02 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.873e-05/1.143, allocations: 6.781 kB / 1.342 GB, free: 15.01 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001478/1.143, allocations: 9.703 kB / 1.342 GB, free: 15 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.974e-05/1.143, allocations: 15.94 kB / 1.342 GB, free: 14.99 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002237/1.143, allocations: 39.22 kB / 1.342 GB, free: 14.96 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001394/1.143, allocations: 72.27 kB / 1.342 GB, free: 14.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001402/1.143, allocations: 19.47 kB / 1.342 GB, free: 14.92 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/1.143, allocations: 38.06 kB / 1.342 GB, free: 14.9 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.464e-05/1.144, allocations: 32.59 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.374e-05/1.144, allocations: 5.656 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 5.442e-05/1.144, allocations: 12.55 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.925e-05/1.144, allocations: 8.641 kB / 1.342 GB, free: 14.88 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.167e-05/1.144, allocations: 31.31 kB / 1.342 GB, free: 14.85 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001902/1.144, allocations: 89.72 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/1.144, allocations: 5 kB / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.734e-06/1.144, allocations: 0 / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.512e-06/1.144, allocations: 0 / 1.342 GB, free: 14.81 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0006346/1.145, allocations: 393.5 kB / 1.343 GB, free: 14.42 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.347e-05/1.145, allocations: 8.812 kB / 1.343 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.076e-05/1.145, allocations: 2.219 kB / 1.343 GB, free: 14.42 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.228e-05/1.145, allocations: 44.61 kB / 1.343 GB, free: 14.37 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/1.145, allocations: 17.64 kB / 1.343 GB, free: 14.36 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002801/1.145, allocations: 199.2 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.573e-05/1.145, allocations: 6.594 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/1.145, allocations: 3.688 kB / 1.343 GB, free: 14.15 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001691/1.145, allocations: 62.2 kB / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/1.145, allocations: 0 / 1.343 GB, free: 14.11 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.284e-05/1.145, allocations: 5.438 kB / 1.343 GB, free: 14.1 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.013e-06/1.145, allocations: 9.344 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001207/1.145, allocations: 31.56 kB / 1.343 GB, free: 14.09 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004945/1.146, allocations: 312 kB / 1.343 GB, free: 13.79 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001844/1.146, allocations: 56.42 kB / 1.343 GB, free: 13.75 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.372e-05/1.146, allocations: 19.23 kB / 1.343 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 2.087e-05/1.146, allocations: 3.984 kB / 1.343 GB, free: 13.74 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.056e-05/1.146, allocations: 32.42 kB / 1.343 GB, free: 13.7 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/1.146, allocations: 0 / 1.343 GB, free: 13.7 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002687/1.147, allocations: 76.34 kB / 1.343 GB, free: 13.65 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.663e-05/1.147, allocations: 52.2 kB / 1.344 GB, free: 13.59 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001032/1.147, allocations: 145.3 kB / 1.344 GB, free: 13.47 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.158e-05/1.147, allocations: 31.52 kB / 1.344 GB, free: 13.43 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 4.8e-05/1.147, allocations: 98.56 kB / 1.344 GB, free: 13.34 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-05/1.147, allocations: 10.33 kB / 1.344 GB, free: 13.33 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.033e-05/1.147, allocations: 18.77 kB / 1.344 GB, free: 13.31 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 6.749e-05/1.147, allocations: 318.9 kB / 1.344 GB, free: 13 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.264e-05/1.147, allocations: 15.45 kB / 1.344 GB, free: 12.99 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.364e-05/1.147, allocations: 18.59 kB / 1.344 GB, free: 12.98 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.349e-05/1.147, allocations: 30.91 kB / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/1.147, allocations: 0 / 1.344 GB, free: 12.97 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001369/1.147, allocations: 70.06 kB / 1.344 GB, free: 12.92 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/1.147, allocations: 5.5 kB / 1.344 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/1.147, allocations: 4.594 kB / 1.344 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/1.147, allocations: 1.375 kB / 1.344 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.963e-05/1.147, allocations: 4.203 kB / 1.344 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/1.147, allocations: 1.984 kB / 1.344 GB, free: 12.92 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.69e-05/1.147, allocations: 16.95 kB / 1.344 GB, free: 12.91 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/1.147, allocations: 1.375 kB / 1.344 GB, free: 12.91 MB / 1.061 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 (lesHys.lesHys.y,$PRE.lesHys.lesHys.y,les.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 6.57e-05/1.147, allocations: 116.4 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.849e-05/1.147, allocations: 7.453 kB / 1.344 GB, free: 12.79 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.06e-05/1.147, allocations: 12.41 kB / 1.344 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/1.147, allocations: 0 / 1.344 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.147, allocations: 4 kB / 1.344 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/1.147, allocations: 5.828 kB / 1.344 GB, free: 12.77 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/1.148, allocations: 182.4 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/1.148, allocations: 0 / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.949e-05/1.148, allocations: 5.531 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/1.148, allocations: 0.75 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.227e-06/1.148, allocations: 2.078 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/1.148, allocations: 3.938 kB / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/1.148, allocations: 0 / 1.345 GB, free: 12.56 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001541/1.148, allocations: 163.7 kB / 1.345 GB, free: 12.41 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.77e-05/1.148, allocations: 83.12 kB / 1.345 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.066e-05/1.148, allocations: 6.031 kB / 1.345 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001022/1.148, allocations: 9.891 kB / 1.345 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.717e-05/1.148, allocations: 8.547 kB / 1.345 GB, free: 12.31 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.003e-06/1.148, allocations: 8.438 kB / 1.345 GB, free: 12.3 MB / 1.061 GB Notification: Performance of sorting global known variables: time 5.556e-05/1.148, allocations: 103.6 kB / 1.345 GB, free: 12.22 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/1.148, allocations: 1.281 kB / 1.345 GB, free: 12.22 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002199/1.148, allocations: 6.344 kB / 1.345 GB, free: 12.22 MB / 1.061 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 (les.y,lesHys.lesHys.y) * Number of discrete states: 1 (lesHys.lesHys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0003659/1.149, allocations: 0.7032 MB / 1.346 GB, free: 11.54 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001657/1.149, allocations: 32.69 kB / 1.346 GB, free: 11.53 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.503e-06/1.149, allocations: 0 / 1.346 GB, free: 11.53 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.737e-05/1.149, allocations: 25.3 kB / 1.346 GB, free: 11.52 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002766/1.149, allocations: 10.17 kB / 1.346 GB, free: 11.52 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001272/1.15, allocations: 1.38 MB / 1.347 GB, free: 10.27 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001557/1.151, allocations: 0.6888 MB / 1.348 GB, free: 9.574 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.13e-05/1.151, allocations: 9.266 kB / 1.348 GB, free: 9.57 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.019e-05/1.151, allocations: 30.12 kB / 1.348 GB, free: 9.547 MB / 1.061 GB Notification: Performance of SimCode: time 3.1e-07/1.151, allocations: 0 / 1.348 GB, free: 9.547 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01967/1.17, allocations: 2.042 MB / 1.35 GB, free: 9.133 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.484/9.654, allocations: 20.09 kB / 1.35 GB, free: 9.117 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 840.0] [Calling os._exit(0), Time elapsed: 16.49516513798153] Failed to read output from testmodel.py, exit status != 0: 9.784445219032932 9.807323918 8.659018873 Calling exit ...