Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.00135/0.00135, 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.00161/0.00161, allocations: 211.3 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 8.039 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.169/3.169, allocations: 0.49 GB / 0.7959 GB, free: 33.42 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_12_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.002029/0.002029, allocations: 61.42 kB / 1.155 GB, free: 25.67 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.361/0.363, allocations: 176.1 MB / 1.327 GB, free: 1.93 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002444/0.3655, allocations: 0.8328 MB / 1.328 GB, free: 1.102 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001442/0.3669, allocations: 0.9172 MB / 1.328 GB, free: 176 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001488/0.367, allocations: 7.938 kB / 1.328 GB, free: 168 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001552/0.3672, allocations: 15.86 kB / 1.328 GB, free: 152 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.94e-05/0.3672, allocations: 15.88 kB / 1.328 GB, free: 136 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002583/0.3675, allocations: 35.83 kB / 1.328 GB, free: 100 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.3677, allocations: 71.78 kB / 1.329 GB, free: 28 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001407/0.3678, allocations: 24.27 kB / 1.329 GB, free: 4 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.368, allocations: 31.86 kB / 1.329 GB, free: 15.97 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 9.57e-05/0.3681, allocations: 35.78 kB / 1.329 GB, free: 15.94 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.3681, allocations: 4 kB / 1.329 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 5.063e-05/0.3681, allocations: 11.98 kB / 1.329 GB, free: 15.92 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.054e-05/0.3682, allocations: 16 kB / 1.329 GB, free: 15.91 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 4.465e-05/0.3682, allocations: 27.8 kB / 1.329 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001922/0.3684, allocations: 87.55 kB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.097e-06/0.3684, allocations: 3.984 kB / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3684, allocations: 0 / 1.329 GB, free: 15.79 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.052e-06/0.3684, allocations: 4 kB / 1.329 GB, free: 15.79 MB / 1.029 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.0006934/0.3691, allocations: 310 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/0.3692, allocations: 12.03 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.835e-05/0.3692, allocations: 4.188 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.3692, allocations: 38.73 kB / 1.329 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001806/0.3694, allocations: 16.89 kB / 1.329 GB, free: 15.37 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003442/0.3697, allocations: 142.3 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.209e-05/0.3698, allocations: 4.375 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.26e-05/0.3698, allocations: 4.375 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.3699, allocations: 73.91 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.337e-06/0.3699, allocations: 0 / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.37, allocations: 4 kB / 1.329 GB, free: 15.12 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.37, allocations: 4 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001131/0.3701, allocations: 27.98 kB / 1.329 GB, free: 15.09 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006119/0.3707, allocations: 291.7 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.3709, allocations: 50.55 kB / 1.33 GB, free: 14.7 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.543e-05/0.3709, allocations: 16.92 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.3709, allocations: 4.078 kB / 1.33 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.857e-05/0.371, allocations: 30.56 kB / 1.33 GB, free: 14.64 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.371, allocations: 3.938 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002835/0.3712, allocations: 77.66 kB / 1.33 GB, free: 14.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.3713, allocations: 55.41 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001257/0.3714, allocations: 135.3 kB / 1.33 GB, free: 14.34 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.077e-05/0.3714, allocations: 29.7 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/0.3715, allocations: 100.1 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.694e-05/0.3715, allocations: 7.953 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.3716, allocations: 17.72 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.3717, allocations: 318.8 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.769e-05/0.3718, allocations: 27.98 kB / 1.331 GB, free: 13.83 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.265e-05/0.3718, allocations: 12 kB / 1.331 GB, free: 13.82 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.644e-05/0.3719, allocations: 37.05 kB / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.3719, allocations: 0 / 1.331 GB, free: 13.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001345/0.372, allocations: 65.62 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.372, allocations: 10.19 kB / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.3721, allocations: 0 / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.161e-05/0.3721, allocations: 0 / 1.331 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.886e-05/0.3721, allocations: 11.98 kB / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.3721, allocations: 0 / 1.331 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.379e-05/0.3722, allocations: 11.92 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.294e-06/0.3722, allocations: 4 kB / 1.331 GB, free: 13.67 MB / 1.029 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 0.0001323/0.3723, allocations: 114.4 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.694e-05/0.3724, allocations: 3.953 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.102e-05/0.3724, allocations: 12.34 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.3724, allocations: 4 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.3724, allocations: 4 kB / 1.331 GB, free: 13.52 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.3724, allocations: 3.938 kB / 1.331 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003098/0.3727, allocations: 160.6 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/0.3727, allocations: 3.984 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.016e-05/0.3728, allocations: 4 kB / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.3728, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.3728, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3728, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.3728, allocations: 0 / 1.331 GB, free: 13.3 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002465/0.373, allocations: 163.4 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.019e-05/0.373, allocations: 11.89 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.031e-05/0.3731, allocations: 4 kB / 1.331 GB, free: 13.11 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.724e-05/0.3732, allocations: 11.98 kB / 1.331 GB, free: 13.1 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.811e-05/0.3732, allocations: 7.969 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.945e-06/0.3732, allocations: 11.88 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.452e-05/0.3733, allocations: 103.2 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.3733, allocations: 4 kB / 1.331 GB, free: 12.98 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002118/0.3735, allocations: 11.94 kB / 1.331 GB, free: 12.96 MB / 1.029 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.000562/0.3741, allocations: 0.689 MB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001677/0.3742, allocations: 35.97 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.3742, allocations: 4 kB / 1.332 GB, free: 12.21 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.837e-05/0.3743, allocations: 23.92 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002597/0.3746, allocations: 8.266 kB / 1.332 GB, free: 12.18 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001447/0.376, allocations: 1.378 MB / 1.333 GB, free: 10.73 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002986/0.3763, allocations: 0.6896 MB / 1.334 GB, free: 10.01 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.85e-05/0.3763, allocations: 11.94 kB / 1.334 GB, free: 10 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.644e-05/0.3764, allocations: 23.42 kB / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.3764, allocations: 0 / 1.334 GB, free: 9.977 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02396/0.4004, allocations: 2.143 MB / 1.336 GB, free: 7.988 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.84, allocations: 4 kB / 1.336 GB, free: 7.984 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 18.65977011900395] Failed to read output from testmodel.py, exit status != 0: 12.001850543019827 12.025645673 11.653853239 Calling exit ...