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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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: "" <> 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.001169/0.001169, 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.001248/0.001247, allocations: 193.1 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.178/1.178, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.324/2.324, allocations: 461.9 MB / 0.7342 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001137/0.001138, allocations: 68.08 kB / 0.8985 GB, free: 36.95 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2164/0.2175, allocations: 157.4 MB / 1.052 GB, free: 8.238 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001858/0.2194, allocations: 0.9344 MB / 1.053 GB, free: 7.301 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000848/0.2203, allocations: 0.8858 MB / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.531e-05/0.2204, allocations: 0 / 1.054 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 9.948e-05/0.2205, allocations: 15.88 kB / 1.054 GB, free: 6.387 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.393e-05/0.2205, allocations: 7.938 kB / 1.054 GB, free: 6.379 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001324/0.2207, allocations: 35.89 kB / 1.054 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.663e-05/0.2208, allocations: 91.77 kB / 1.054 GB, free: 6.254 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001114/0.2209, allocations: 47.97 kB / 1.054 GB, free: 6.207 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.043e-05/0.221, allocations: 35.78 kB / 1.054 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.108e-05/0.221, allocations: 47.77 kB / 1.054 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.2211, allocations: 4 kB / 1.054 GB, free: 6.121 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.322e-05/0.2211, allocations: 4 kB / 1.054 GB, free: 6.117 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.894e-05/0.2211, allocations: 11.92 kB / 1.054 GB, free: 6.105 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.694e-05/0.2211, allocations: 31.8 kB / 1.054 GB, free: 6.074 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.841e-05/0.2212, allocations: 95.92 kB / 1.054 GB, free: 5.98 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.2213, allocations: 8 kB / 1.054 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of FrontEnd: time 6.51e-07/0.2213, allocations: 0 / 1.054 GB, free: 5.973 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 2.755e-06/0.2213, allocations: 0 / 1.054 GB, free: 5.973 MB / 0.8106 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.0004916/0.2218, allocations: 407.1 kB / 1.055 GB, free: 5.523 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.125e-05/0.2218, allocations: 11.97 kB / 1.055 GB, free: 5.512 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.222e-05/0.2218, allocations: 42.67 kB / 1.055 GB, free: 5.461 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.573e-05/0.2219, allocations: 12.84 kB / 1.055 GB, free: 5.449 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001497/0.222, allocations: 205.2 kB / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.456e-06/0.222, allocations: 4.375 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.578e-05/0.2221, allocations: 8.375 kB / 1.055 GB, free: 5.199 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002045/0.2223, allocations: 86.2 kB / 1.055 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.2223, allocations: 3.938 kB / 1.055 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.026e-05/0.2223, allocations: 7.938 kB / 1.055 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-06/0.2223, allocations: 4 kB / 1.055 GB, free: 5.094 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002224/0.2225, allocations: 75.88 kB / 1.055 GB, free: 5.02 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004112/0.2229, allocations: 356.5 kB / 1.056 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001972/0.2232, allocations: 62.55 kB / 1.056 GB, free: 4.551 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.2233, allocations: 40.92 kB / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.269e-05/0.2233, allocations: 0 / 1.056 GB, free: 4.508 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.2233, allocations: 34.56 kB / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.2233, allocations: 0 / 1.056 GB, free: 4.465 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003849/0.2237, allocations: 121.5 kB / 1.056 GB, free: 4.34 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.2237, allocations: 51.41 kB / 1.056 GB, free: 4.277 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.608e-05/0.2238, allocations: 139.5 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.2239, allocations: 25.7 kB / 1.056 GB, free: 4.102 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.583e-05/0.2239, allocations: 107.9 kB / 1.056 GB, free: 3.992 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.2239, allocations: 15.83 kB / 1.056 GB, free: 3.977 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.559e-05/0.224, allocations: 21.72 kB / 1.056 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.419e-05/0.2241, allocations: 318.8 kB / 1.056 GB, free: 3.629 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001037/0.2242, allocations: 23.98 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.443e-05/0.2243, allocations: 31.97 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001867/0.2245, allocations: 68.73 kB / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.2245, allocations: 0 / 1.057 GB, free: 3.504 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002354/0.2247, allocations: 97.5 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/0.2247, allocations: 4 kB / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.2247, allocations: 0 / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.715e-06/0.2247, allocations: 0 / 1.057 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.017e-05/0.2248, allocations: 11.98 kB / 1.057 GB, free: 3.387 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.773e-06/0.2248, allocations: 7.922 kB / 1.057 GB, free: 3.379 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.329e-05/0.2249, allocations: 16.17 kB / 1.057 GB, free: 3.363 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.225, allocations: 4 kB / 1.057 GB, free: 3.359 MB / 0.8106 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 6.602e-05/0.225, allocations: 117.8 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.86e-05/0.2251, allocations: 11.89 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.582e-05/0.2251, allocations: 12.23 kB / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.2251, allocations: 0 / 1.057 GB, free: 3.207 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.2251, allocations: 3.938 kB / 1.057 GB, free: 3.203 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.603e-06/0.2251, allocations: 4 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/0.2253, allocations: 189.8 kB / 1.057 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.046e-06/0.2253, allocations: 4 kB / 1.057 GB, free: 2.961 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.575e-05/0.2254, allocations: 11.98 kB / 1.057 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.2254, allocations: 0 / 1.057 GB, free: 2.949 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.965e-06/0.2254, allocations: 3.938 kB / 1.057 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.2254, allocations: 0 / 1.057 GB, free: 2.945 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.2254, allocations: 3.938 kB / 1.057 GB, free: 2.941 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002535/0.2257, allocations: 191.3 kB / 1.057 GB, free: 2.738 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.208e-05/0.2257, allocations: 89 kB / 1.057 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.767e-05/0.2257, allocations: 4 kB / 1.057 GB, free: 2.629 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001211/0.2258, allocations: 15.98 kB / 1.057 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.146e-05/0.2259, allocations: 15.91 kB / 1.057 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.2259, allocations: 0 / 1.057 GB, free: 2.598 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.383e-05/0.226, allocations: 104.7 kB / 1.057 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.226, allocations: 0 / 1.057 GB, free: 2.496 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002078/0.2262, allocations: 15.94 kB / 1.058 GB, free: 2.48 MB / 0.8106 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.0004916/0.2267, allocations: 0.7279 MB / 1.058 GB, free: 1.727 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.000229/0.2269, allocations: 67.94 kB / 1.058 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.2269, allocations: 0 / 1.058 GB, free: 1.66 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001056/0.227, allocations: 31.92 kB / 1.058 GB, free: 1.629 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002493/0.2273, allocations: 19.86 kB / 1.058 GB, free: 1.609 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001412/0.2287, allocations: 1.486 MB / 1.06 GB, free: 48 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001955/0.2289, allocations: 0.6926 MB / 1.06 GB, free: 15.33 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.26e-05/0.229, allocations: 7.984 kB / 1.06 GB, free: 15.32 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.229, allocations: 23.44 kB / 1.06 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of SimCode: time 2.1e-07/0.229, allocations: 0 / 1.06 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.808/2.037, allocations: 1.893 MB / 1.062 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002124/2.037, allocations: 200.2 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.373/4.41, allocations: 6.047 kB / 1.063 GB, free: 13.25 MB / 0.8262 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) Reference file matches