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.001472/0.001472, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002/0.002, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.418/1.418, allocations: 222.9 MB / 240.2 MB, free: 4.398 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.717/2.717, allocations: 437 MB / 0.7103 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00146/0.00146, allocations: 59.91 kB / 0.8692 GB, free: 4.641 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6858/0.6873, allocations: 151.6 MB / 1.017 GB, free: 2.668 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.00238/0.6897, allocations: 0.8668 MB / 1.018 GB, free: 1.801 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001024/0.6907, allocations: 0.8896 MB / 1.019 GB, free: 0.8984 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.63e-05/0.6908, allocations: 7.938 kB / 1.019 GB, free: 0.8906 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 0.0001188/0.691, allocations: 11.88 kB / 1.019 GB, free: 0.8789 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 3.812e-05/0.691, allocations: 11.88 kB / 1.019 GB, free: 0.8672 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001638/0.6912, allocations: 43.88 kB / 1.019 GB, free: 0.8242 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 0.0001346/0.6913, allocations: 103.7 kB / 1.019 GB, free: 0.7227 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00014/0.6915, allocations: 47.97 kB / 1.019 GB, free: 0.6758 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001/0.6916, allocations: 39.84 kB / 1.019 GB, free: 0.6367 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 7.225e-05/0.6917, allocations: 39.83 kB / 1.019 GB, free: 0.5977 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 2.223e-05/0.6917, allocations: 8 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 2.166e-05/0.6917, allocations: 8 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 2.543e-05/0.6917, allocations: 19.86 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 4.523e-05/0.6918, allocations: 43.73 kB / 1.019 GB, free: 0.5195 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001214/0.6919, allocations: 95.7 kB / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.028e-06/0.6919, allocations: 0 / 1.019 GB, free: 436 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.523e-06/0.6919, allocations: 4 kB / 1.019 GB, free: 432 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.692, allocations: 0 / 1.019 GB, free: 432 kB / 0.7637 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.0006346/0.6926, allocations: 413.1 kB / 1.02 GB, free: 15.97 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.751e-05/0.6926, allocations: 8.031 kB / 1.02 GB, free: 15.96 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.036e-05/0.6927, allocations: 8.844 kB / 1.02 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002121/0.6929, allocations: 208.1 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.6929, allocations: 4.375 kB / 1.02 GB, free: 15.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.791e-05/0.6929, allocations: 12.31 kB / 1.02 GB, free: 15.7 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002448/0.6932, allocations: 94.14 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.205e-06/0.6932, allocations: 192 / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.568e-05/0.6932, allocations: 11.94 kB / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.6932, allocations: 0 / 1.02 GB, free: 15.59 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002479/0.6935, allocations: 63.94 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000501/0.694, allocations: 348.6 kB / 1.021 GB, free: 15.13 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.6942, allocations: 70.53 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000121/0.6944, allocations: 36.92 kB / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.748e-05/0.6944, allocations: 0 / 1.021 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.6944, allocations: 30.56 kB / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.113e-06/0.6944, allocations: 0 / 1.021 GB, free: 14.98 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004506/0.6949, allocations: 125.5 kB / 1.021 GB, free: 14.85 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.6949, allocations: 51.41 kB / 1.021 GB, free: 14.79 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001038/0.695, allocations: 135.2 kB / 1.021 GB, free: 14.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.6951, allocations: 29.7 kB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.652e-05/0.6951, allocations: 104 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/0.6951, allocations: 11.81 kB / 1.021 GB, free: 14.49 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.104e-05/0.6952, allocations: 25.64 kB / 1.021 GB, free: 14.46 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001023/0.6953, allocations: 322.8 kB / 1.021 GB, free: 14.14 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.6954, allocations: 27.97 kB / 1.022 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001099/0.6955, allocations: 31.97 kB / 1.022 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002056/0.6958, allocations: 52.81 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6958, allocations: 3.938 kB / 1.022 GB, free: 14.02 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002646/0.696, allocations: 101.5 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.6961, allocations: 5.875 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.408e-06/0.6961, allocations: 4 kB / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.17e-05/0.6961, allocations: 0 / 1.022 GB, free: 13.91 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.6962, allocations: 11.98 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.892e-06/0.6962, allocations: 3.938 kB / 1.022 GB, free: 13.89 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001091/0.6963, allocations: 16.16 kB / 1.022 GB, free: 13.88 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.965e-06/0.6963, allocations: 4 kB / 1.022 GB, free: 13.87 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 8.374e-05/0.6964, allocations: 121.8 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.992e-05/0.6965, allocations: 7.891 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.958e-05/0.6965, allocations: 12.25 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.6965, allocations: 0 / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.32e-06/0.6965, allocations: 8.062 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.571e-06/0.6965, allocations: 3.984 kB / 1.022 GB, free: 13.71 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.6967, allocations: 197.5 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.6967, allocations: 4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.311e-05/0.6968, allocations: 11.98 kB / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.644e-06/0.6968, allocations: 0 / 1.022 GB, free: 13.45 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.6968, allocations: 7.984 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.6968, allocations: 0 / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.244e-06/0.6968, allocations: 3.938 kB / 1.022 GB, free: 13.44 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002936/0.6971, allocations: 187.4 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.955e-05/0.6972, allocations: 81.11 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.117e-05/0.6972, allocations: 4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.6974, allocations: 15.97 kB / 1.022 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.304e-05/0.6974, allocations: 11.92 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.775e-06/0.6974, allocations: 4 kB / 1.022 GB, free: 13.11 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.114e-05/0.6975, allocations: 103.2 kB / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.703e-06/0.6975, allocations: 0 / 1.022 GB, free: 13 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002266/0.6977, allocations: 19.94 kB / 1.023 GB, free: 12.98 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.0001233/0.6979, allocations: 103.2 kB / 1.023 GB, free: 12.87 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002896/0.6982, allocations: 67.94 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.6982, allocations: 0 / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001219/0.6983, allocations: 35.91 kB / 1.023 GB, free: 12.77 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003122/0.6986, allocations: 17.34 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.699, allocations: 187.1 kB / 1.023 GB, free: 12.55 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002446/0.6993, allocations: 0.7002 MB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 4.326e-05/0.6993, allocations: 4 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.762e-05/0.6994, allocations: 11.44 kB / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of SimCode: time 2.71e-07/0.6994, allocations: 0 / 1.024 GB, free: 11.8 MB / 0.7794 GB Notification: Performance of Templates: time 0.003256/0.7026, allocations: 1.019 MB / 1.025 GB, free: 10.8 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