Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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.001285/0.001285, allocations: 108.2 kB / 16.46 MB, free: 6.035 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.001234/0.001234, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.462/1.462, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.57/2.57, allocations: 443.5 MB / 0.7287 GB, free: 13.23 MB / 0.5919 GB " [Timeout remaining time 177] Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 67.91 kB / 1.056 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9555/0.9574, allocations: 160.7 MB / 1.213 GB, free: 3.844 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002365/0.9598, allocations: 0.8678 MB / 1.214 GB, free: 3.188 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001325/0.9611, allocations: 0.887 MB / 1.215 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001014/0.9612, allocations: 3.094 kB / 1.215 GB, free: 2.461 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.00016/0.9614, allocations: 20.98 kB / 1.215 GB, free: 2.441 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.009e-05/0.9614, allocations: 12.77 kB / 1.215 GB, free: 2.43 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002019/0.9616, allocations: 44.14 kB / 1.215 GB, free: 2.391 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001697/0.9618, allocations: 97.52 kB / 1.215 GB, free: 2.332 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001686/0.962, allocations: 43.2 kB / 1.215 GB, free: 2.301 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001233/0.9621, allocations: 45.06 kB / 1.215 GB, free: 2.27 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.021e-05/0.9622, allocations: 32.75 kB / 1.215 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 3.326e-05/0.9622, allocations: 7.875 kB / 1.215 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 2.041e-05/0.9623, allocations: 7.562 kB / 1.215 GB, free: 2.246 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 3.085e-05/0.9623, allocations: 19.02 kB / 1.215 GB, free: 2.23 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 6.653e-05/0.9623, allocations: 47.09 kB / 1.215 GB, free: 2.191 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001851/0.9625, allocations: 103.5 kB / 1.215 GB, free: 2.109 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.9625, allocations: 5.094 kB / 1.215 GB, free: 2.105 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.074e-06/0.9625, allocations: 0 / 1.215 GB, free: 2.105 MB / 0.92 GB Notification: Performance of Transformations before backend: time 7.904e-06/0.9625, allocations: 0 / 1.215 GB, free: 2.105 MB / 0.92 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.000781/0.9633, allocations: 410.3 kB / 1.216 GB, free: 1.691 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.786e-05/0.9634, allocations: 15.2 kB / 1.216 GB, free: 1.688 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.098e-05/0.9634, allocations: 36.19 kB / 1.216 GB, free: 1.645 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.623e-05/0.9635, allocations: 10.02 kB / 1.216 GB, free: 1.641 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003526/0.9638, allocations: 209.4 kB / 1.216 GB, free: 1.41 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.205e-05/0.9638, allocations: 6.281 kB / 1.216 GB, free: 1.406 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.25e-05/0.9639, allocations: 8.75 kB / 1.216 GB, free: 1.402 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002659/0.9641, allocations: 91.92 kB / 1.216 GB, free: 1.336 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.9641, allocations: 3.938 kB / 1.216 GB, free: 1.332 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.539e-05/0.9642, allocations: 4.844 kB / 1.216 GB, free: 1.328 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.064e-06/0.9642, allocations: 1.5 kB / 1.216 GB, free: 1.328 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002448/0.9644, allocations: 69.81 kB / 1.216 GB, free: 1.297 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006171/0.965, allocations: 339.4 kB / 1.216 GB, free: 0.957 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.9653, allocations: 71.12 kB / 1.216 GB, free: 0.9062 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.9654, allocations: 36.61 kB / 1.216 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.9654, allocations: 3.984 kB / 1.216 GB, free: 0.8789 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.747e-05/0.9654, allocations: 31.69 kB / 1.216 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of pre-optimization done (n=4): time 1.283e-06/0.9654, allocations: 0 / 1.216 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of matching and sorting (n=4): time 0.0004649/0.9659, allocations: 128.9 kB / 1.217 GB, free: 0.7578 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.475e-05/0.966, allocations: 51.41 kB / 1.217 GB, free: 0.6953 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00013/0.9661, allocations: 139.5 kB / 1.217 GB, free: 0.5703 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 2.22e-05/0.9661, allocations: 26.83 kB / 1.217 GB, free: 0.5391 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 8.562e-05/0.9662, allocations: 104.1 kB / 1.217 GB, free: 448 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.808e-05/0.9662, allocations: 6.109 kB / 1.217 GB, free: 444 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.747e-05/0.9663, allocations: 22.14 kB / 1.217 GB, free: 420 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.9664, allocations: 320.9 kB / 1.217 GB, free: 92 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001203/0.9665, allocations: 32.19 kB / 1.217 GB, free: 76 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001009/0.9666, allocations: 28.81 kB / 1.217 GB, free: 64 kB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002012/0.9668, allocations: 57.59 kB / 1.217 GB, free: 32 kB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.9668, allocations: 0 / 1.217 GB, free: 32 kB / 0.92 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002783/0.9671, allocations: 108.2 kB / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.9671, allocations: 8.562 kB / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.9671, allocations: 0 / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.93e-05/0.9672, allocations: 1.406 kB / 1.217 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001114/0.9673, allocations: 11.73 kB / 1.217 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.754e-06/0.9673, allocations: 3.938 kB / 1.217 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001027/0.9674, allocations: 21.2 kB / 1.217 GB, free: 15.94 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-06/0.9674, allocations: 5.188 kB / 1.217 GB, free: 15.93 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.0001062/0.9675, allocations: 115.4 kB / 1.218 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.891e-05/0.9675, allocations: 6.25 kB / 1.218 GB, free: 15.81 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.376e-05/0.9676, allocations: 10.41 kB / 1.218 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.603e-06/0.9676, allocations: 5.109 kB / 1.218 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.9676, allocations: 3.938 kB / 1.218 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.9676, allocations: 1.281 kB / 1.218 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002239/0.9678, allocations: 188.9 kB / 1.218 GB, free: 15.57 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/0.9678, allocations: 9.047 kB / 1.218 GB, free: 15.56 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.312e-05/0.9679, allocations: 11.7 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.294e-06/0.9679, allocations: 7.984 kB / 1.218 GB, free: 15.55 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.768e-06/0.9679, allocations: 4.719 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.714e-06/0.9679, allocations: 1 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.843e-06/0.9679, allocations: 7.922 kB / 1.218 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003368/0.9683, allocations: 188.8 kB / 1.218 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.012e-05/0.9683, allocations: 79.36 kB / 1.218 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.195e-05/0.9683, allocations: 0.875 kB / 1.218 GB, free: 15.28 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001378/0.9685, allocations: 17.5 kB / 1.218 GB, free: 15.27 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.353e-05/0.9686, allocations: 19.11 kB / 1.218 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.103e-06/0.9686, allocations: 1.094 kB / 1.218 GB, free: 15.25 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.057e-05/0.9687, allocations: 105.2 kB / 1.218 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of sort global known variables: time 8e-08/0.9687, allocations: 0 / 1.218 GB, free: 15.16 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002373/0.9689, allocations: 21.83 kB / 1.218 GB, free: 15.15 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.0007556/0.9696, allocations: 0.7148 MB / 1.219 GB, free: 14.47 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002876/0.9699, allocations: 72.97 kB / 1.219 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.9699, allocations: 0 / 1.219 GB, free: 14.43 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.000119/0.9701, allocations: 34.75 kB / 1.219 GB, free: 14.42 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.9703, allocations: 10.09 kB / 1.219 GB, free: 14.41 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.9724, allocations: 1.489 MB / 1.221 GB, free: 13.05 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004882/0.9729, allocations: 0.691 MB / 1.221 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.342e-05/0.9729, allocations: 11.39 kB / 1.221 GB, free: 12.34 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.633e-05/0.973, allocations: 27.23 kB / 1.221 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of SimCode: time 4e-07/0.973, allocations: 0 / 1.221 GB, free: 12.32 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02967/1.003, allocations: 2.199 MB / 1.223 GB, free: 11.16 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.882/8.885, allocations: 14.55 kB / 1.223 GB, free: 11.15 MB / 0.9356 GB " [Timeout remaining time 291] (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 14.752068671863526]