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.001569/0.00157, allocations: 110.4 kB / 17.08 MB, free: 5.82 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.002227/0.002227, allocations: 191.7 kB / 20.03 MB, free: 2.949 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.506/1.506, allocations: 222.9 MB / 245.7 MB, free: 4.246 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.717/2.717, allocations: 437.1 MB / 0.7177 GB, free: 4.5 MB / 0.5606 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.001922/0.001922, allocations: 71.88 kB / 1.028 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2971/0.2991, allocations: 151.6 MB / 1.176 GB, free: 5.934 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002027/0.3011, allocations: 0.8621 MB / 1.177 GB, free: 5.066 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001117/0.3023, allocations: 0.8857 MB / 1.178 GB, free: 4.168 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.058e-05/0.3024, allocations: 7.938 kB / 1.178 GB, free: 4.16 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0001217/0.3025, allocations: 15.86 kB / 1.178 GB, free: 4.145 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 4.025e-05/0.3025, allocations: 11.86 kB / 1.178 GB, free: 4.133 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001753/0.3027, allocations: 39.89 kB / 1.178 GB, free: 4.094 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001648/0.3029, allocations: 103.7 kB / 1.178 GB, free: 3.992 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001534/0.3031, allocations: 47.97 kB / 1.178 GB, free: 3.945 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001041/0.3032, allocations: 39.84 kB / 1.178 GB, free: 3.906 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 7.451e-05/0.3033, allocations: 35.78 kB / 1.178 GB, free: 3.871 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.656e-05/0.3033, allocations: 8 kB / 1.178 GB, free: 3.863 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.95e-05/0.3033, allocations: 8 kB / 1.178 GB, free: 3.855 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.919e-05/0.3034, allocations: 23.86 kB / 1.178 GB, free: 3.832 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.35e-05/0.3034, allocations: 47.72 kB / 1.178 GB, free: 3.785 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001502/0.3036, allocations: 99.52 kB / 1.178 GB, free: 3.688 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.3036, allocations: 0 / 1.178 GB, free: 3.688 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.733e-06/0.3036, allocations: 4 kB / 1.178 GB, free: 3.684 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3036, allocations: 4 kB / 1.178 GB, free: 3.68 MB / 0.92 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.0006516/0.3043, allocations: 407 kB / 1.178 GB, free: 3.23 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.3043, allocations: 12.03 kB / 1.178 GB, free: 3.219 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.3043, allocations: 12.88 kB / 1.179 GB, free: 3.207 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002547/0.3046, allocations: 204.1 kB / 1.179 GB, free: 2.969 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.263e-05/0.3046, allocations: 8.375 kB / 1.179 GB, free: 2.961 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.3046, allocations: 8.375 kB / 1.179 GB, free: 2.953 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000234/0.3049, allocations: 82.2 kB / 1.179 GB, free: 2.867 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.3049, allocations: 192 / 1.179 GB, free: 2.867 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.3049, allocations: 11.94 kB / 1.179 GB, free: 2.855 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.3049, allocations: 0 / 1.179 GB, free: 2.855 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002536/0.3052, allocations: 75.94 kB / 1.179 GB, free: 2.781 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005367/0.3057, allocations: 348.6 kB / 1.179 GB, free: 2.391 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002445/0.306, allocations: 66.53 kB / 1.179 GB, free: 2.316 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001285/0.3061, allocations: 40.92 kB / 1.179 GB, free: 2.273 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.824e-05/0.3061, allocations: 3.938 kB / 1.179 GB, free: 2.27 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.3062, allocations: 34.56 kB / 1.179 GB, free: 2.227 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.3062, allocations: 0 / 1.179 GB, free: 2.227 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004631/0.3067, allocations: 117.6 kB / 1.179 GB, free: 2.105 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.3067, allocations: 55.41 kB / 1.18 GB, free: 2.039 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.3068, allocations: 139.8 kB / 1.18 GB, free: 1.895 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.3069, allocations: 29.7 kB / 1.18 GB, free: 1.859 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 7.927e-05/0.307, allocations: 108 kB / 1.18 GB, free: 1.75 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.608e-05/0.307, allocations: 3.953 kB / 1.18 GB, free: 1.746 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.241e-05/0.307, allocations: 17.72 kB / 1.18 GB, free: 1.723 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.3072, allocations: 322.8 kB / 1.18 GB, free: 1.398 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001317/0.3073, allocations: 31.97 kB / 1.18 GB, free: 1.367 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001114/0.3074, allocations: 35.91 kB / 1.18 GB, free: 1.332 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002093/0.3076, allocations: 52.81 kB / 1.18 GB, free: 1.277 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.3077, allocations: 0 / 1.18 GB, free: 1.277 MB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002746/0.3079, allocations: 101.6 kB / 1.18 GB, free: 1.172 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.351e-05/0.308, allocations: 7.938 kB / 1.18 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.308, allocations: 0 / 1.18 GB, free: 1.164 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.328e-05/0.308, allocations: 4.188 kB / 1.18 GB, free: 1.16 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.3081, allocations: 15.92 kB / 1.18 GB, free: 1.145 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.359e-05/0.3081, allocations: 3.938 kB / 1.18 GB, free: 1.141 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.3082, allocations: 23.81 kB / 1.18 GB, free: 1.117 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.021e-05/0.3082, allocations: 3.984 kB / 1.18 GB, free: 1.113 MB / 0.92 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 9.603e-05/0.3083, allocations: 125.8 kB / 1.18 GB, free: 0.9805 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.443e-05/0.3084, allocations: 4 kB / 1.181 GB, free: 0.9766 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.106e-05/0.3084, allocations: 12.25 kB / 1.181 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.744e-06/0.3084, allocations: 0 / 1.181 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.3084, allocations: 3.938 kB / 1.181 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.3084, allocations: 0 / 1.181 GB, free: 0.9531 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002073/0.3087, allocations: 189.6 kB / 1.181 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.3087, allocations: 0 / 1.181 GB, free: 0.7188 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.039e-05/0.3087, allocations: 12.17 kB / 1.181 GB, free: 0.707 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.3088, allocations: 4 kB / 1.181 GB, free: 0.7031 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.28e-05/0.3088, allocations: 8 kB / 1.181 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3088, allocations: 0 / 1.181 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.936e-06/0.3088, allocations: 3.938 kB / 1.181 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000315/0.3091, allocations: 191.4 kB / 1.181 GB, free: 500 kB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 5.437e-05/0.3092, allocations: 81.11 kB / 1.181 GB, free: 400 kB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.072e-05/0.3092, allocations: 8 kB / 1.181 GB, free: 392 kB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001327/0.3093, allocations: 15.97 kB / 1.181 GB, free: 376 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.631e-05/0.3094, allocations: 11.92 kB / 1.181 GB, free: 364 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.3094, allocations: 0 / 1.181 GB, free: 364 kB / 0.92 GB Notification: Performance of sorting global known variables: time 6.99e-05/0.3095, allocations: 103.3 kB / 1.181 GB, free: 260 kB / 0.92 GB Notification: Performance of sort global known variables: time 1e-07/0.3095, allocations: 0 / 1.181 GB, free: 260 kB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002234/0.3097, allocations: 11.95 kB / 1.181 GB, free: 248 kB / 0.92 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.0001375/0.3099, allocations: 107.2 kB / 1.181 GB, free: 132 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0002899/0.3102, allocations: 67.94 kB / 1.181 GB, free: 64 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.3102, allocations: 0 / 1.181 GB, free: 64 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0001254/0.3103, allocations: 35.91 kB / 1.181 GB, free: 28 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.3106, allocations: 18.17 kB / 1.181 GB, free: 12 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004232/0.311, allocations: 212.4 kB / 1.182 GB, free: 15.77 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003145/0.3113, allocations: 0.6945 MB / 1.182 GB, free: 15.05 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.296e-05/0.3114, allocations: 19.36 kB / 1.182 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of SimCode: time 2.11e-07/0.3114, allocations: 0 / 1.182 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of Templates: time 0.002725/0.3141, allocations: 1.117 MB / 1.183 GB, free: 13.92 MB / 0.9356 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.406507552950643]