Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 118.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001537/0.001537, allocations: 193.2 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.472/1.472, allocations: 225.6 MB / 248.5 MB, free: 3.617 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.607/2.607, allocations: 443.5 MB / 0.7293 GB, free: 14.64 MB / 0.5763 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less") translateModel(Buildings.Controls.OBC.CDL.Reals.Validation.Less,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002012/0.002012, allocations: 71.89 kB / 1.057 GB, free: 2.039 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3002/0.3022, allocations: 160.8 MB / 1.214 GB, free: 0.9922 MB / 0.9513 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002137/0.3043, allocations: 0.8578 MB / 1.215 GB, free: 132 kB / 0.9513 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.3054, allocations: 0.9013 MB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.795e-05/0.3055, allocations: 4 kB / 1.216 GB, free: 15.21 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001167/0.3056, allocations: 11.81 kB / 1.216 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.646e-05/0.3057, allocations: 19.86 kB / 1.216 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.3058, allocations: 31.91 kB / 1.216 GB, free: 15.15 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001501/0.306, allocations: 103.7 kB / 1.216 GB, free: 15.05 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001288/0.3061, allocations: 35.97 kB / 1.216 GB, free: 15.01 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001067/0.3062, allocations: 35.8 kB / 1.216 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 7.751e-05/0.3063, allocations: 51.75 kB / 1.216 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.081e-05/0.3063, allocations: 8 kB / 1.216 GB, free: 14.92 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.702e-05/0.3063, allocations: 8 kB / 1.216 GB, free: 14.91 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 3.086e-05/0.3064, allocations: 19.92 kB / 1.216 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.479e-05/0.3064, allocations: 35.81 kB / 1.216 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001526/0.3066, allocations: 107.4 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.3066, allocations: 4 kB / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.513e-06/0.3066, allocations: 0 / 1.216 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.3066, allocations: 0 / 1.216 GB, free: 14.75 MB / 0.9669 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.0006485/0.3072, allocations: 415 kB / 1.217 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.114e-05/0.3073, allocations: 8.031 kB / 1.217 GB, free: 14.28 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.863e-05/0.3073, allocations: 8.891 kB / 1.217 GB, free: 14.27 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002618/0.3076, allocations: 200.2 kB / 1.217 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.372e-05/0.3076, allocations: 8.375 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.3076, allocations: 4.375 kB / 1.217 GB, free: 14.03 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.3078, allocations: 98.14 kB / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.3078, allocations: 192 / 1.217 GB, free: 13.93 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.3079, allocations: 7.938 kB / 1.217 GB, free: 13.92 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/0.3079, allocations: 7.922 kB / 1.217 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000252/0.3081, allocations: 71.94 kB / 1.217 GB, free: 13.84 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005234/0.3086, allocations: 348.6 kB / 1.217 GB, free: 13.45 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002393/0.3089, allocations: 62.55 kB / 1.217 GB, free: 13.38 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001267/0.309, allocations: 32.92 kB / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.831e-05/0.309, allocations: 0 / 1.218 GB, free: 13.34 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.3091, allocations: 38.56 kB / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=4): time 7.51e-07/0.3091, allocations: 0 / 1.218 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of matching and sorting (n=4): time 0.0004585/0.3095, allocations: 121.5 kB / 1.218 GB, free: 13.17 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.81e-05/0.3096, allocations: 55.41 kB / 1.218 GB, free: 13.11 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.3097, allocations: 135.4 kB / 1.218 GB, free: 12.96 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 2.102e-05/0.3097, allocations: 33.7 kB / 1.218 GB, free: 12.93 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.899e-05/0.3098, allocations: 104 kB / 1.218 GB, free: 12.82 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 1.776e-05/0.3098, allocations: 7.953 kB / 1.218 GB, free: 12.81 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.537e-05/0.3098, allocations: 21.7 kB / 1.218 GB, free: 12.79 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.31, allocations: 318.8 kB / 1.218 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001262/0.3101, allocations: 31.97 kB / 1.218 GB, free: 12.43 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001221/0.3102, allocations: 43.97 kB / 1.218 GB, free: 12.39 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002091/0.3104, allocations: 52.81 kB / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.3104, allocations: 0 / 1.218 GB, free: 12.34 MB / 0.9669 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002798/0.3107, allocations: 101.5 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.3107, allocations: 4 kB / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.989e-06/0.3107, allocations: 0 / 1.219 GB, free: 12.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.3107, allocations: 4 kB / 1.219 GB, free: 12.22 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000117/0.3109, allocations: 15.98 kB / 1.219 GB, free: 12.21 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.474e-06/0.3109, allocations: 3.938 kB / 1.219 GB, free: 12.2 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001193/0.311, allocations: 27.86 kB / 1.219 GB, free: 12.18 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.024e-05/0.311, allocations: 0 / 1.219 GB, free: 12.18 MB / 0.9669 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 0.0001114/0.3111, allocations: 113.8 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.114e-05/0.3111, allocations: 4 kB / 1.219 GB, free: 12.05 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.548e-05/0.3112, allocations: 16.23 kB / 1.219 GB, free: 12.03 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.35e-06/0.3112, allocations: 4 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.697e-06/0.3112, allocations: 3.938 kB / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.3112, allocations: 0 / 1.219 GB, free: 12.02 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002501/0.3114, allocations: 193.6 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.3114, allocations: 3.938 kB / 1.219 GB, free: 11.78 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.34e-05/0.3115, allocations: 15.92 kB / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.864e-06/0.3115, allocations: 0 / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.478e-06/0.3115, allocations: 0 / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.694e-06/0.3115, allocations: 192 / 1.219 GB, free: 11.76 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.3115, allocations: 11.94 kB / 1.219 GB, free: 11.75 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003588/0.3119, allocations: 188.2 kB / 1.219 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 5.714e-05/0.312, allocations: 77.11 kB / 1.219 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.312, allocations: 3.984 kB / 1.219 GB, free: 11.45 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001386/0.3121, allocations: 19.98 kB / 1.219 GB, free: 11.43 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.581e-05/0.3122, allocations: 15.92 kB / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.621e-06/0.3122, allocations: 0 / 1.219 GB, free: 11.42 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 8.72e-05/0.3123, allocations: 105.1 kB / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of sort global known variables: time 8e-08/0.3123, allocations: 0 / 1.219 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002305/0.3125, allocations: 15.95 kB / 1.219 GB, free: 11.3 MB / 0.9669 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.0001814/0.3127, allocations: 103.4 kB / 1.219 GB, free: 11.19 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0003187/0.313, allocations: 71.92 kB / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.313, allocations: 0 / 1.22 GB, free: 11.12 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001279/0.3131, allocations: 31.97 kB / 1.22 GB, free: 11.09 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000315/0.3135, allocations: 11.94 kB / 1.22 GB, free: 11.08 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005059/0.314, allocations: 232.3 kB / 1.22 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003665/0.3143, allocations: 0.6945 MB / 1.22 GB, free: 10.1 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.726e-05/0.3144, allocations: 11.44 kB / 1.22 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of SimCode: time 3.01e-07/0.3144, allocations: 0 / 1.22 GB, free: 10.09 MB / 0.9669 GB Notification: Performance of Templates: time 0.002941/0.3173, allocations: 1.125 MB / 1.222 GB, free: 8.969 MB / 0.9669 GB " [Timeout remaining time 300] make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile [Timeout 300] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.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.123755712993443]