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) 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.1.0-maint.11.x/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004403/0.004403, allocations: 100.8 kB / 15.73 MB, free: 6.059 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.001187/0.001187, allocations: 192.6 kB / 16.67 MB, free: 5.969 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.296/1.296, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.495/2.495, allocations: 469.8 MB / 0.7425 GB, free: 3.293 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 67.91 kB / 1.065 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6137/0.6155, allocations: 159.1 MB / 1.22 GB, free: 2.016 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001828/0.6173, allocations: 0.8597 MB / 1.221 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001034/0.6184, allocations: 0.8935 MB / 1.222 GB, free: 256 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.387e-05/0.6185, allocations: 7.938 kB / 1.222 GB, free: 248 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.555e-05/0.6186, allocations: 11.88 kB / 1.222 GB, free: 236 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 3.509e-05/0.6186, allocations: 11.86 kB / 1.222 GB, free: 224 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001415/0.6188, allocations: 31.91 kB / 1.222 GB, free: 192 kB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001247/0.6189, allocations: 111.7 kB / 1.222 GB, free: 80 kB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001214/0.619, allocations: 51.95 kB / 1.222 GB, free: 28 kB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.6192, allocations: 31.91 kB / 1.222 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.511e-05/0.6192, allocations: 39.78 kB / 1.222 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.553e-05/0.6193, allocations: 8 kB / 1.222 GB, free: 15.95 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 1.486e-05/0.6193, allocations: 11.94 kB / 1.222 GB, free: 15.94 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.637e-05/0.6193, allocations: 23.91 kB / 1.222 GB, free: 15.91 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.388e-05/0.6194, allocations: 39.75 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.6195, allocations: 99.28 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 2.625e-06/0.6195, allocations: 0 / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6195, allocations: 4 kB / 1.222 GB, free: 15.78 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.6195, allocations: 4 kB / 1.222 GB, free: 15.77 MB / 0.9512 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.0005617/0.6201, allocations: 411 kB / 1.223 GB, free: 15.32 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.049e-05/0.6201, allocations: 8.031 kB / 1.223 GB, free: 15.31 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.314e-05/0.6202, allocations: 34.75 kB / 1.223 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.559e-05/0.6202, allocations: 12.89 kB / 1.223 GB, free: 15.26 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002293/0.6205, allocations: 208.1 kB / 1.223 GB, free: 15.02 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.6205, allocations: 12.38 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.248e-05/0.6205, allocations: 4.375 kB / 1.223 GB, free: 15 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002168/0.6207, allocations: 90.2 kB / 1.223 GB, free: 14.91 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.6207, allocations: 3.938 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.1e-05/0.6207, allocations: 4 kB / 1.223 GB, free: 14.9 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.51e-06/0.6208, allocations: 4 kB / 1.223 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002456/0.621, allocations: 67.94 kB / 1.223 GB, free: 14.83 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004842/0.6215, allocations: 352.6 kB / 1.224 GB, free: 14.43 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002253/0.6217, allocations: 74.41 kB / 1.224 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001161/0.6219, allocations: 32.94 kB / 1.224 GB, free: 14.32 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.6219, allocations: 3.984 kB / 1.224 GB, free: 14.31 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.6219, allocations: 38.56 kB / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.6219, allocations: 0 / 1.224 GB, free: 14.27 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4): time 0.0004163/0.6223, allocations: 105.8 kB / 1.224 GB, free: 14.16 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.759e-05/0.6224, allocations: 63.39 kB / 1.224 GB, free: 14.08 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000104/0.6225, allocations: 139.4 kB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.6225, allocations: 25.7 kB / 1.224 GB, free: 13.91 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.044e-05/0.6226, allocations: 100 kB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.009e-05/0.6226, allocations: 15.94 kB / 1.224 GB, free: 13.79 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.126e-05/0.6227, allocations: 21.66 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.6228, allocations: 314.8 kB / 1.224 GB, free: 13.45 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001212/0.6229, allocations: 39.97 kB / 1.224 GB, free: 13.41 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.623, allocations: 31.98 kB / 1.225 GB, free: 13.38 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001997/0.6232, allocations: 56.8 kB / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.87e-06/0.6233, allocations: 0 / 1.225 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002676/0.6235, allocations: 109.5 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.6235, allocations: 6.656 kB / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.627e-06/0.6236, allocations: 0 / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.568e-06/0.6236, allocations: 0 / 1.225 GB, free: 13.2 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.442e-05/0.6237, allocations: 15.92 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.6237, allocations: 3.938 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001011/0.6238, allocations: 19.94 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.753e-06/0.6238, allocations: 0 / 1.225 GB, free: 13.16 MB / 0.9512 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 8.65e-05/0.6239, allocations: 121.8 kB / 1.225 GB, free: 13.03 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.741e-05/0.6239, allocations: 7.953 kB / 1.225 GB, free: 13.02 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.65e-05/0.624, allocations: 8.25 kB / 1.225 GB, free: 13.01 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.624, allocations: 4 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.624, allocations: 3.938 kB / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.624, allocations: 0 / 1.225 GB, free: 13 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001968/0.6242, allocations: 189.6 kB / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.6242, allocations: 0 / 1.225 GB, free: 12.77 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.759e-05/0.6243, allocations: 11.98 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.6243, allocations: 4 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.6243, allocations: 192 / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.6243, allocations: 4 kB / 1.225 GB, free: 12.75 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.665e-06/0.6243, allocations: 3.938 kB / 1.225 GB, free: 12.74 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003071/0.6246, allocations: 195.4 kB / 1.225 GB, free: 12.54 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.213e-05/0.6247, allocations: 85 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.6247, allocations: 4 kB / 1.225 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000126/0.6248, allocations: 19.98 kB / 1.225 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.6249, allocations: 19.84 kB / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.129e-06/0.6249, allocations: 0 / 1.225 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.536e-05/0.625, allocations: 103.2 kB / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.625, allocations: 0 / 1.225 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002182/0.6252, allocations: 12 kB / 1.225 GB, free: 12.28 MB / 0.9512 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.0006217/0.6258, allocations: 0.7324 MB / 1.226 GB, free: 11.52 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002606/0.6261, allocations: 63.94 kB / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.6261, allocations: 4 kB / 1.226 GB, free: 11.45 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001158/0.6262, allocations: 27.98 kB / 1.226 GB, free: 11.43 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000236/0.6265, allocations: 15.92 kB / 1.226 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001687/0.6282, allocations: 1.476 MB / 1.228 GB, free: 9.852 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000302/0.6285, allocations: 0.6963 MB / 1.228 GB, free: 9.129 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 3.908e-05/0.6285, allocations: 4.188 kB / 1.228 GB, free: 9.125 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.546e-05/0.6286, allocations: 27.42 kB / 1.228 GB, free: 9.098 MB / 0.9512 GB Notification: Performance of SimCode: time 2.31e-07/0.6286, allocations: 4 kB / 1.228 GB, free: 9.094 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.904/2.533, allocations: 2.192 MB / 1.231 GB, free: 6.992 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.82/16.35, allocations: 10.88 kB / 1.231 GB, free: 6.984 MB / 0.9512 GB (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) 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) Reference file matches