Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001413/0.001413, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001624/0.001624, allocations: 214.3 kB / 22.24 MB, free: 5.262 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.542/1.542, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.381/3.381, allocations: 0.4892 GB / 0.7943 GB, free: 35.39 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.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_12_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_12_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.003023/0.003023, allocations: 74.8 kB / 1.153 GB, free: 25.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3967/0.3997, allocations: 176.1 MB / 1.325 GB, free: 2.316 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002299/0.402, allocations: 0.8339 MB / 1.326 GB, free: 1.484 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001398/0.4034, allocations: 0.925 MB / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.4035, allocations: 0 / 1.327 GB, free: 0.5469 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001448/0.4036, allocations: 15.81 kB / 1.327 GB, free: 0.5312 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.379e-05/0.4037, allocations: 11.88 kB / 1.327 GB, free: 0.5195 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002497/0.4039, allocations: 47.88 kB / 1.327 GB, free: 484 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001735/0.4041, allocations: 99.7 kB / 1.327 GB, free: 384 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001515/0.4043, allocations: 35.97 kB / 1.327 GB, free: 348 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001922/0.4045, allocations: 43.78 kB / 1.327 GB, free: 304 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 9.151e-05/0.4045, allocations: 35.78 kB / 1.327 GB, free: 268 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.443e-05/0.4046, allocations: 8 kB / 1.327 GB, free: 260 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.249e-05/0.4046, allocations: 16 kB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.702e-05/0.4047, allocations: 11.98 kB / 1.327 GB, free: 232 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.534e-05/0.4047, allocations: 31.8 kB / 1.327 GB, free: 200 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002085/0.4049, allocations: 111.7 kB / 1.327 GB, free: 88 kB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.4049, allocations: 8 kB / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of FrontEnd: time 1.452e-06/0.4049, allocations: 0 / 1.327 GB, free: 80 kB / 1.014 GB Notification: Performance of Transformations before backend: time 7.524e-06/0.4049, allocations: 0 / 1.327 GB, free: 80 kB / 1.014 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.0007874/0.4057, allocations: 341.9 kB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.712e-05/0.4058, allocations: 8.031 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.607e-05/0.4058, allocations: 38.75 kB / 1.328 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001747/0.406, allocations: 20.88 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003463/0.4063, allocations: 150.2 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.172e-05/0.4063, allocations: 8.375 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.169e-05/0.4064, allocations: 4.375 kB / 1.328 GB, free: 15.45 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002683/0.4066, allocations: 91.2 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.474e-05/0.4066, allocations: 3.938 kB / 1.328 GB, free: 15.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.392e-05/0.4067, allocations: 4 kB / 1.328 GB, free: 15.35 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.4067, allocations: 7.938 kB / 1.328 GB, free: 15.34 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000257/0.4069, allocations: 67.94 kB / 1.328 GB, free: 15.28 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006025/0.4075, allocations: 303.7 kB / 1.328 GB, free: 14.94 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002518/0.4078, allocations: 66.48 kB / 1.328 GB, free: 14.86 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001217/0.4079, allocations: 32.92 kB / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.533e-05/0.4079, allocations: 0 / 1.328 GB, free: 14.83 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.539e-05/0.4079, allocations: 34.56 kB / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.062e-06/0.4079, allocations: 0 / 1.328 GB, free: 14.79 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004678/0.4084, allocations: 121.6 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.068e-05/0.4085, allocations: 55.34 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001247/0.4086, allocations: 131.5 kB / 1.329 GB, free: 14.46 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.4086, allocations: 33.7 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 7.567e-05/0.4087, allocations: 112 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-05/0.4087, allocations: 7.953 kB / 1.329 GB, free: 14.3 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.76e-05/0.4087, allocations: 25.7 kB / 1.329 GB, free: 14.27 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001686/0.4089, allocations: 318.8 kB / 1.329 GB, free: 13.95 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001216/0.409, allocations: 31.98 kB / 1.329 GB, free: 13.91 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.4091, allocations: 27.97 kB / 1.329 GB, free: 13.89 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002119/0.4094, allocations: 60.94 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.4094, allocations: 4 kB / 1.329 GB, free: 13.82 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002743/0.4096, allocations: 97.59 kB / 1.329 GB, free: 13.72 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.4096, allocations: 4 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.4096, allocations: 3.938 kB / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.529e-05/0.4097, allocations: 0 / 1.329 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001056/0.4098, allocations: 15.98 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.4098, allocations: 3.938 kB / 1.329 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.4099, allocations: 19.97 kB / 1.329 GB, free: 13.67 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.4099, allocations: 4 kB / 1.329 GB, free: 13.67 MB / 1.029 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.0001067/0.41, allocations: 120.1 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.157e-05/0.41, allocations: 7.953 kB / 1.33 GB, free: 13.54 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.714e-05/0.4101, allocations: 12.33 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.57e-06/0.4101, allocations: 4.188 kB / 1.33 GB, free: 13.51 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.504e-06/0.4101, allocations: 3.938 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.4101, allocations: 3.984 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002095/0.4103, allocations: 148.7 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.553e-06/0.4103, allocations: 4 kB / 1.33 GB, free: 13.31 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.406e-05/0.4104, allocations: 15.92 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.4104, allocations: 0 / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.065e-05/0.4104, allocations: 0 / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.4104, allocations: 0 / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.854e-06/0.4104, allocations: 7.922 kB / 1.33 GB, free: 13.29 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003363/0.4108, allocations: 191.4 kB / 1.33 GB, free: 13.08 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.736e-05/0.4108, allocations: 7.953 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.633e-05/0.4108, allocations: 8 kB / 1.33 GB, free: 13.07 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.4109, allocations: 15.97 kB / 1.33 GB, free: 13.05 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.189e-05/0.411, allocations: 11.92 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.411, allocations: 4.062 kB / 1.33 GB, free: 13.04 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.529e-05/0.4111, allocations: 104.8 kB / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4111, allocations: 0 / 1.33 GB, free: 12.93 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002427/0.4113, allocations: 15.89 kB / 1.33 GB, free: 12.92 MB / 1.029 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.0006924/0.412, allocations: 0.728 MB / 1.331 GB, free: 12.16 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0002884/0.4123, allocations: 63.94 kB / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.4123, allocations: 0 / 1.331 GB, free: 12.1 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001231/0.4124, allocations: 31.97 kB / 1.331 GB, free: 12.07 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.4127, allocations: 21.44 kB / 1.331 GB, free: 12.05 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001943/0.4147, allocations: 1.478 MB / 1.332 GB, free: 10.49 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.04e-05/0.4148, allocations: 79.33 kB / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 5.176e-05/0.4148, allocations: 3.984 kB / 1.332 GB, free: 10.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.168e-05/0.4149, allocations: 23.44 kB / 1.332 GB, free: 10.37 MB / 1.029 GB Notification: Performance of SimCode: time 6.51e-07/0.4149, allocations: 0 / 1.332 GB, free: 10.37 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03249/0.4474, allocations: 2.804 MB / 1.335 GB, free: 7.703 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/11.89, allocations: 8.203 kB / 1.335 GB, free: 7.699 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_12_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable les.u1 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable les.u1 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! Error: Could not read variable les.u2 in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable les.u2 from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! Error: Could not read variable les.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable les.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! Error: Could not read variable lesHys.y in file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable lesHys.y from file Buildings_12_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.00761466519907]