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.002063/0.002063, allocations: 116.1 kB / 17.17 MB, free: 6 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.002554/0.002554, allocations: 209.5 kB / 20.13 MB, free: 3.055 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.594/1.594, allocations: 230.6 MB / 253.5 MB, free: 15.09 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.931/2.931, allocations: 0.49 GB / 0.7923 GB, free: 1.289 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.002027/0.002027, allocations: 63.91 kB / 1.15 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.061/1.063, allocations: 176.1 MB / 1.322 GB, free: 24.76 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001892/1.065, allocations: 0.8347 MB / 1.322 GB, free: 24.21 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0008899/1.066, allocations: 0.9056 MB / 1.323 GB, free: 23.53 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.44e-05/1.066, allocations: 6.469 kB / 1.323 GB, free: 23.53 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001377/1.066, allocations: 15.06 kB / 1.323 GB, free: 23.52 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 3.697e-05/1.066, allocations: 14.56 kB / 1.323 GB, free: 23.5 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001806/1.066, allocations: 32.5 kB / 1.323 GB, free: 23.48 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.995e-05/1.067, allocations: 76.22 kB / 1.323 GB, free: 23.45 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001094/1.067, allocations: 21.08 kB / 1.323 GB, free: 23.43 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001187/1.067, allocations: 36.2 kB / 1.323 GB, free: 23.42 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 7.309e-05/1.067, allocations: 34.3 kB / 1.323 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.653e-05/1.067, allocations: 5.781 kB / 1.323 GB, free: 23.4 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.183e-05/1.067, allocations: 12.36 kB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 1.439e-05/1.067, allocations: 8 kB / 1.323 GB, free: 23.39 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.227e-05/1.067, allocations: 35.58 kB / 1.324 GB, free: 23.36 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001405/1.067, allocations: 88.02 kB / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/1.067, allocations: 0 / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.313e-06/1.067, allocations: 0 / 1.324 GB, free: 23.33 MB / 1.061 GB Notification: Performance of Transformations before backend: time 5.931e-06/1.067, allocations: 0 / 1.324 GB, free: 23.33 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.0004993/1.068, allocations: 392.4 kB / 1.324 GB, free: 22.94 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.647e-05/1.068, allocations: 12.7 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.42e-05/1.068, allocations: 6.719 kB / 1.324 GB, free: 22.93 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.365e-05/1.068, allocations: 34.75 kB / 1.324 GB, free: 22.89 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001473/1.068, allocations: 23.77 kB / 1.324 GB, free: 22.88 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002228/1.068, allocations: 198.3 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.112e-05/1.068, allocations: 384 / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.289e-05/1.068, allocations: 6.375 kB / 1.324 GB, free: 22.67 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001444/1.068, allocations: 70.86 kB / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/1.068, allocations: 0 / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.204e-05/1.068, allocations: 7.281 kB / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/1.068, allocations: 2.969 kB / 1.324 GB, free: 22.61 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000101/1.068, allocations: 27.78 kB / 1.324 GB, free: 22.6 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004288/1.069, allocations: 329.8 kB / 1.325 GB, free: 22.29 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001569/1.069, allocations: 44.92 kB / 1.325 GB, free: 22.26 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.103e-05/1.069, allocations: 20.27 kB / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.376e-05/1.069, allocations: 0 / 1.325 GB, free: 22.25 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.91e-05/1.069, allocations: 33.22 kB / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/1.069, allocations: 0 / 1.325 GB, free: 22.21 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0002596/1.069, allocations: 87.64 kB / 1.325 GB, free: 22.15 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.892e-05/1.069, allocations: 53.88 kB / 1.325 GB, free: 22.09 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.958e-05/1.069, allocations: 134.7 kB / 1.325 GB, free: 21.98 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 1.011e-05/1.069, allocations: 28.55 kB / 1.325 GB, free: 21.95 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/1.069, allocations: 98.25 kB / 1.325 GB, free: 21.85 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 1.565e-05/1.069, allocations: 10.86 kB / 1.325 GB, free: 21.84 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.468e-05/1.07, allocations: 20.02 kB / 1.325 GB, free: 21.82 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 5.793e-05/1.07, allocations: 325 kB / 1.325 GB, free: 21.5 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.076e-05/1.07, allocations: 12.38 kB / 1.325 GB, free: 21.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-05/1.07, allocations: 19.62 kB / 1.326 GB, free: 21.49 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.812e-05/1.07, allocations: 26.36 kB / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/1.07, allocations: 0 / 1.326 GB, free: 21.48 MB / 1.061 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001222/1.07, allocations: 72.84 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.392e-05/1.07, allocations: 5.469 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.07, allocations: 0 / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.43e-05/1.07, allocations: 0 / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.348e-05/1.07, allocations: 6.75 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/1.07, allocations: 3.984 kB / 1.326 GB, free: 21.43 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.503e-05/1.07, allocations: 19.59 kB / 1.326 GB, free: 21.42 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/1.07, allocations: 3.375 kB / 1.326 GB, free: 21.42 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.178e-05/1.07, allocations: 112.5 kB / 1.326 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/1.07, allocations: 9.422 kB / 1.326 GB, free: 21.3 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.585e-05/1.07, allocations: 8.25 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/1.07, allocations: 2.844 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.629e-06/1.07, allocations: 0 / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/1.07, allocations: 3.938 kB / 1.326 GB, free: 21.28 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001395/1.07, allocations: 184.2 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/1.07, allocations: 0 / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.043e-05/1.07, allocations: 9.875 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/1.07, allocations: 3.938 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.814e-06/1.07, allocations: 0 / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.964e-06/1.07, allocations: 2.344 kB / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/1.07, allocations: 0 / 1.326 GB, free: 21.07 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001472/1.071, allocations: 161.5 kB / 1.326 GB, free: 20.92 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 2.508e-05/1.071, allocations: 87.42 kB / 1.326 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.852e-05/1.071, allocations: 0 / 1.326 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001026/1.071, allocations: 12.25 kB / 1.326 GB, free: 20.82 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.277e-05/1.071, allocations: 16.39 kB / 1.326 GB, free: 20.81 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-06/1.071, allocations: 3.938 kB / 1.326 GB, free: 20.8 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.728e-05/1.071, allocations: 111.2 kB / 1.326 GB, free: 20.72 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/1.071, allocations: 0 / 1.326 GB, free: 20.72 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002235/1.071, allocations: 8.406 kB / 1.326 GB, free: 20.72 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.0003434/1.071, allocations: 0.7004 MB / 1.327 GB, free: 20.04 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001507/1.072, allocations: 30.52 kB / 1.327 GB, free: 20.04 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/1.072, allocations: 0 / 1.327 GB, free: 20.04 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 5.483e-05/1.072, allocations: 24.02 kB / 1.327 GB, free: 20.02 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002696/1.072, allocations: 16.45 kB / 1.327 GB, free: 20.02 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00112/1.073, allocations: 1.379 MB / 1.328 GB, free: 18.77 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001137/1.073, allocations: 0.6886 MB / 1.329 GB, free: 18.08 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.595e-05/1.073, allocations: 9.844 kB / 1.329 GB, free: 18.07 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.229e-05/1.073, allocations: 25.2 kB / 1.329 GB, free: 18.05 MB / 1.061 GB Notification: Performance of SimCode: time 5.91e-07/1.073, allocations: 0 / 1.329 GB, free: 18.05 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01829/1.091, allocations: 2.046 MB / 1.331 GB, free: 17.63 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.735/9.827, allocations: 7.453 kB / 1.331 GB, free: 17.62 MB / 1.061 GB " [Timeout remaining time 290] (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: 16.342967525997665] Failed to read output from testmodel.py, exit status != 0: 9.95341917098267 9.967638052 8.89779648 Calling exit ...