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.008501/0.008501, allocations: 97.77 kB / 15.73 MB, free: 5.602 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.001752/0.001752, allocations: 192.4 kB / 16.68 MB, free: 5.523 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.421/1.421, allocations: 222.9 MB / 240.4 MB, free: 14.98 MB / 206.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.51/2.51, allocations: 437 MB / 0.7105 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001227/0.001227, allocations: 64.12 kB / 1.019 GB, free: 9.359 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.015/1.017, allocations: 151.6 MB / 1.167 GB, free: 3.812 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002445/1.019, allocations: 0.8737 MB / 1.168 GB, free: 2.945 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001309/1.02, allocations: 0.8819 MB / 1.168 GB, free: 2.051 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001509/1.021, allocations: 7.938 kB / 1.168 GB, free: 2.043 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001718/1.021, allocations: 15.86 kB / 1.168 GB, free: 2.027 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 5.312e-05/1.021, allocations: 11.88 kB / 1.168 GB, free: 2.016 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/1.021, allocations: 47.88 kB / 1.168 GB, free: 1.969 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001814/1.021, allocations: 99.7 kB / 1.169 GB, free: 1.871 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001828/1.021, allocations: 39.98 kB / 1.169 GB, free: 1.832 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001423/1.022, allocations: 43.83 kB / 1.169 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 9.24e-05/1.022, allocations: 39.84 kB / 1.169 GB, free: 1.75 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 2.872e-05/1.022, allocations: 8 kB / 1.169 GB, free: 1.742 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.97e-05/1.022, allocations: 11.94 kB / 1.169 GB, free: 1.73 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.98e-05/1.022, allocations: 15.92 kB / 1.169 GB, free: 1.715 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 5.38e-05/1.022, allocations: 43.73 kB / 1.169 GB, free: 1.672 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001907/1.022, allocations: 99.16 kB / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/1.022, allocations: 0 / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of FrontEnd: time 2.435e-06/1.022, allocations: 0 / 1.169 GB, free: 1.578 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 8.426e-06/1.022, allocations: 0 / 1.169 GB, free: 1.578 MB / 0.8887 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.0007169/1.023, allocations: 417.9 kB / 1.169 GB, free: 1.121 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 5.017e-05/1.023, allocations: 12.91 kB / 1.169 GB, free: 1.109 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.104e-05/1.023, allocations: 12.89 kB / 1.169 GB, free: 1.098 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003145/1.023, allocations: 210.9 kB / 1.169 GB, free: 0.8555 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.448e-05/1.023, allocations: 4.375 kB / 1.169 GB, free: 0.8516 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.626e-05/1.023, allocations: 4.375 kB / 1.169 GB, free: 0.8477 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002546/1.024, allocations: 91.2 kB / 1.17 GB, free: 0.7539 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/1.024, allocations: 4.125 kB / 1.17 GB, free: 0.75 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.652e-05/1.024, allocations: 7.938 kB / 1.17 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.705e-06/1.024, allocations: 8 kB / 1.17 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002386/1.024, allocations: 63.94 kB / 1.17 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005843/1.024, allocations: 348.6 kB / 1.17 GB, free: 288 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002462/1.025, allocations: 70.53 kB / 1.17 GB, free: 208 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/1.025, allocations: 36.86 kB / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.207e-05/1.025, allocations: 0 / 1.17 GB, free: 168 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.929e-05/1.025, allocations: 34.56 kB / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/1.025, allocations: 0 / 1.17 GB, free: 124 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.000481/1.025, allocations: 125.5 kB / 1.17 GB, free: 15.99 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.456e-05/1.025, allocations: 51.41 kB / 1.17 GB, free: 15.93 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/1.026, allocations: 141.7 kB / 1.17 GB, free: 15.78 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.773e-05/1.026, allocations: 25.7 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.161e-05/1.026, allocations: 100.1 kB / 1.171 GB, free: 15.65 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/1.026, allocations: 15.89 kB / 1.171 GB, free: 15.63 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.875e-05/1.026, allocations: 17.72 kB / 1.171 GB, free: 15.61 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.026, allocations: 318.8 kB / 1.171 GB, free: 15.29 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/1.026, allocations: 35.91 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001208/1.026, allocations: 35.91 kB / 1.171 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002069/1.026, allocations: 56.81 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/1.026, allocations: 4 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002678/1.027, allocations: 97.59 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.616e-05/1.027, allocations: 4 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/1.027, allocations: 0 / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/1.027, allocations: 0 / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001144/1.027, allocations: 11.98 kB / 1.171 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.994e-05/1.027, allocations: 7.875 kB / 1.171 GB, free: 15.03 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001066/1.027, allocations: 23.94 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.367e-06/1.027, allocations: 0 / 1.171 GB, free: 15.01 MB / 0.9044 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.539e-05/1.027, allocations: 118 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.36e-05/1.027, allocations: 8 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/1.027, allocations: 8.25 kB / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.823e-06/1.027, allocations: 0 / 1.171 GB, free: 14.86 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/1.027, allocations: 7.938 kB / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/1.027, allocations: 0 / 1.171 GB, free: 14.85 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002002/1.027, allocations: 201.6 kB / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.774e-06/1.027, allocations: 0 / 1.171 GB, free: 14.6 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.291e-05/1.027, allocations: 11.98 kB / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.397e-06/1.028, allocations: 0 / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.082e-05/1.028, allocations: 0 / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/1.028, allocations: 0 / 1.171 GB, free: 14.59 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/1.028, allocations: 7.875 kB / 1.171 GB, free: 14.58 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003043/1.028, allocations: 199.4 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/1.028, allocations: 77.11 kB / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/1.028, allocations: 0 / 1.172 GB, free: 14.28 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/1.028, allocations: 19.97 kB / 1.172 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.446e-05/1.028, allocations: 15.92 kB / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/1.028, allocations: 0 / 1.172 GB, free: 14.24 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.368e-05/1.028, allocations: 101.8 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.4e-07/1.028, allocations: 4 kB / 1.172 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002293/1.028, allocations: 19.89 kB / 1.172 GB, free: 14.12 MB / 0.9044 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.0001446/1.029, allocations: 99.25 kB / 1.172 GB, free: 14.02 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002859/1.029, allocations: 63.94 kB / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/1.029, allocations: 0 / 1.172 GB, free: 13.95 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001292/1.029, allocations: 47.84 kB / 1.172 GB, free: 13.91 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002822/1.029, allocations: 15.98 kB / 1.172 GB, free: 13.89 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004544/1.03, allocations: 182.9 kB / 1.172 GB, free: 13.69 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000296/1.03, allocations: 0.6924 MB / 1.173 GB, free: 12.97 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 7.087e-05/1.03, allocations: 12.31 kB / 1.173 GB, free: 12.96 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.219e-05/1.03, allocations: 11.44 kB / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of SimCode: time 3.61e-07/1.03, allocations: 0 / 1.173 GB, free: 12.95 MB / 0.9044 GB Notification: Performance of Templates: time 0.004062/1.034, allocations: 1.022 MB / 1.174 GB, free: 11.93 MB / 0.9044 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