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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001639/0.001639, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001937/0.001937, allocations: 191.4 kB / 16.14 MB, free: 6.711 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.547/1.547, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.126/3.126, allocations: 472.6 MB / 0.7447 GB, free: 4.969 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.001361, allocations: 75.5 kB / 0.9114 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4062/0.4076, allocations: 159.9 MB / 1.068 GB, free: 10.88 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002494/0.4102, allocations: 0.9228 MB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001244/0.4114, allocations: 0.8818 MB / 1.069 GB, free: 9.059 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001318/0.4116, allocations: 4 kB / 1.069 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0001489/0.4118, allocations: 11.92 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.093e-05/0.4118, allocations: 11.88 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.000202/0.4121, allocations: 35.95 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001484/0.4122, allocations: 95.7 kB / 1.069 GB, free: 8.902 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001663/0.4124, allocations: 47.97 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001417/0.4125, allocations: 31.86 kB / 1.07 GB, free: 8.824 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001005/0.4126, allocations: 51.69 kB / 1.07 GB, free: 8.773 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.242e-05/0.4127, allocations: 4 kB / 1.07 GB, free: 8.77 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.74e-05/0.4127, allocations: 8 kB / 1.07 GB, free: 8.762 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.677e-05/0.4127, allocations: 7.938 kB / 1.07 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.494e-05/0.4128, allocations: 31.8 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001415/0.4129, allocations: 95.64 kB / 1.07 GB, free: 8.629 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.4129, allocations: 3.984 kB / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of FrontEnd: time 9.32e-07/0.4129, allocations: 0 / 1.07 GB, free: 8.625 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.413, allocations: 0 / 1.07 GB, free: 8.625 MB / 0.8262 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.0007291/0.4137, allocations: 411.4 kB / 1.07 GB, free: 8.172 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.323e-05/0.4137, allocations: 12.03 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.038e-05/0.4138, allocations: 8.844 kB / 1.07 GB, free: 8.152 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002518/0.4141, allocations: 204.1 kB / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.626e-06/0.4141, allocations: 384 / 1.07 GB, free: 7.914 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.433e-05/0.4141, allocations: 8.375 kB / 1.07 GB, free: 7.906 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002694/0.4144, allocations: 98.14 kB / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4144, allocations: 192 / 1.07 GB, free: 7.805 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.528e-05/0.4144, allocations: 3.938 kB / 1.07 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.4144, allocations: 4 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002433/0.4147, allocations: 63.94 kB / 1.071 GB, free: 7.734 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006465/0.4153, allocations: 356.5 kB / 1.071 GB, free: 7.336 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002406/0.4156, allocations: 62.53 kB / 1.071 GB, free: 7.266 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001204/0.4157, allocations: 44.92 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/0.4158, allocations: 7.938 kB / 1.071 GB, free: 7.211 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.4158, allocations: 34.5 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=4): time 1.032e-06/0.4158, allocations: 0 / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4): time 0.0004622/0.4163, allocations: 117.5 kB / 1.071 GB, free: 7.047 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.4163, allocations: 59.41 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.4164, allocations: 139.4 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.848e-05/0.4165, allocations: 25.7 kB / 1.071 GB, free: 6.801 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 7.953e-05/0.4166, allocations: 104 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.157e-05/0.4166, allocations: 11.84 kB / 1.071 GB, free: 6.684 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.985e-05/0.4166, allocations: 17.72 kB / 1.071 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.4168, allocations: 318.8 kB / 1.072 GB, free: 6.34 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000123/0.4169, allocations: 35.97 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001102/0.417, allocations: 35.97 kB / 1.072 GB, free: 6.27 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001998/0.4172, allocations: 60.69 kB / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.4173, allocations: 0 / 1.072 GB, free: 6.207 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002712/0.4175, allocations: 97.55 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.4176, allocations: 8 kB / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.4176, allocations: 0 / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.4176, allocations: 0 / 1.072 GB, free: 6.098 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001122/0.4177, allocations: 11.98 kB / 1.072 GB, free: 6.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.308e-06/0.4177, allocations: 3.938 kB / 1.072 GB, free: 6.082 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001037/0.4178, allocations: 15.98 kB / 1.072 GB, free: 6.066 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.069e-05/0.4178, allocations: 3.984 kB / 1.072 GB, free: 6.062 MB / 0.8262 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.000115/0.418, allocations: 125.8 kB / 1.072 GB, free: 5.93 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.339e-05/0.418, allocations: 7.906 kB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.723e-05/0.418, allocations: 8.25 kB / 1.072 GB, free: 5.906 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.898e-06/0.4181, allocations: 4 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.4181, allocations: 3.938 kB / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.4181, allocations: 0 / 1.072 GB, free: 5.898 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002001/0.4183, allocations: 185.6 kB / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.4183, allocations: 0 / 1.072 GB, free: 5.668 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.973e-05/0.4184, allocations: 11.98 kB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.4184, allocations: 0 / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.032e-05/0.4184, allocations: 4 kB / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.854e-06/0.4184, allocations: 192 / 1.072 GB, free: 5.652 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.521e-06/0.4184, allocations: 7.938 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003087/0.4187, allocations: 191.4 kB / 1.073 GB, free: 5.441 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.051e-05/0.4188, allocations: 81.02 kB / 1.073 GB, free: 5.344 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.583e-05/0.4188, allocations: 8 kB / 1.073 GB, free: 5.336 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.419, allocations: 19.97 kB / 1.073 GB, free: 5.316 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.835e-05/0.419, allocations: 15.86 kB / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.522e-06/0.419, allocations: 0 / 1.073 GB, free: 5.301 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 7.664e-05/0.4191, allocations: 104.5 kB / 1.073 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4191, allocations: 4 kB / 1.073 GB, free: 5.195 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002318/0.4194, allocations: 11.94 kB / 1.073 GB, free: 5.184 MB / 0.8262 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.0001858/0.4196, allocations: 111.2 kB / 1.073 GB, free: 5.066 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002798/0.4199, allocations: 59.95 kB / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4199, allocations: 0 / 1.073 GB, free: 5.008 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001227/0.42, allocations: 35.91 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003644/0.4204, allocations: 19.92 kB / 1.073 GB, free: 4.953 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004836/0.4209, allocations: 204.8 kB / 1.073 GB, free: 4.727 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.4212, allocations: 0.7004 MB / 1.074 GB, free: 4 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 5.254e-05/0.4212, allocations: 4.328 kB / 1.074 GB, free: 3.996 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.075e-05/0.4213, allocations: 11.44 kB / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of SimCode: time 3.21e-07/0.4213, allocations: 0 / 1.074 GB, free: 3.984 MB / 0.8262 GB Notification: Performance of Templates: time 0.003451/0.4248, allocations: 0.8489 MB / 1.075 GB, free: 3.148 MB / 0.8262 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 -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/jenkins/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