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.007729/0.007729, allocations: 102.3 kB / 15.73 MB, free: 5.992 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.00165/0.00165, allocations: 193.6 kB / 16.67 MB, free: 5.922 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.472/1.472, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.001246/0.001246, allocations: 67.91 kB / 1.054 GB, free: 8.113 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.014/1.015, allocations: 157.4 MB / 1.207 GB, free: 13.54 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002376/1.017, allocations: 0.8669 MB / 1.208 GB, free: 12.68 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001348/1.019, allocations: 0.8897 MB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001415/1.019, allocations: 3.938 kB / 1.209 GB, free: 11.77 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0001673/1.019, allocations: 15.88 kB / 1.209 GB, free: 11.75 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 7.437e-05/1.019, allocations: 11.88 kB / 1.209 GB, free: 11.74 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002249/1.019, allocations: 35.89 kB / 1.209 GB, free: 11.71 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001705/1.02, allocations: 103.7 kB / 1.209 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001669/1.02, allocations: 51.95 kB / 1.209 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001287/1.02, allocations: 39.86 kB / 1.209 GB, free: 11.52 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 8.581e-05/1.02, allocations: 35.83 kB / 1.209 GB, free: 11.48 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.434e-05/1.02, allocations: 11.94 kB / 1.209 GB, free: 11.47 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 1.683e-05/1.02, allocations: 8 kB / 1.209 GB, free: 11.46 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.658e-05/1.02, allocations: 15.98 kB / 1.209 GB, free: 11.45 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 5.249e-05/1.02, allocations: 39.73 kB / 1.209 GB, free: 11.41 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001558/1.02, allocations: 109.8 kB / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/1.02, allocations: 0 / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.102e-06/1.02, allocations: 0 / 1.21 GB, free: 11.3 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.051e-06/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.00066/1.021, allocations: 411.1 kB / 1.21 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-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.508e-05/1.021, allocations: 42.75 kB / 1.21 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.763e-05/1.021, allocations: 16.75 kB / 1.21 GB, free: 10.77 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002829/1.022, allocations: 212.1 kB / 1.21 GB, free: 10.53 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.654e-06/1.022, allocations: 4.375 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.826e-05/1.022, allocations: 4.375 kB / 1.21 GB, free: 10.52 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002693/1.022, allocations: 90.2 kB / 1.21 GB, free: 10.43 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.889e-06/1.022, allocations: 7.875 kB / 1.21 GB, free: 10.42 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.471e-05/1.022, allocations: 4 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/1.022, allocations: 4 kB / 1.21 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002523/1.022, allocations: 71.94 kB / 1.21 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005818/1.023, allocations: 348.5 kB / 1.211 GB, free: 9.949 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002361/1.023, allocations: 66.55 kB / 1.211 GB, free: 9.875 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001215/1.023, allocations: 36.92 kB / 1.211 GB, free: 9.836 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/1.023, allocations: 3.938 kB / 1.211 GB, free: 9.832 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/1.023, allocations: 30.56 kB / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=4): time 3.186e-06/1.023, allocations: 0 / 1.211 GB, free: 9.793 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4): time 0.0005136/1.024, allocations: 121.5 kB / 1.211 GB, free: 9.668 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.782e-05/1.024, allocations: 51.41 kB / 1.211 GB, free: 9.605 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001155/1.024, allocations: 140 kB / 1.211 GB, free: 9.461 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.6e-05/1.024, allocations: 29.7 kB / 1.211 GB, free: 9.426 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 6.297e-05/1.024, allocations: 107.9 kB / 1.211 GB, free: 9.316 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.778e-05/1.024, allocations: 11.89 kB / 1.211 GB, free: 9.305 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.169e-05/1.024, allocations: 21.72 kB / 1.211 GB, free: 9.277 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.00012/1.024, allocations: 322.8 kB / 1.212 GB, free: 8.953 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001176/1.024, allocations: 23.98 kB / 1.212 GB, free: 8.93 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001123/1.024, allocations: 35.91 kB / 1.212 GB, free: 8.895 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002218/1.025, allocations: 56.8 kB / 1.212 GB, free: 8.836 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/1.025, allocations: 4 kB / 1.212 GB, free: 8.832 MB / 0.9356 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002735/1.025, allocations: 93.56 kB / 1.212 GB, free: 8.734 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/1.025, allocations: 8 kB / 1.212 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/1.025, allocations: 0 / 1.212 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/1.025, allocations: 0 / 1.212 GB, free: 8.727 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/1.025, allocations: 11.98 kB / 1.212 GB, free: 8.715 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.295e-05/1.025, allocations: 7.922 kB / 1.212 GB, free: 8.707 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/1.025, allocations: 15.98 kB / 1.212 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.446e-05/1.025, allocations: 8.125 kB / 1.212 GB, free: 8.684 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.0001307/1.025, allocations: 121.8 kB / 1.212 GB, free: 8.555 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.767e-05/1.025, allocations: 7.906 kB / 1.212 GB, free: 8.547 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.056e-05/1.026, allocations: 16.23 kB / 1.212 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/1.026, allocations: 0 / 1.212 GB, free: 8.523 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.443e-06/1.026, allocations: 3.938 kB / 1.212 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.058e-06/1.026, allocations: 0 / 1.212 GB, free: 8.52 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002186/1.026, allocations: 189.6 kB / 1.212 GB, free: 8.285 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/1.026, allocations: 4 kB / 1.212 GB, free: 8.281 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.994e-05/1.026, allocations: 7.984 kB / 1.212 GB, free: 8.273 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.789e-06/1.026, allocations: 4 kB / 1.212 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/1.026, allocations: 0 / 1.212 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/1.026, allocations: 0 / 1.212 GB, free: 8.27 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/1.026, allocations: 7.875 kB / 1.212 GB, free: 8.262 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003151/1.026, allocations: 195.5 kB / 1.212 GB, free: 8.055 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.678e-05/1.026, allocations: 89 kB / 1.212 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.147e-05/1.026, allocations: 0 / 1.212 GB, free: 7.949 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/1.026, allocations: 19.92 kB / 1.212 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.803e-05/1.026, allocations: 11.92 kB / 1.212 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.457e-06/1.027, allocations: 7.984 kB / 1.212 GB, free: 7.91 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 7.158e-05/1.027, allocations: 100.7 kB / 1.213 GB, free: 7.812 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.6e-07/1.027, allocations: 4 kB / 1.213 GB, free: 7.809 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002276/1.027, allocations: 15.91 kB / 1.213 GB, free: 7.793 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.000651/1.027, allocations: 0.7164 MB / 1.213 GB, free: 7.051 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002902/1.028, allocations: 67.89 kB / 1.213 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/1.028, allocations: 0 / 1.213 GB, free: 6.984 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000123/1.028, allocations: 31.97 kB / 1.213 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002851/1.028, allocations: 19.92 kB / 1.213 GB, free: 6.934 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001802/1.03, allocations: 1.481 MB / 1.215 GB, free: 5.363 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002607/1.03, allocations: 0.6963 MB / 1.216 GB, free: 4.641 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 4.984e-05/1.03, allocations: 8 kB / 1.216 GB, free: 4.633 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.426e-05/1.03, allocations: 27.42 kB / 1.216 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of SimCode: time 2.41e-07/1.03, allocations: 0 / 1.216 GB, free: 4.605 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01845/1.049, allocations: 2.221 MB / 1.218 GB, free: 2.484 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.383/8.432, allocations: 17.47 kB / 1.218 GB, free: 2.469 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