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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00172/0.00172, allocations: 110.4 kB / 18.94 MB, free: 2.953 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.003387/0.003387, allocations: 209.5 kB / 22.25 MB, free: 5.137 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.5/1.5, allocations: 230.6 MB / 256 MB, free: 8.203 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.829/2.829, allocations: 476.7 MB / 0.7707 GB, free: 4.289 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002386/0.002386, allocations: 65.7 kB / 1.117 GB, free: 40.52 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3959/0.3983, allocations: 170 MB / 1.283 GB, free: 11.71 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002192/0.4005, allocations: 0.8813 MB / 1.284 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001267/0.4017, allocations: 0.9368 MB / 1.285 GB, free: 9.879 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.279e-05/0.4018, allocations: 7.938 kB / 1.285 GB, free: 9.871 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001348/0.4019, allocations: 7.875 kB / 1.285 GB, free: 9.863 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.076e-05/0.402, allocations: 7.875 kB / 1.285 GB, free: 9.855 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.4022, allocations: 47.89 kB / 1.285 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001702/0.4024, allocations: 103.7 kB / 1.285 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.4025, allocations: 35.97 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001763/0.4027, allocations: 43.8 kB / 1.285 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 9.24e-05/0.4028, allocations: 43.77 kB / 1.285 GB, free: 9.586 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.839e-05/0.4028, allocations: 15.94 kB / 1.285 GB, free: 9.57 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.717e-05/0.4029, allocations: 12 kB / 1.286 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 2.44e-05/0.4029, allocations: 19.92 kB / 1.286 GB, free: 9.539 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 5.022e-05/0.4029, allocations: 35.8 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001842/0.4031, allocations: 107.8 kB / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.4031, allocations: 0 / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.423e-06/0.4031, allocations: 0 / 1.286 GB, free: 9.402 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.342e-06/0.4031, allocations: 0 / 1.286 GB, free: 9.402 MB / 0.9825 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.0006665/0.4038, allocations: 337.9 kB / 1.286 GB, free: 9.039 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.4038, allocations: 8.031 kB / 1.286 GB, free: 9.031 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.495e-05/0.4039, allocations: 42.69 kB / 1.286 GB, free: 8.98 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.404, allocations: 20.83 kB / 1.286 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002893/0.4043, allocations: 146.4 kB / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.928e-06/0.4043, allocations: 384 / 1.286 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.608e-05/0.4044, allocations: 8.375 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002442/0.4046, allocations: 94.83 kB / 1.286 GB, free: 8.688 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.4046, allocations: 3.938 kB / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.096e-05/0.4046, allocations: 0 / 1.286 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.4046, allocations: 7.938 kB / 1.286 GB, free: 8.676 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002482/0.4049, allocations: 71.88 kB / 1.286 GB, free: 8.605 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000538/0.4054, allocations: 329.4 kB / 1.287 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002418/0.4057, allocations: 62.53 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001128/0.4058, allocations: 28.92 kB / 1.287 GB, free: 8.141 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 1.974e-05/0.4058, allocations: 4 kB / 1.287 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.908e-05/0.4058, allocations: 38.56 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.4058, allocations: 0 / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4): time 0.0004368/0.4063, allocations: 121.5 kB / 1.287 GB, free: 7.965 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.097e-05/0.4063, allocations: 51.41 kB / 1.287 GB, free: 7.902 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001194/0.4064, allocations: 139.9 kB / 1.287 GB, free: 7.758 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.4064, allocations: 29.7 kB / 1.287 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.819e-05/0.4065, allocations: 104.1 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.4065, allocations: 19.83 kB / 1.287 GB, free: 7.598 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.254e-05/0.4066, allocations: 21.7 kB / 1.287 GB, free: 7.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.4067, allocations: 318.8 kB / 1.288 GB, free: 7.25 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001256/0.4069, allocations: 27.97 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001068/0.407, allocations: 35.97 kB / 1.288 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001898/0.4072, allocations: 52.81 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.4072, allocations: 128 / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002569/0.4074, allocations: 105.5 kB / 1.288 GB, free: 7.023 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.334e-05/0.4074, allocations: 4 kB / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.368e-06/0.4074, allocations: 0 / 1.288 GB, free: 7.02 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.4074, allocations: 4.188 kB / 1.288 GB, free: 7.016 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.451e-05/0.4075, allocations: 15.92 kB / 1.288 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.859e-06/0.4075, allocations: 7.938 kB / 1.288 GB, free: 6.992 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.695e-05/0.4076, allocations: 15.97 kB / 1.288 GB, free: 6.977 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.4077, allocations: 0 / 1.288 GB, free: 6.977 MB / 0.9825 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.0001018/0.4078, allocations: 117.8 kB / 1.288 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.012e-05/0.4078, allocations: 7.953 kB / 1.288 GB, free: 6.844 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.944e-05/0.4078, allocations: 20.34 kB / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.4078, allocations: 0 / 1.288 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.963e-06/0.4078, allocations: 3.938 kB / 1.288 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.4078, allocations: 3.984 kB / 1.288 GB, free: 6.812 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001992/0.408, allocations: 152.7 kB / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.408, allocations: 0 / 1.288 GB, free: 6.621 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.264e-05/0.4081, allocations: 19.86 kB / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.4081, allocations: 0 / 1.288 GB, free: 6.602 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.08e-05/0.4081, allocations: 3.984 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/0.4081, allocations: 4 kB / 1.288 GB, free: 6.594 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.816e-06/0.4081, allocations: 7.938 kB / 1.288 GB, free: 6.586 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003176/0.4085, allocations: 187.5 kB / 1.288 GB, free: 6.387 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.459e-05/0.4085, allocations: 7.953 kB / 1.288 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.027e-05/0.4085, allocations: 4 kB / 1.288 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001303/0.4086, allocations: 19.97 kB / 1.288 GB, free: 6.355 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/0.4087, allocations: 11.92 kB / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.899e-06/0.4087, allocations: 0 / 1.288 GB, free: 6.344 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.981e-05/0.4088, allocations: 107.2 kB / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.4088, allocations: 0 / 1.288 GB, free: 6.238 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000224/0.409, allocations: 11.94 kB / 1.289 GB, free: 6.227 MB / 0.9825 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.0006542/0.4096, allocations: 0.7241 MB / 1.289 GB, free: 5.477 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0002697/0.4099, allocations: 63.94 kB / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.4099, allocations: 0 / 1.289 GB, free: 5.414 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001235/0.41, allocations: 39.91 kB / 1.289 GB, free: 5.375 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.4103, allocations: 18.16 kB / 1.289 GB, free: 5.359 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.4122, allocations: 1.469 MB / 1.291 GB, free: 3.805 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000337/0.4125, allocations: 0.7 MB / 1.291 GB, free: 3.078 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 4.308e-05/0.4126, allocations: 7.984 kB / 1.291 GB, free: 3.07 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.593e-05/0.4126, allocations: 27.42 kB / 1.291 GB, free: 3.043 MB / 0.9825 GB Notification: Performance of SimCode: time 3.4e-07/0.4126, allocations: 3.938 kB / 1.291 GB, free: 3.039 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02985/0.4425, allocations: 2.314 MB / 1.294 GB, free: 0.8594 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.65, allocations: 5.719 kB / 1.294 GB, free: 0.8555 MB / 0.9825 GB " [Timeout remaining time 288] (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 --stepSize=0.004 --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] Reference file matches [Calling sys.exit(0), Time elapsed: 18.43474535085261]