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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) 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=5000,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=5000,variableFilter="time|les.u1|les.u2|les.y|lesHys.y",fileNamePrefix="Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009273/0.0009275, allocations: 90.52 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.006798/0.006798, allocations: 171.1 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.398/1.398, allocations: 223.2 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.919/2.919, allocations: 437.8 MB / 0.7121 GB, free: 6.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003729/0.0003731, allocations: 8 kB / 0.8728 GB, free: 3.277 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6839/0.6843, allocations: 153.8 MB / 1.023 GB, free: 15.85 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001241/0.6856, allocations: 0.5795 MB / 1.024 GB, free: 15.27 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001353/0.687, allocations: 0.8818 MB / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001423/0.6871, allocations: 0 / 1.024 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.6873, allocations: 11.88 kB / 1.024 GB, free: 14.36 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.862e-05/0.6873, allocations: 15.91 kB / 1.024 GB, free: 14.35 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.6875, allocations: 27.97 kB / 1.025 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001446/0.6877, allocations: 99.7 kB / 1.025 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001636/0.6879, allocations: 51.94 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001244/0.688, allocations: 35.8 kB / 1.025 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.191e-05/0.6881, allocations: 27.84 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.811e-05/0.6881, allocations: 4 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.325e-05/0.6882, allocations: 0 / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.335e-05/0.6882, allocations: 7.938 kB / 1.025 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 6.105e-05/0.6882, allocations: 61.42 kB / 1.025 GB, free: 14.03 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001401/0.6884, allocations: 91.7 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.6884, allocations: 0 / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.275e-06/0.6884, allocations: 0 / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.461e-06/0.6884, allocations: 0 / 1.025 GB, free: 13.94 MB / 0.7794 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.0006645/0.6891, allocations: 413.1 kB / 1.025 GB, free: 13.49 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.719e-05/0.6892, allocations: 12.03 kB / 1.025 GB, free: 13.48 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.278e-05/0.6892, allocations: 8.844 kB / 1.025 GB, free: 13.47 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002295/0.6894, allocations: 204.1 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.347e-05/0.6895, allocations: 4.312 kB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.119e-05/0.6895, allocations: 16.31 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002765/0.6898, allocations: 102.2 kB / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.985e-06/0.6898, allocations: 192 / 1.026 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.347e-05/0.6898, allocations: 3.938 kB / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.6898, allocations: 0 / 1.026 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002685/0.6901, allocations: 87.94 kB / 1.026 GB, free: 13.02 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005665/0.6907, allocations: 348.6 kB / 1.026 GB, free: 12.62 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002694/0.691, allocations: 78.47 kB / 1.026 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001345/0.6911, allocations: 48.92 kB / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.6911, allocations: 0 / 1.026 GB, free: 12.49 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.643e-05/0.6912, allocations: 34.5 kB / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.6912, allocations: 0 / 1.026 GB, free: 12.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004736/0.6916, allocations: 141.5 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.833e-05/0.6917, allocations: 51.41 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001059/0.6918, allocations: 139.5 kB / 1.026 GB, free: 12.09 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.789e-05/0.6918, allocations: 33.7 kB / 1.027 GB, free: 12.05 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.32e-05/0.6919, allocations: 111.9 kB / 1.027 GB, free: 11.94 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.016e-05/0.6919, allocations: 7.906 kB / 1.027 GB, free: 11.93 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.874e-05/0.692, allocations: 13.72 kB / 1.027 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.6921, allocations: 318.8 kB / 1.027 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001266/0.6922, allocations: 39.97 kB / 1.027 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001246/0.6923, allocations: 43.91 kB / 1.027 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002229/0.6926, allocations: 72.81 kB / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.754e-06/0.6926, allocations: 0 / 1.027 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002804/0.6929, allocations: 113.5 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.6929, allocations: 4 kB / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.6929, allocations: 0 / 1.027 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.439e-05/0.6929, allocations: 4 kB / 1.027 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.693, allocations: 11.98 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.207e-05/0.6931, allocations: 3.938 kB / 1.027 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.6932, allocations: 27.97 kB / 1.027 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.121e-05/0.6932, allocations: 4 kB / 1.027 GB, free: 11.27 MB / 0.7794 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.0001324/0.6933, allocations: 121.7 kB / 1.027 GB, free: 11.14 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.752e-05/0.6934, allocations: 7.906 kB / 1.027 GB, free: 11.13 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.893e-05/0.6934, allocations: 8.25 kB / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.368e-06/0.6934, allocations: 0 / 1.027 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.736e-06/0.6935, allocations: 7.875 kB / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.6935, allocations: 0 / 1.027 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000241/0.6937, allocations: 193.6 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.6937, allocations: 4.188 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.322e-05/0.6938, allocations: 12.17 kB / 1.028 GB, free: 10.86 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.6938, allocations: 4 kB / 1.028 GB, free: 10.85 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.919e-06/0.6938, allocations: 7.984 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.065e-06/0.6938, allocations: 3.984 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.564e-06/0.6939, allocations: 3.938 kB / 1.028 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003238/0.6942, allocations: 207.3 kB / 1.028 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.267e-05/0.6942, allocations: 81.02 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.941e-05/0.6943, allocations: 0 / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.6944, allocations: 31.97 kB / 1.028 GB, free: 10.49 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.975e-05/0.6945, allocations: 15.86 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.6945, allocations: 0 / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.089e-05/0.6946, allocations: 104.8 kB / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6946, allocations: 0 / 1.028 GB, free: 10.37 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002268/0.6948, allocations: 8 kB / 1.028 GB, free: 10.36 MB / 0.7794 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.0001657/0.695, allocations: 111.2 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003056/0.6953, allocations: 79.94 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.6953, allocations: 4 kB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.6954, allocations: 43.92 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003111/0.6958, allocations: 11.98 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004258/0.6962, allocations: 213 kB / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002586/0.6965, allocations: 0.6965 MB / 1.029 GB, free: 9.148 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.801e-05/0.6965, allocations: 4 kB / 1.029 GB, free: 9.145 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.948e-05/0.6966, allocations: 15.38 kB / 1.029 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of SimCode: time 6.01e-07/0.6966, allocations: 0 / 1.029 GB, free: 9.129 MB / 0.7794 GB Notification: Performance of Templates: time 0.003329/0.6999, allocations: 0.8653 MB / 1.03 GB, free: 8.277 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches