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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005353/0.005353, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.001289/0.001289, allocations: 195.4 kB / 16.67 MB, free: 5.52 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.493/1.493, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.655/2.655, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 68.11 kB / 1.054 GB, free: 8.145 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.012/1.013, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002987/1.016, allocations: 0.8691 MB / 1.208 GB, free: 12.69 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001724/1.018, allocations: 0.8896 MB / 1.209 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001828/1.018, allocations: 4 kB / 1.209 GB, free: 11.78 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001896/1.019, allocations: 19.81 kB / 1.209 GB, free: 11.76 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.483e-05/1.019, allocations: 15.84 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/1.019, allocations: 31.91 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002166/1.019, allocations: 103.8 kB / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002044/1.019, allocations: 51.95 kB / 1.209 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002424/1.02, allocations: 39.8 kB / 1.209 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001055/1.02, allocations: 35.83 kB / 1.209 GB, free: 11.49 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.935e-05/1.02, allocations: 8 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.954e-05/1.02, allocations: 8 kB / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 4.527e-05/1.02, allocations: 31.91 kB / 1.209 GB, free: 11.44 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.133e-05/1.02, allocations: 39.73 kB / 1.209 GB, free: 11.4 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002101/1.02, allocations: 101.8 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/1.02, allocations: 4 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.234e-06/1.02, allocations: 0 / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 1.111e-05/1.02, allocations: 0 / 1.21 GB, free: 11.3 MB / 0.9356 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.0008816/1.021, allocations: 407.1 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.396e-05/1.021, allocations: 8.031 kB / 1.21 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.917e-05/1.021, allocations: 38.75 kB / 1.21 GB, free: 10.8 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.186e-05/1.021, allocations: 20.73 kB / 1.21 GB, free: 10.78 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003757/1.022, allocations: 198.2 kB / 1.21 GB, free: 10.55 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.563e-05/1.022, allocations: 4.375 kB / 1.21 GB, free: 10.54 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.696e-05/1.022, allocations: 12.36 kB / 1.21 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003228/1.022, allocations: 86.14 kB / 1.21 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/1.022, allocations: 3.938 kB / 1.21 GB, free: 10.44 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/1.022, allocations: 8 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.887e-06/1.022, allocations: 4 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003147/1.022, allocations: 67.94 kB / 1.21 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006645/1.023, allocations: 356.5 kB / 1.211 GB, free: 9.961 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002885/1.023, allocations: 66.53 kB / 1.211 GB, free: 9.887 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001538/1.024, allocations: 36.92 kB / 1.211 GB, free: 9.848 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.562e-05/1.024, allocations: 4 kB / 1.211 GB, free: 9.844 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/1.024, allocations: 30.56 kB / 1.211 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 3.476e-06/1.024, allocations: 0 / 1.211 GB, free: 9.805 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0005579/1.024, allocations: 117.5 kB / 1.211 GB, free: 9.684 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.127e-05/1.024, allocations: 55.41 kB / 1.211 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/1.025, allocations: 139.5 kB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/1.025, allocations: 25.7 kB / 1.211 GB, free: 9.441 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001643/1.025, allocations: 111.9 kB / 1.211 GB, free: 9.328 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/1.025, allocations: 15.84 kB / 1.211 GB, free: 9.312 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.411e-05/1.025, allocations: 17.72 kB / 1.211 GB, free: 9.289 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001619/1.025, allocations: 318.8 kB / 1.212 GB, free: 8.969 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001499/1.025, allocations: 31.97 kB / 1.212 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001373/1.025, allocations: 31.97 kB / 1.212 GB, free: 8.906 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000257/1.026, allocations: 60.75 kB / 1.212 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/1.026, allocations: 0 / 1.212 GB, free: 8.844 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003395/1.026, allocations: 105.6 kB / 1.212 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.897e-05/1.026, allocations: 4 kB / 1.212 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/1.026, allocations: 0 / 1.212 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/1.026, allocations: 0 / 1.212 GB, free: 8.73 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/1.026, allocations: 11.98 kB / 1.212 GB, free: 8.719 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.127e-06/1.026, allocations: 7.938 kB / 1.212 GB, free: 8.711 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001243/1.026, allocations: 15.98 kB / 1.212 GB, free: 8.695 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.135e-05/1.026, allocations: 0 / 1.212 GB, free: 8.695 MB / 0.9356 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.0001294/1.026, allocations: 125.8 kB / 1.212 GB, free: 8.562 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.083e-05/1.027, allocations: 11.84 kB / 1.212 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.954e-05/1.027, allocations: 8.25 kB / 1.212 GB, free: 8.535 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/1.027, allocations: 4 kB / 1.212 GB, free: 8.531 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.977e-06/1.027, allocations: 3.938 kB / 1.212 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.958e-06/1.027, allocations: 4 kB / 1.212 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/1.027, allocations: 185.6 kB / 1.212 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/1.027, allocations: 0 / 1.212 GB, free: 8.293 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.571e-05/1.027, allocations: 11.98 kB / 1.212 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/1.027, allocations: 0 / 1.212 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/1.027, allocations: 0 / 1.212 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/1.027, allocations: 0 / 1.212 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/1.027, allocations: 3.938 kB / 1.212 GB, free: 8.277 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003933/1.027, allocations: 195.4 kB / 1.212 GB, free: 8.07 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.529e-05/1.027, allocations: 81.25 kB / 1.212 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.842e-05/1.028, allocations: 8 kB / 1.212 GB, free: 7.965 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001794/1.028, allocations: 15.97 kB / 1.212 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/1.028, allocations: 19.84 kB / 1.212 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.065e-06/1.028, allocations: 0 / 1.212 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001021/1.028, allocations: 103.3 kB / 1.213 GB, free: 7.828 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/1.028, allocations: 4 kB / 1.213 GB, free: 7.824 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003766/1.028, allocations: 11.91 kB / 1.213 GB, free: 7.812 MB / 0.9356 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.0008391/1.029, allocations: 0.7203 MB / 1.213 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0003516/1.03, allocations: 71.88 kB / 1.213 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.03, allocations: 0 / 1.213 GB, free: 6.996 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001515/1.03, allocations: 35.91 kB / 1.213 GB, free: 6.961 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004196/1.03, allocations: 17.69 kB / 1.213 GB, free: 6.945 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00237/1.033, allocations: 1.492 MB / 1.215 GB, free: 5.367 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003069/1.033, allocations: 0.6885 MB / 1.216 GB, free: 4.652 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.862e-05/1.033, allocations: 8 kB / 1.216 GB, free: 4.645 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.984e-05/1.033, allocations: 27.42 kB / 1.216 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of SimCode: time 9.32e-07/1.033, allocations: 0 / 1.216 GB, free: 4.617 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02024/1.053, allocations: 2.184 MB / 1.218 GB, free: 2.527 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.533/8.586, allocations: 17.19 kB / 1.218 GB, free: 2.512 MB / 0.9356 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > 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) "" Variables in the reference:time,les.u1,les.u2,les.y,lesHys.y Variables in the result:les.h,les.pre_y_start,les.u1,les.u2,les.y,lesHys.h,lesHys.pre_y_start,lesHys.u1,lesHys.u2,lesHys.y,ram1.duration,ram1.height,ram1.offset,ram1.startTime,ram1.y,sin.amplitude,sin.freqHz,sin.offset,sin.phase,sin.startTime,sin.y,time