Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001297/0.001297, allocations: 114.4 kB / 16.37 MB, free: 6.016 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.001379/0.00138, allocations: 194.9 kB / 17.3 MB, free: 5.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.35/1.35, allocations: 222.9 MB / 241 MB, free: 15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.499/2.499, allocations: 442.6 MB / 0.7165 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001491, allocations: 66.12 kB / 0.8774 GB, free: 10.95 MB / 0.6544 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2897, allocations: 153 MB / 1.027 GB, free: 2.023 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001922/0.2917, allocations: 0.8761 MB / 1.028 GB, free: 1.152 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.0008763/0.2926, allocations: 0.8858 MB / 1.028 GB, free: 260 kB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.677e-05/0.2926, allocations: 4 kB / 1.028 GB, free: 256 kB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.2928, allocations: 15.8 kB / 1.028 GB, free: 240 kB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 3.494e-05/0.2928, allocations: 11.88 kB / 1.029 GB, free: 228 kB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001538/0.293, allocations: 35.89 kB / 1.029 GB, free: 192 kB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001193/0.2931, allocations: 103.7 kB / 1.029 GB, free: 88 kB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000132/0.2932, allocations: 47.97 kB / 1.029 GB, free: 40 kB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 9.884e-05/0.2933, allocations: 39.84 kB / 1.029 GB, free: 0 / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 7.33e-05/0.2934, allocations: 51.81 kB / 1.029 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.285e-05/0.2935, allocations: 8 kB / 1.029 GB, free: 15.94 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.467e-05/0.2935, allocations: 8 kB / 1.029 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.2935, allocations: 15.92 kB / 1.029 GB, free: 15.91 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.142e-05/0.2936, allocations: 35.8 kB / 1.029 GB, free: 15.88 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001236/0.2937, allocations: 103.6 kB / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.2937, allocations: 0 / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2937, allocations: 0 / 1.029 GB, free: 15.78 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.2937, allocations: 0 / 1.029 GB, free: 15.78 MB / 0.8106 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.0005488/0.2943, allocations: 411.1 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.086e-05/0.2943, allocations: 8.031 kB / 1.029 GB, free: 15.32 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.429e-05/0.2943, allocations: 12.83 kB / 1.029 GB, free: 15.3 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.2946, allocations: 204.1 kB / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.147e-06/0.2946, allocations: 384 / 1.03 GB, free: 15.07 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.944e-05/0.2946, allocations: 8.375 kB / 1.03 GB, free: 15.06 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002307/0.2948, allocations: 102.1 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.216e-06/0.2949, allocations: 192 / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.345e-05/0.2949, allocations: 3.938 kB / 1.03 GB, free: 14.95 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.561e-06/0.2949, allocations: 7.875 kB / 1.03 GB, free: 14.94 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002223/0.2951, allocations: 71.94 kB / 1.03 GB, free: 14.87 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000464/0.2956, allocations: 360.5 kB / 1.03 GB, free: 14.47 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002168/0.2958, allocations: 62.53 kB / 1.03 GB, free: 14.4 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001052/0.2959, allocations: 36.92 kB / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.863e-05/0.296, allocations: 0 / 1.03 GB, free: 14.36 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.138e-05/0.296, allocations: 34.56 kB / 1.03 GB, free: 14.32 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.296, allocations: 4 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004165/0.2964, allocations: 125.5 kB / 1.03 GB, free: 14.19 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.848e-05/0.2964, allocations: 51.41 kB / 1.03 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.244e-05/0.2965, allocations: 133.8 kB / 1.03 GB, free: 13.98 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.2966, allocations: 33.7 kB / 1.031 GB, free: 13.95 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.39e-05/0.2966, allocations: 103.9 kB / 1.031 GB, free: 13.84 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.2967, allocations: 11.84 kB / 1.031 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.741e-05/0.2967, allocations: 17.72 kB / 1.031 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.914e-05/0.2968, allocations: 318.8 kB / 1.031 GB, free: 13.48 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001101/0.2969, allocations: 31.97 kB / 1.031 GB, free: 13.45 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.498e-05/0.297, allocations: 27.97 kB / 1.031 GB, free: 13.43 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000177/0.2972, allocations: 64.75 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2972, allocations: 0 / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000252/0.2975, allocations: 93.55 kB / 1.031 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.706e-05/0.2975, allocations: 10.19 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.2975, allocations: 0 / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.22e-05/0.2975, allocations: 4 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001005/0.2976, allocations: 11.98 kB / 1.031 GB, free: 13.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.2976, allocations: 3.938 kB / 1.031 GB, free: 13.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.885e-05/0.2977, allocations: 15.98 kB / 1.031 GB, free: 13.22 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.2978, allocations: 4 kB / 1.031 GB, free: 13.21 MB / 0.8106 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.183e-05/0.2978, allocations: 121.8 kB / 1.031 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.099e-05/0.2979, allocations: 7.906 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.919e-05/0.2979, allocations: 16.19 kB / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.2979, allocations: 0 / 1.031 GB, free: 13.06 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.2979, allocations: 3.938 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.2979, allocations: 4 kB / 1.031 GB, free: 13.05 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.2981, allocations: 185.6 kB / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.2981, allocations: 192 / 1.032 GB, free: 12.82 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.069e-05/0.2982, allocations: 23.92 kB / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2982, allocations: 0 / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.416e-06/0.2982, allocations: 0 / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2982, allocations: 0 / 1.032 GB, free: 12.8 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.204e-06/0.2982, allocations: 7.938 kB / 1.032 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.2985, allocations: 187.4 kB / 1.032 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.725e-05/0.2986, allocations: 88.95 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.001e-05/0.2986, allocations: 0 / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001256/0.2987, allocations: 15.98 kB / 1.032 GB, free: 12.47 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.955e-05/0.2988, allocations: 23.91 kB / 1.032 GB, free: 12.45 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.56e-06/0.2988, allocations: 3.938 kB / 1.032 GB, free: 12.44 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.202e-05/0.2989, allocations: 95.27 kB / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2989, allocations: 0 / 1.032 GB, free: 12.35 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002288/0.2991, allocations: 19.94 kB / 1.032 GB, free: 12.33 MB / 0.8106 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.0001321/0.2992, allocations: 103.2 kB / 1.032 GB, free: 12.21 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002545/0.2995, allocations: 67.94 kB / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.2995, allocations: 0 / 1.032 GB, free: 12.15 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001131/0.2996, allocations: 39.91 kB / 1.032 GB, free: 12.11 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002578/0.2999, allocations: 9.359 kB / 1.032 GB, free: 12.1 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.3003, allocations: 183 kB / 1.032 GB, free: 11.89 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.3005, allocations: 0.6963 MB / 1.033 GB, free: 11.17 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 4.115e-05/0.3006, allocations: 7.984 kB / 1.033 GB, free: 11.16 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.3006, allocations: 15.44 kB / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.3006, allocations: 0 / 1.033 GB, free: 11.15 MB / 0.8106 GB Notification: Performance of Templates: time 0.003149/0.3038, allocations: 1.015 MB / 1.034 GB, free: 10.14 MB / 0.8106 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches