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.001896/0.001896, allocations: 97.92 kB / 19.73 MB, free: 2.133 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.002275/0.002275, allocations: 219.8 kB / 23.03 MB, free: 4.945 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.489/1.489, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.281/3.281, allocations: 0.49 GB / 0.7959 GB, free: 35.31 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.002042/0.002042, allocations: 69.08 kB / 1.155 GB, free: 25.41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3417/0.3437, allocations: 176.1 MB / 1.327 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002308/0.3461, allocations: 0.8053 MB / 1.327 GB, free: 0.6367 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001234/0.3473, allocations: 0.9095 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.3474, allocations: 7.938 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001193/0.3475, allocations: 11.86 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 3.934e-05/0.3476, allocations: 7.875 kB / 1.328 GB, free: 15.69 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001954/0.3477, allocations: 31.91 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001219/0.3479, allocations: 71.78 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001072/0.348, allocations: 24.27 kB / 1.328 GB, free: 15.56 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001338/0.3481, allocations: 43.78 kB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.328e-05/0.3482, allocations: 31.84 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.3482, allocations: 8 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.81e-05/0.3482, allocations: 8 kB / 1.329 GB, free: 15.47 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.183e-05/0.3483, allocations: 15.92 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.22e-05/0.3483, allocations: 23.86 kB / 1.329 GB, free: 15.43 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001465/0.3484, allocations: 83.61 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.3484, allocations: 0 / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.253e-06/0.3484, allocations: 3.938 kB / 1.329 GB, free: 15.35 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.538e-06/0.3485, allocations: 0 / 1.329 GB, free: 15.35 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.0005119/0.349, allocations: 311.6 kB / 1.329 GB, free: 15.01 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.349, allocations: 19.95 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.931e-05/0.349, allocations: 4.188 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.272e-05/0.349, allocations: 30.75 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001443/0.3492, allocations: 20.88 kB / 1.329 GB, free: 14.93 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.3494, allocations: 146.3 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.3494, allocations: 4.312 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.3495, allocations: 8.375 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001519/0.3496, allocations: 65.92 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.3496, allocations: 7.984 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.426e-06/0.3496, allocations: 0 / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.3496, allocations: 4 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001035/0.3497, allocations: 31.98 kB / 1.329 GB, free: 14.64 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004731/0.3502, allocations: 287.7 kB / 1.33 GB, free: 14.31 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.3504, allocations: 42.56 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.651e-05/0.3504, allocations: 25 kB / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.146e-05/0.3504, allocations: 0 / 1.33 GB, free: 14.23 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.557e-05/0.3505, allocations: 30.56 kB / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 8.12e-07/0.3505, allocations: 0 / 1.33 GB, free: 14.2 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002505/0.3507, allocations: 77.66 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.3508, allocations: 51.41 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000118/0.3509, allocations: 135.7 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.066e-05/0.3509, allocations: 29.7 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 6.948e-05/0.351, allocations: 100.1 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.443e-05/0.351, allocations: 3.953 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.351, allocations: 25.7 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3512, allocations: 318.8 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.616e-05/0.3512, allocations: 15.98 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.813e-05/0.3513, allocations: 19.98 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.22e-05/0.3513, allocations: 24.84 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3513, allocations: 0 / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000144/0.3515, allocations: 69.58 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.3515, allocations: 4 kB / 1.331 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.699e-06/0.3515, allocations: 7.938 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.24e-05/0.3515, allocations: 0 / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.195e-05/0.3516, allocations: 7.984 kB / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.3516, allocations: 0 / 1.331 GB, free: 13.26 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.195e-05/0.3517, allocations: 15.92 kB / 1.331 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.821e-06/0.3517, allocations: 0 / 1.331 GB, free: 13.25 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 9.12e-05/0.3518, allocations: 114.4 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.103e-05/0.3518, allocations: 7.953 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.075e-05/0.3518, allocations: 16.33 kB / 1.331 GB, free: 13.09 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.3518, allocations: 7.938 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3518, allocations: 0 / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.3518, allocations: 3.938 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.352, allocations: 144.7 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.226e-06/0.352, allocations: 4 kB / 1.331 GB, free: 12.89 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.377e-05/0.3521, allocations: 7.938 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.3521, allocations: 336 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.028e-05/0.3521, allocations: 4 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.3521, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.3521, allocations: 0 / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001923/0.3523, allocations: 167.4 kB / 1.331 GB, free: 12.7 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 2.023e-05/0.3523, allocations: 19.88 kB / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.814e-05/0.3523, allocations: 0 / 1.331 GB, free: 12.68 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.849e-05/0.3524, allocations: 7.984 kB / 1.331 GB, free: 12.67 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/0.3525, allocations: 11.98 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.196e-06/0.3525, allocations: 7.938 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.324e-05/0.3525, allocations: 101.1 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 6e-08/0.3525, allocations: 0 / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002275/0.3528, allocations: 8 kB / 1.331 GB, free: 12.55 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.0004867/0.3533, allocations: 0.6968 MB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001472/0.3534, allocations: 27.98 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/0.3534, allocations: 4 kB / 1.332 GB, free: 11.79 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.78e-05/0.3535, allocations: 19.92 kB / 1.332 GB, free: 11.77 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002579/0.3537, allocations: 11.94 kB / 1.332 GB, free: 11.76 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001515/0.3552, allocations: 1.373 MB / 1.333 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.956e-05/0.3553, allocations: 79.27 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.382e-05/0.3553, allocations: 3.938 kB / 1.333 GB, free: 10.21 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.862e-05/0.3554, allocations: 27.42 kB / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of SimCode: time 2.81e-07/0.3554, allocations: 0 / 1.333 GB, free: 10.18 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02164/0.377, allocations: 2.227 MB / 1.336 GB, free: 8.121 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.5/11.88, allocations: 12.11 kB / 1.336 GB, free: 8.117 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.896926893037744] Failed to read output from testmodel.py, exit status != 0: 12.060097629087977 12.082342502 11.729979559 Calling exit ...