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.00114/0.00114, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001074/0.001074, allocations: 190.9 kB / 16.25 MB, free: 6.633 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.219/1.219, allocations: 222.9 MB / 239.9 MB, free: 4.504 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.417/2.417, allocations: 461.9 MB / 0.7344 GB, free: 14.95 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00116/0.00116, allocations: 68.02 kB / 0.8987 GB, free: 37.1 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2222, allocations: 157.4 MB / 1.052 GB, free: 8.633 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001817/0.2241, allocations: 0.9284 MB / 1.053 GB, free: 7.703 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000846/0.2249, allocations: 0.8897 MB / 1.054 GB, free: 6.801 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.125e-05/0.225, allocations: 7.938 kB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001038/0.2251, allocations: 15.92 kB / 1.054 GB, free: 6.777 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.331e-05/0.2252, allocations: 7.875 kB / 1.054 GB, free: 6.77 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001431/0.2253, allocations: 27.97 kB / 1.054 GB, free: 6.742 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001159/0.2255, allocations: 99.72 kB / 1.054 GB, free: 6.645 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001257/0.2256, allocations: 59.88 kB / 1.054 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.484e-05/0.2257, allocations: 31.86 kB / 1.054 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.033e-05/0.2258, allocations: 39.84 kB / 1.054 GB, free: 6.516 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.941e-05/0.2258, allocations: 4 kB / 1.054 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.334e-05/0.2258, allocations: 8 kB / 1.054 GB, free: 6.504 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.623e-05/0.2258, allocations: 23.91 kB / 1.055 GB, free: 6.48 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.006e-05/0.2259, allocations: 47.73 kB / 1.055 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001058/0.226, allocations: 91.98 kB / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.226, allocations: 0 / 1.055 GB, free: 6.344 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.242e-06/0.226, allocations: 3.938 kB / 1.055 GB, free: 6.34 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.27e-06/0.226, allocations: 7.938 kB / 1.055 GB, free: 6.332 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.0005166/0.2265, allocations: 411 kB / 1.055 GB, free: 5.879 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.062e-05/0.2266, allocations: 12.62 kB / 1.055 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.025e-05/0.2266, allocations: 38.75 kB / 1.055 GB, free: 5.82 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.833e-05/0.2266, allocations: 12.84 kB / 1.055 GB, free: 5.809 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001588/0.2268, allocations: 193 kB / 1.055 GB, free: 5.582 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.998e-06/0.2268, allocations: 8.375 kB / 1.055 GB, free: 5.574 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.555e-05/0.2268, allocations: 4.375 kB / 1.055 GB, free: 5.57 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002157/0.2271, allocations: 93.83 kB / 1.055 GB, free: 5.477 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.2271, allocations: 7.875 kB / 1.055 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/0.2271, allocations: 4 kB / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.2271, allocations: 0 / 1.055 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000218/0.2273, allocations: 71.94 kB / 1.055 GB, free: 5.395 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004269/0.2278, allocations: 360.5 kB / 1.056 GB, free: 4.992 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002002/0.228, allocations: 66.53 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001087/0.2281, allocations: 32.92 kB / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.51e-05/0.2281, allocations: 0 / 1.056 GB, free: 4.883 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.348e-05/0.2281, allocations: 38.56 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.72e-07/0.2281, allocations: 0 / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0003901/0.2285, allocations: 121.6 kB / 1.056 GB, free: 4.711 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.421e-05/0.2286, allocations: 51.41 kB / 1.056 GB, free: 4.648 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.681e-05/0.2287, allocations: 139.6 kB / 1.056 GB, free: 4.504 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.2287, allocations: 25.7 kB / 1.056 GB, free: 4.473 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.085e-05/0.2287, allocations: 107.9 kB / 1.056 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.683e-05/0.2288, allocations: 11.84 kB / 1.056 GB, free: 4.352 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.71e-05/0.2288, allocations: 21.72 kB / 1.056 GB, free: 4.324 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 7.734e-05/0.2289, allocations: 314.8 kB / 1.057 GB, free: 4.008 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001114/0.229, allocations: 35.97 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.656e-05/0.2291, allocations: 31.97 kB / 1.057 GB, free: 3.941 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001804/0.2293, allocations: 60.81 kB / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2293, allocations: 0 / 1.057 GB, free: 3.879 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002332/0.2295, allocations: 101.5 kB / 1.057 GB, free: 3.773 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.111e-05/0.2296, allocations: 8 kB / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.277e-06/0.2296, allocations: 0 / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.095e-06/0.2296, allocations: 0 / 1.057 GB, free: 3.766 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.239e-05/0.2297, allocations: 15.98 kB / 1.057 GB, free: 3.75 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/0.2297, allocations: 3.938 kB / 1.057 GB, free: 3.746 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.303e-05/0.2298, allocations: 15.92 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.2298, allocations: 7.984 kB / 1.057 GB, free: 3.723 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.958e-05/0.2299, allocations: 113.8 kB / 1.057 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.716e-05/0.2299, allocations: 7.906 kB / 1.057 GB, free: 3.594 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.514e-05/0.2299, allocations: 8.25 kB / 1.057 GB, free: 3.582 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.2299, allocations: 7.938 kB / 1.057 GB, free: 3.574 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.2299, allocations: 3.938 kB / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.23, allocations: 0 / 1.057 GB, free: 3.57 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001564/0.2301, allocations: 193.6 kB / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2301, allocations: 0 / 1.057 GB, free: 3.332 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.101e-05/0.2302, allocations: 15.92 kB / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2302, allocations: 0 / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.2302, allocations: 192 / 1.057 GB, free: 3.316 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.2302, allocations: 4 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.935e-06/0.2302, allocations: 7.922 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.2305, allocations: 187.4 kB / 1.058 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.203e-05/0.2305, allocations: 85.02 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.743e-05/0.2306, allocations: 0 / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001271/0.2307, allocations: 19.97 kB / 1.058 GB, free: 2.984 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.808e-05/0.2308, allocations: 11.92 kB / 1.058 GB, free: 2.973 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.302e-06/0.2308, allocations: 8 kB / 1.058 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.312e-05/0.2308, allocations: 100.8 kB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2308, allocations: 0 / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002118/0.231, allocations: 15.94 kB / 1.058 GB, free: 2.852 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.0005045/0.2316, allocations: 0.7279 MB / 1.058 GB, free: 2.098 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0002408/0.2318, allocations: 71.88 kB / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.2318, allocations: 0 / 1.059 GB, free: 2.027 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001124/0.2319, allocations: 31.97 kB / 1.059 GB, free: 1.996 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.2322, allocations: 17.48 kB / 1.059 GB, free: 1.98 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001434/0.2336, allocations: 1.483 MB / 1.06 GB, free: 424 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001962/0.2338, allocations: 0.6962 MB / 1.061 GB, free: 15.69 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.57e-05/0.2339, allocations: 8.172 kB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.136e-05/0.234, allocations: 35.58 kB / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.234, allocations: 0 / 1.061 GB, free: 15.65 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5894/0.8234, allocations: 1.97 MB / 1.063 GB, free: 13.8 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002488/0.8237, allocations: 202.8 kB / 1.063 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.159/3.983, allocations: 3.938 kB / 1.063 GB, free: 13.54 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