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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0008475/0.0008479, allocations: 99.34 kB / 16.02 MB, free: 76 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.001027/0.001027, allocations: 184.3 kB / 16.92 MB, free: 6.895 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.41/1.41, allocations: 223.3 MB / 241 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.701/2.701, allocations: 437.8 MB / 0.7128 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003931/0.0003932, allocations: 12 kB / 0.8735 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6954/0.6958, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001123/0.697, allocations: 0.5795 MB / 1.024 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001229/0.6982, allocations: 0.8819 MB / 1.025 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001123/0.6984, allocations: 4 kB / 1.025 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001327/0.6985, allocations: 7.875 kB / 1.025 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.513e-05/0.6986, allocations: 11.92 kB / 1.025 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001833/0.6988, allocations: 23.98 kB / 1.025 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.000153/0.6989, allocations: 103.7 kB / 1.025 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001551/0.6991, allocations: 47.95 kB / 1.025 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001313/0.6992, allocations: 35.8 kB / 1.025 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 7.815e-05/0.6993, allocations: 27.84 kB / 1.025 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.901e-05/0.6994, allocations: 4 kB / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 1.164e-05/0.6994, allocations: 0 / 1.025 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.559e-05/0.6994, allocations: 15.92 kB / 1.025 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 5.492e-05/0.6995, allocations: 57.44 kB / 1.025 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 9.899e-05/0.6996, allocations: 71.83 kB / 1.026 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.717e-06/0.6996, allocations: 0 / 1.026 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.844e-06/0.6996, allocations: 0 / 1.026 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.6996, allocations: 0 / 1.026 GB, free: 14.04 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.000649/0.7003, allocations: 413.1 kB / 1.026 GB, free: 13.58 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.699e-05/0.7003, allocations: 8.031 kB / 1.026 GB, free: 13.57 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.7004, allocations: 16.81 kB / 1.026 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002325/0.7006, allocations: 200 kB / 1.026 GB, free: 13.32 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.585e-05/0.7006, allocations: 12.38 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.7006, allocations: 4.375 kB / 1.026 GB, free: 13.31 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.7009, allocations: 98.2 kB / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.464e-06/0.7009, allocations: 192 / 1.026 GB, free: 13.21 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.521e-05/0.701, allocations: 7.938 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.442e-06/0.701, allocations: 4 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002753/0.7013, allocations: 79.94 kB / 1.026 GB, free: 13.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005993/0.7019, allocations: 360.6 kB / 1.027 GB, free: 12.71 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002685/0.7022, allocations: 74.55 kB / 1.027 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001528/0.7023, allocations: 44.86 kB / 1.027 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.18e-05/0.7024, allocations: 4 kB / 1.027 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.511e-05/0.7024, allocations: 34.56 kB / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.7024, allocations: 0 / 1.027 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4): time 0.0004987/0.7029, allocations: 145.5 kB / 1.027 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/0.7029, allocations: 51.41 kB / 1.027 GB, free: 12.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.7031, allocations: 134.9 kB / 1.027 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.7031, allocations: 29.7 kB / 1.027 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.354e-05/0.7032, allocations: 111.8 kB / 1.027 GB, free: 12.04 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.7032, allocations: 11.91 kB / 1.027 GB, free: 12.03 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.008e-05/0.7032, allocations: 13.7 kB / 1.027 GB, free: 12.01 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001188/0.7034, allocations: 322.8 kB / 1.028 GB, free: 11.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000144/0.7035, allocations: 43.91 kB / 1.028 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.7036, allocations: 39.97 kB / 1.028 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002378/0.7039, allocations: 68.81 kB / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.7039, allocations: 0 / 1.028 GB, free: 11.53 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003134/0.7042, allocations: 113.5 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.7042, allocations: 8 kB / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.7043, allocations: 0 / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.7043, allocations: 0 / 1.028 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.7044, allocations: 15.98 kB / 1.028 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.356e-06/0.7044, allocations: 7.875 kB / 1.028 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001389/0.7045, allocations: 31.97 kB / 1.028 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.917e-06/0.7046, allocations: 0 / 1.028 GB, free: 11.35 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 9.608e-05/0.7047, allocations: 117.8 kB / 1.028 GB, free: 11.23 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.7047, allocations: 7.906 kB / 1.028 GB, free: 11.22 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.7047, allocations: 8.25 kB / 1.028 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.46e-06/0.7048, allocations: 7.984 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.7048, allocations: 3.938 kB / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.7048, allocations: 0 / 1.028 GB, free: 11.2 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.705, allocations: 185.6 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.116e-06/0.705, allocations: 3.984 kB / 1.028 GB, free: 10.96 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001005/0.7051, allocations: 19.98 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.7051, allocations: 0 / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.855e-06/0.7051, allocations: 0 / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.7051, allocations: 0 / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.7051, allocations: 4.125 kB / 1.028 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003573/0.7055, allocations: 211.5 kB / 1.028 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.193e-05/0.7055, allocations: 81.02 kB / 1.029 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.7056, allocations: 8 kB / 1.029 GB, free: 10.61 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001495/0.7057, allocations: 27.97 kB / 1.029 GB, free: 10.58 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.7058, allocations: 11.92 kB / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.402e-06/0.7058, allocations: 0 / 1.029 GB, free: 10.57 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.286e-05/0.7059, allocations: 106.2 kB / 1.029 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7059, allocations: 0 / 1.029 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002425/0.7061, allocations: 16 kB / 1.029 GB, free: 10.45 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.000138/0.7063, allocations: 107.2 kB / 1.029 GB, free: 10.34 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0003215/0.7066, allocations: 79.88 kB / 1.029 GB, free: 10.26 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.7066, allocations: 4 kB / 1.029 GB, free: 10.25 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001375/0.7068, allocations: 43.91 kB / 1.029 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003226/0.7071, allocations: 11.94 kB / 1.029 GB, free: 10.2 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004555/0.7076, allocations: 246.6 kB / 1.029 GB, free: 9.926 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.7079, allocations: 0.6926 MB / 1.03 GB, free: 9.207 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.458e-05/0.7079, allocations: 11.44 kB / 1.03 GB, free: 9.195 MB / 0.7794 GB Notification: Performance of SimCode: time 3.41e-07/0.7079, allocations: 4 kB / 1.03 GB, free: 9.191 MB / 0.7794 GB Notification: Performance of Templates: time 0.002854/0.7108, allocations: 1.107 MB / 1.031 GB, free: 8.098 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/jenkins1/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