Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001414, allocations: 105.7 kB / 17.54 MB, free: 4.746 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0014/0.0014, allocations: 185.9 kB / 20.71 MB, free: 1.586 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.32/1.32, allocations: 225.6 MB / 249.3 MB, free: 3.176 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.532/2.532, allocations: 476.7 MB / 0.7628 GB, free: 15.12 MB / 0.6075 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 71.88 kB / 1.107 GB, free: 5.094 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8022/0.8039, allocations: 168.7 MB / 1.271 GB, free: 7.68 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001709/0.8057, allocations: 0.8808 MB / 1.272 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.000798/0.8065, allocations: 0.8879 MB / 1.273 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.434e-05/0.8065, allocations: 2.344 kB / 1.273 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001066/0.8066, allocations: 20.09 kB / 1.273 GB, free: 6.453 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 3.596e-05/0.8067, allocations: 18.25 kB / 1.273 GB, free: 6.438 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001697/0.8069, allocations: 38.91 kB / 1.273 GB, free: 6.414 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001288/0.807, allocations: 102.1 kB / 1.273 GB, free: 6.363 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001151/0.8071, allocations: 36.62 kB / 1.273 GB, free: 6.344 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.43e-05/0.8072, allocations: 43.11 kB / 1.273 GB, free: 6.32 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.802e-05/0.8073, allocations: 37.78 kB / 1.273 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.8073, allocations: 8.375 kB / 1.273 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.814e-05/0.8073, allocations: 7.906 kB / 1.273 GB, free: 6.301 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.256e-05/0.8073, allocations: 21.5 kB / 1.273 GB, free: 6.285 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 4.031e-05/0.8074, allocations: 39.56 kB / 1.274 GB, free: 6.258 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.8075, allocations: 103.4 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.8075, allocations: 2.344 kB / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.303e-06/0.8075, allocations: 0 / 1.274 GB, free: 6.215 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.8075, allocations: 0 / 1.274 GB, free: 6.215 MB / 0.9981 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.0004742/0.808, allocations: 411.3 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.232e-05/0.808, allocations: 9.531 kB / 1.274 GB, free: 5.82 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.387e-05/0.808, allocations: 42.45 kB / 1.274 GB, free: 5.773 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.682e-05/0.8081, allocations: 10.69 kB / 1.274 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001583/0.8082, allocations: 211.6 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.628e-06/0.8082, allocations: 2.219 kB / 1.274 GB, free: 5.547 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.651e-05/0.8082, allocations: 17.25 kB / 1.274 GB, free: 5.535 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002111/0.8085, allocations: 96.42 kB / 1.274 GB, free: 5.484 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.235e-06/0.8085, allocations: 4.781 kB / 1.274 GB, free: 5.48 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.778e-06/0.8085, allocations: 4 kB / 1.274 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.143e-06/0.8085, allocations: 1.969 kB / 1.274 GB, free: 5.477 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002289/0.8087, allocations: 68.91 kB / 1.274 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003714/0.8091, allocations: 346.2 kB / 1.275 GB, free: 5.152 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000211/0.8093, allocations: 65.83 kB / 1.275 GB, free: 5.117 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.8094, allocations: 35.17 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.523e-05/0.8094, allocations: 0.8125 kB / 1.275 GB, free: 5.102 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.368e-05/0.8094, allocations: 40.5 kB / 1.275 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.8094, allocations: 0 / 1.275 GB, free: 5.055 MB / 0.9981 GB Notification: Performance of matching and sorting (n=4): time 0.0003915/0.8098, allocations: 119.6 kB / 1.275 GB, free: 5.004 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.583e-05/0.8098, allocations: 52.25 kB / 1.275 GB, free: 4.941 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.219e-05/0.8099, allocations: 138.8 kB / 1.275 GB, free: 4.828 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.117e-06/0.8099, allocations: 26.61 kB / 1.275 GB, free: 4.797 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 3.159e-05/0.81, allocations: 103.6 kB / 1.275 GB, free: 4.699 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 1.495e-05/0.81, allocations: 21.95 kB / 1.275 GB, free: 4.68 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.363e-05/0.81, allocations: 19.77 kB / 1.275 GB, free: 4.66 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 3.45e-05/0.81, allocations: 315.6 kB / 1.276 GB, free: 4.348 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001107/0.8101, allocations: 31.94 kB / 1.276 GB, free: 4.34 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001065/0.8103, allocations: 33.59 kB / 1.276 GB, free: 4.332 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000193/0.8104, allocations: 60.44 kB / 1.276 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.8104, allocations: 1.094 kB / 1.276 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002436/0.8107, allocations: 96.47 kB / 1.276 GB, free: 4.262 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.255e-05/0.8107, allocations: 8.469 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.556e-06/0.8107, allocations: 0.75 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.196e-05/0.8107, allocations: 0.7188 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.97e-05/0.8108, allocations: 11.72 kB / 1.276 GB, free: 4.258 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.8108, allocations: 8.719 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001008/0.8109, allocations: 14.75 kB / 1.276 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.927e-06/0.8109, allocations: 2.688 kB / 1.276 GB, free: 4.25 MB / 0.9981 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 5.279e-05/0.811, allocations: 118.2 kB / 1.276 GB, free: 4.129 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.811, allocations: 7.766 kB / 1.276 GB, free: 4.125 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.581e-05/0.811, allocations: 10.58 kB / 1.276 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.811, allocations: 2.375 kB / 1.276 GB, free: 4.109 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.811, allocations: 11.94 kB / 1.276 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.811, allocations: 0.6562 kB / 1.276 GB, free: 4.098 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001294/0.8112, allocations: 189.5 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.8112, allocations: 0 / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.633e-05/0.8113, allocations: 12.34 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.8113, allocations: 1.625 kB / 1.276 GB, free: 3.895 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.8113, allocations: 3.938 kB / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.8113, allocations: 0 / 1.276 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.8113, allocations: 4.906 kB / 1.276 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002484/0.8115, allocations: 191.4 kB / 1.276 GB, free: 3.738 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.8115, allocations: 83.25 kB / 1.277 GB, free: 3.641 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.8115, allocations: 4.906 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001244/0.8117, allocations: 15.89 kB / 1.277 GB, free: 3.637 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.708e-05/0.8117, allocations: 15.75 kB / 1.277 GB, free: 3.629 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.8117, allocations: 6.641 kB / 1.277 GB, free: 3.625 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 4.16e-05/0.8118, allocations: 107 kB / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7.1e-08/0.8118, allocations: 0 / 1.277 GB, free: 3.539 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002117/0.812, allocations: 14.22 kB / 1.277 GB, free: 3.535 MB / 0.9981 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.0004149/0.8124, allocations: 0.7272 MB / 1.277 GB, free: 2.859 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002536/0.8126, allocations: 63.09 kB / 1.277 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.8126, allocations: 0 / 1.277 GB, free: 2.848 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001156/0.8128, allocations: 34.77 kB / 1.278 GB, free: 2.84 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.813, allocations: 18.59 kB / 1.278 GB, free: 2.828 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001371/0.8144, allocations: 1.487 MB / 1.279 GB, free: 17.54 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002699/0.8147, allocations: 0.6989 MB / 1.28 GB, free: 16.84 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.532e-05/0.8147, allocations: 3.344 kB / 1.28 GB, free: 16.84 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.016e-05/0.8147, allocations: 25.8 kB / 1.28 GB, free: 16.82 MB / 1.014 GB Notification: Performance of SimCode: time 3.81e-07/0.8147, allocations: 0 / 1.28 GB, free: 16.82 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02404/0.8388, allocations: 2.182 MB / 1.282 GB, free: 16.42 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.864/7.703, allocations: 7.812 kB / 1.282 GB, free: 16.41 MB / 1.014 GB " [Timeout remaining time 292] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" 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 [Calling sys.exit(0), Time elapsed: 13.058680168000137]