Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.001935/0.001935, allocations: 120 kB / 17.17 MB, free: 5.977 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.0022/0.0022, allocations: 214.3 kB / 20.13 MB, free: 3.035 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.497/1.497, 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 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 2.92/2.92, allocations: 0.49 GB / 0.7923 GB, free: 1.336 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.Less,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Less",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.002138/0.002138, allocations: 71.91 kB / 1.15 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.008/1.01, allocations: 176.1 MB / 1.322 GB, free: 24.78 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002386/1.012, allocations: 0.8628 MB / 1.322 GB, free: 24.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.00129/1.014, allocations: 0.9318 MB / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001048/1.014, allocations: 6.562 kB / 1.323 GB, free: 23.51 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001585/1.014, allocations: 15.81 kB / 1.323 GB, free: 23.49 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 5.318e-05/1.014, allocations: 17.98 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.000246/1.014, allocations: 47.41 kB / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001539/1.014, allocations: 98.56 kB / 1.323 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001629/1.014, allocations: 33.84 kB / 1.324 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001453/1.015, allocations: 50.39 kB / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 6.549e-05/1.015, allocations: 38.52 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/1.015, allocations: 8.719 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.237e-05/1.015, allocations: 15.23 kB / 1.324 GB, free: 23.34 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.592e-05/1.015, allocations: 15.22 kB / 1.324 GB, free: 23.32 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/1.015, allocations: 35.89 kB / 1.324 GB, free: 23.3 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001398/1.015, allocations: 109.7 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/1.015, allocations: 4 kB / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of FrontEnd: time 9.92e-07/1.015, allocations: 0 / 1.324 GB, free: 23.25 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.771e-06/1.015, allocations: 0 / 1.324 GB, free: 23.25 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0007006/1.016, allocations: 421.5 kB / 1.324 GB, free: 22.85 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.535e-05/1.016, allocations: 14.92 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.134e-05/1.016, allocations: 2.781 kB / 1.324 GB, free: 22.84 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.022e-05/1.016, allocations: 41.28 kB / 1.324 GB, free: 22.8 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002011/1.016, allocations: 22.92 kB / 1.324 GB, free: 22.79 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002627/1.016, allocations: 196.7 kB / 1.324 GB, free: 22.58 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.737e-05/1.016, allocations: 7.281 kB / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.021e-05/1.016, allocations: 10.06 kB / 1.324 GB, free: 22.57 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003153/1.017, allocations: 91.64 kB / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/1.017, allocations: 0 / 1.325 GB, free: 22.52 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.744e-05/1.017, allocations: 11.94 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.713e-06/1.017, allocations: 3.031 kB / 1.325 GB, free: 22.51 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003404/1.017, allocations: 68.88 kB / 1.325 GB, free: 22.49 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000569/1.017, allocations: 343.4 kB / 1.325 GB, free: 22.19 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003278/1.018, allocations: 67.97 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001932/1.018, allocations: 33.39 kB / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.538e-05/1.018, allocations: 0 / 1.325 GB, free: 22.14 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/1.018, allocations: 37.69 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 1.543e-06/1.018, allocations: 0 / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0005862/1.019, allocations: 124.2 kB / 1.325 GB, free: 22.04 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.444e-05/1.019, allocations: 55.34 kB / 1.325 GB, free: 21.97 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/1.019, allocations: 132.5 kB / 1.325 GB, free: 21.86 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.635e-05/1.019, allocations: 25.7 kB / 1.325 GB, free: 21.83 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/1.019, allocations: 112.6 kB / 1.326 GB, free: 21.73 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.437e-05/1.019, allocations: 10.14 kB / 1.326 GB, free: 21.72 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.143e-05/1.019, allocations: 20.47 kB / 1.326 GB, free: 21.7 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.64e-05/1.019, allocations: 321.1 kB / 1.326 GB, free: 21.38 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001608/1.019, allocations: 34.64 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/1.019, allocations: 27.05 kB / 1.326 GB, free: 21.37 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003341/1.02, allocations: 68.41 kB / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/1.02, allocations: 0 / 1.326 GB, free: 21.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003966/1.02, allocations: 99.59 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/1.02, allocations: 5.312 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/1.02, allocations: 0 / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.058e-05/1.02, allocations: 2.469 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001461/1.02, allocations: 15.09 kB / 1.326 GB, free: 21.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/1.02, allocations: 4 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001433/1.02, allocations: 19.64 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/1.02, allocations: 2.469 kB / 1.326 GB, free: 21.28 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 (5): * Single equations (assignments): 5 * 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 8.173e-05/1.02, allocations: 116.5 kB / 1.326 GB, free: 21.16 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.64e-05/1.021, allocations: 6.734 kB / 1.326 GB, free: 21.15 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/1.021, allocations: 14.45 kB / 1.326 GB, free: 21.14 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/1.021, allocations: 3.938 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.62e-06/1.021, allocations: 3.031 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/1.021, allocations: 4 kB / 1.326 GB, free: 21.13 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002085/1.021, allocations: 190 kB / 1.326 GB, free: 20.93 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.021, allocations: 3.938 kB / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/1.021, allocations: 9.094 kB / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/1.021, allocations: 2.875 kB / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.202e-05/1.021, allocations: 0 / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/1.021, allocations: 3.938 kB / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.021, allocations: 0 / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004021/1.021, allocations: 192.7 kB / 1.327 GB, free: 20.77 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/1.021, allocations: 87.14 kB / 1.327 GB, free: 20.67 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.858e-05/1.021, allocations: 6.75 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/1.022, allocations: 19.7 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.418e-05/1.022, allocations: 10.17 kB / 1.327 GB, free: 20.66 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.444e-06/1.022, allocations: 6.562 kB / 1.327 GB, free: 20.65 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.873e-05/1.022, allocations: 112.1 kB / 1.327 GB, free: 20.56 MB / 1.061 GB Notification: Performance of sort global known variables: time 7.1e-08/1.022, allocations: 0 / 1.327 GB, free: 20.56 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002501/1.022, allocations: 14.45 kB / 1.327 GB, free: 20.56 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 (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.0004796/1.022, allocations: 0.7195 MB / 1.328 GB, free: 19.89 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0003962/1.023, allocations: 70.09 kB / 1.328 GB, free: 19.87 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.414e-06/1.023, allocations: 0 / 1.328 GB, free: 19.87 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001655/1.023, allocations: 29.25 kB / 1.328 GB, free: 19.87 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004331/1.023, allocations: 26.11 kB / 1.328 GB, free: 19.85 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002051/1.025, allocations: 1.483 MB / 1.329 GB, free: 18.58 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001438/1.026, allocations: 0.6943 MB / 1.33 GB, free: 17.88 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.258e-05/1.026, allocations: 6.484 kB / 1.33 GB, free: 17.88 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.191e-05/1.026, allocations: 26.59 kB / 1.33 GB, free: 17.86 MB / 1.061 GB Notification: Performance of SimCode: time 3e-07/1.026, allocations: 0 / 1.33 GB, free: 17.86 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02267/1.048, allocations: 2.235 MB / 1.332 GB, free: 17.42 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.853/9.902, allocations: 10.27 kB / 1.332 GB, free: 17.41 MB / 1.061 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat --tempDir=temp_Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 16.32905668602325] Failed to read output from testmodel.py, exit status != 0: 10.028327373031061 10.046564162 9.028159254 Calling exit ...