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.001596/0.001596, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001735/0.001735, allocations: 224.4 kB / 23 MB, free: 4.914 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.444/1.444, allocations: 230.6 MB / 256.8 MB, free: 7.816 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.246/3.246, allocations: 0.4892 GB / 0.7951 GB, free: 35.51 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: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u|les.t|les.y|lesHys.y",fileNamePrefix="Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold") [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.89 kB / 1.154 GB, free: 25.46 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3004/0.3025, allocations: 176.1 MB / 1.326 GB, free: 1.828 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002077/0.3045, allocations: 0.7932 MB / 1.327 GB, free: 1.039 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.3057, allocations: 0.9171 MB / 1.328 GB, free: 112 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.551e-05/0.3058, allocations: 4 kB / 1.328 GB, free: 108 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.3059, allocations: 15.81 kB / 1.328 GB, free: 92 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.778e-05/0.3059, allocations: 11.86 kB / 1.328 GB, free: 80 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000193/0.3061, allocations: 23.98 kB / 1.328 GB, free: 56 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001465/0.3063, allocations: 79.7 kB / 1.328 GB, free: 15.98 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001023/0.3064, allocations: 23.97 kB / 1.328 GB, free: 15.95 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001255/0.3065, allocations: 27.92 kB / 1.328 GB, free: 15.93 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 7.245e-05/0.3066, allocations: 27.86 kB / 1.328 GB, free: 15.9 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.3066, allocations: 8 kB / 1.328 GB, free: 15.89 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.586e-05/0.3067, allocations: 12 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.233e-05/0.3067, allocations: 23.84 kB / 1.328 GB, free: 15.86 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.29e-05/0.3067, allocations: 19.88 kB / 1.328 GB, free: 15.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001608/0.3069, allocations: 87.55 kB / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.3069, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.383e-06/0.3069, allocations: 0 / 1.328 GB, free: 15.75 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.3069, allocations: 0 / 1.328 GB, free: 15.75 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.000599/0.3075, allocations: 314 kB / 1.329 GB, free: 15.41 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.3075, allocations: 8.031 kB / 1.329 GB, free: 15.4 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001557/0.3077, allocations: 28.83 kB / 1.329 GB, free: 15.38 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002375/0.3079, allocations: 134.4 kB / 1.329 GB, free: 15.22 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.3079, allocations: 4.375 kB / 1.329 GB, free: 15.21 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.409e-05/0.3079, allocations: 12.3 kB / 1.329 GB, free: 15.2 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.3081, allocations: 58.23 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3081, allocations: 192 / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.3081, allocations: 7.938 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.3081, allocations: 4 kB / 1.329 GB, free: 15.13 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001057/0.3082, allocations: 31.98 kB / 1.329 GB, free: 15.1 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004519/0.3087, allocations: 260.3 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001592/0.3088, allocations: 50.61 kB / 1.329 GB, free: 14.75 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.325e-05/0.3089, allocations: 20.97 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.3089, allocations: 4 kB / 1.329 GB, free: 14.73 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.3089, allocations: 30.56 kB / 1.329 GB, free: 14.69 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.102e-06/0.3089, allocations: 4 kB / 1.329 GB, free: 14.68 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0002472/0.3092, allocations: 69.62 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.287e-05/0.3092, allocations: 59.28 kB / 1.329 GB, free: 14.54 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001237/0.3094, allocations: 139.8 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.201e-05/0.3094, allocations: 29.7 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.362e-05/0.3095, allocations: 100.1 kB / 1.33 GB, free: 14.26 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.705e-05/0.3095, allocations: 7.953 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.98e-05/0.3095, allocations: 21.7 kB / 1.33 GB, free: 14.22 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001506/0.3097, allocations: 314.8 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.78e-05/0.3097, allocations: 23.92 kB / 1.33 GB, free: 13.88 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.139e-05/0.3098, allocations: 16 kB / 1.33 GB, free: 13.87 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.281e-05/0.3099, allocations: 32.83 kB / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.3099, allocations: 0 / 1.33 GB, free: 13.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001351/0.31, allocations: 61.64 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.31, allocations: 8 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.31, allocations: 0 / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.348e-05/0.31, allocations: 0 / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.331e-05/0.3101, allocations: 7.984 kB / 1.33 GB, free: 13.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.983e-06/0.3101, allocations: 7.938 kB / 1.33 GB, free: 13.74 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.174e-05/0.3102, allocations: 11.98 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.3102, allocations: 0 / 1.33 GB, free: 13.73 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.000101/0.3103, allocations: 121.8 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.823e-05/0.3103, allocations: 7.953 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.343e-05/0.3103, allocations: 8.344 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.3103, allocations: 0 / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.051e-06/0.3103, allocations: 3.984 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.015e-06/0.3103, allocations: 4.328 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001446/0.3105, allocations: 121.2 kB / 1.33 GB, free: 13.42 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.3105, allocations: 4 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.736e-05/0.3105, allocations: 3.984 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.3105, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/0.3105, allocations: 4 kB / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.3105, allocations: 0 / 1.33 GB, free: 13.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.997e-06/0.3105, allocations: 3.984 kB / 1.33 GB, free: 13.4 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.3107, allocations: 167.4 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.638e-05/0.3107, allocations: 11.89 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.695e-05/0.3108, allocations: 0 / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.989e-05/0.3109, allocations: 15.98 kB / 1.331 GB, free: 13.2 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.352e-05/0.3109, allocations: 7.922 kB / 1.331 GB, free: 13.19 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.12e-05/0.3109, allocations: 11.98 kB / 1.331 GB, free: 13.18 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.451e-05/0.311, allocations: 96.98 kB / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.311, allocations: 0 / 1.331 GB, free: 13.08 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000226/0.3112, allocations: 12 kB / 1.331 GB, free: 13.07 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.0001192/0.3113, allocations: 103.2 kB / 1.331 GB, free: 12.96 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001535/0.3115, allocations: 39.91 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.402e-06/0.3115, allocations: 4 kB / 1.331 GB, free: 12.92 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 5.414e-05/0.3115, allocations: 15.94 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002422/0.3118, allocations: 21.23 kB / 1.331 GB, free: 12.88 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/0.3122, allocations: 192.4 kB / 1.331 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.934e-05/0.3122, allocations: 71.33 kB / 1.331 GB, free: 12.57 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.558e-05/0.3123, allocations: 11.44 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.3123, allocations: 4 kB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of Templates: time 0.002547/0.3148, allocations: 0.9991 MB / 1.332 GB, free: 11.56 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.923815936781466]