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.00183/0.00183, allocations: 106.9 kB / 16.45 MB, free: 6.5 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.001457/0.001457, allocations: 210.4 kB / 19.43 MB, free: 3.656 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.479/1.479, allocations: 230.6 MB / 252.8 MB, free: 8.957 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.231/3.231, allocations: 0.49 GB / 0.7916 GB, free: 33.46 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.002834/0.002834, allocations: 70.69 kB / 1.149 GB, free: 26.31 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4288/0.4316, allocations: 176.1 MB / 1.321 GB, free: 3.266 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.00267/0.4343, allocations: 0.8719 MB / 1.322 GB, free: 2.398 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001383/0.4357, allocations: 0.9289 MB / 1.323 GB, free: 1.457 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000126/0.4358, allocations: 7.938 kB / 1.323 GB, free: 1.449 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001386/0.4359, allocations: 11.86 kB / 1.323 GB, free: 1.438 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 4.799e-05/0.436, allocations: 15.81 kB / 1.323 GB, free: 1.422 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.000233/0.4362, allocations: 39.94 kB / 1.323 GB, free: 1.383 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.000163/0.4364, allocations: 99.7 kB / 1.323 GB, free: 1.285 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001564/0.4365, allocations: 39.97 kB / 1.323 GB, free: 1.246 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000182/0.4367, allocations: 47.78 kB / 1.323 GB, free: 1.199 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.884e-05/0.4368, allocations: 39.77 kB / 1.323 GB, free: 1.16 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.128e-05/0.4368, allocations: 8 kB / 1.323 GB, free: 1.152 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 5.263e-05/0.4369, allocations: 16 kB / 1.323 GB, free: 1.137 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.376e-05/0.4369, allocations: 11.98 kB / 1.323 GB, free: 1.125 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 4.858e-05/0.437, allocations: 39.73 kB / 1.323 GB, free: 1.086 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002092/0.4372, allocations: 111.7 kB / 1.323 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.4372, allocations: 4 kB / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.924e-06/0.4372, allocations: 0 / 1.323 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.4372, allocations: 4 kB / 1.323 GB, free: 0.9688 MB / 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.0007534/0.4379, allocations: 415 kB / 1.323 GB, free: 0.5117 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.42e-05/0.438, allocations: 11.98 kB / 1.324 GB, free: 0.5 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.062e-05/0.438, allocations: 38.73 kB / 1.324 GB, free: 464 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001735/0.4382, allocations: 16.89 kB / 1.324 GB, free: 448 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003226/0.4385, allocations: 204.2 kB / 1.324 GB, free: 204 kB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.12e-05/0.4386, allocations: 8.375 kB / 1.324 GB, free: 196 kB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.678e-05/0.4386, allocations: 4.375 kB / 1.324 GB, free: 192 kB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002587/0.4388, allocations: 98.14 kB / 1.324 GB, free: 88 kB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.4388, allocations: 3.938 kB / 1.324 GB, free: 84 kB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.4389, allocations: 0 / 1.324 GB, free: 84 kB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.4389, allocations: 0 / 1.324 GB, free: 84 kB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002696/0.4391, allocations: 83.5 kB / 1.324 GB, free: 4 kB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006161/0.4397, allocations: 344.6 kB / 1.324 GB, free: 15.62 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002473/0.44, allocations: 62.53 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001239/0.4401, allocations: 40.88 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.189e-05/0.4401, allocations: 3.984 kB / 1.324 GB, free: 15.5 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.185e-05/0.4402, allocations: 38.55 kB / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.303e-06/0.4402, allocations: 0 / 1.324 GB, free: 15.45 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0004816/0.4407, allocations: 121.5 kB / 1.325 GB, free: 15.33 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.4407, allocations: 59.39 kB / 1.325 GB, free: 15.26 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001482/0.4409, allocations: 139.5 kB / 1.325 GB, free: 15.11 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.266e-05/0.4409, allocations: 29.7 kB / 1.325 GB, free: 15.08 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.702e-05/0.441, allocations: 100 kB / 1.325 GB, free: 14.98 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.257e-05/0.441, allocations: 15.88 kB / 1.325 GB, free: 14.96 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.877e-05/0.441, allocations: 17.72 kB / 1.325 GB, free: 14.94 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002049/0.4412, allocations: 318.8 kB / 1.325 GB, free: 14.62 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001249/0.4414, allocations: 31.97 kB / 1.325 GB, free: 14.59 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001133/0.4415, allocations: 35.98 kB / 1.325 GB, free: 14.55 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002383/0.4417, allocations: 56.8 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.983e-06/0.4417, allocations: 3.938 kB / 1.325 GB, free: 14.49 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002897/0.442, allocations: 97.61 kB / 1.325 GB, free: 14.39 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.442, allocations: 7.984 kB / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.442, allocations: 0 / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.413e-05/0.4421, allocations: 0 / 1.325 GB, free: 14.38 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001147/0.4422, allocations: 11.98 kB / 1.325 GB, free: 14.37 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.185e-06/0.4422, allocations: 3.938 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001137/0.4423, allocations: 19.98 kB / 1.325 GB, free: 14.34 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.878e-06/0.4423, allocations: 0 / 1.325 GB, free: 14.34 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.0001134/0.4424, allocations: 117.8 kB / 1.326 GB, free: 14.22 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.4424, allocations: 11.94 kB / 1.326 GB, free: 14.21 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/0.4425, allocations: 8.25 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.4425, allocations: 4 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.4425, allocations: 3.938 kB / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.645e-06/0.4425, allocations: 0 / 1.326 GB, free: 14.18 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002413/0.4427, allocations: 189.6 kB / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4427, allocations: 0 / 1.326 GB, free: 13.95 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.423e-05/0.4428, allocations: 15.98 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.4428, allocations: 0 / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.229e-05/0.4428, allocations: 4 kB / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4428, allocations: 192 / 1.326 GB, free: 13.93 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.901e-06/0.4428, allocations: 11.88 kB / 1.326 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003965/0.4432, allocations: 187.4 kB / 1.326 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 5.706e-05/0.4433, allocations: 85.06 kB / 1.326 GB, free: 13.62 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.271e-05/0.4433, allocations: 7.938 kB / 1.326 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.4435, allocations: 15.98 kB / 1.326 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.892e-05/0.4435, allocations: 19.91 kB / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.891e-06/0.4435, allocations: 0 / 1.326 GB, free: 13.57 MB / 1.029 GB Notification: Performance of sorting global known variables: time 8.831e-05/0.4436, allocations: 97.14 kB / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4436, allocations: 0 / 1.326 GB, free: 13.48 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000234/0.4439, allocations: 27.83 kB / 1.326 GB, free: 13.45 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.0007313/0.4446, allocations: 0.7241 MB / 1.327 GB, free: 12.7 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000308/0.4449, allocations: 67.94 kB / 1.327 GB, free: 12.64 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4449, allocations: 3.938 kB / 1.327 GB, free: 12.63 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001237/0.445, allocations: 27.98 kB / 1.327 GB, free: 12.61 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003011/0.4453, allocations: 15.92 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00205/0.4474, allocations: 1.472 MB / 1.328 GB, free: 11.04 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003827/0.4478, allocations: 0.6963 MB / 1.329 GB, free: 10.31 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 4.532e-05/0.4478, allocations: 7.984 kB / 1.329 GB, free: 10.3 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.151e-05/0.4479, allocations: 35.36 kB / 1.329 GB, free: 10.27 MB / 1.029 GB Notification: Performance of SimCode: time 3.81e-07/0.4479, allocations: 0 / 1.329 GB, free: 10.27 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0321/0.48, allocations: 2.197 MB / 1.331 GB, free: 8.16 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.958/8.438, allocations: 10.23 kB / 1.331 GB, free: 8.152 MB / 1.029 GB " [Timeout remaining time 291] (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: 15.26969859492965]