Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.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.0008528/0.0008528, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0009205/0.0009205, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9077/0.9077, allocations: 177.2 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.687/1.687, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.895e-06/2.895e-06, allocations: 0 / 0.9506 GB, free: 2.312 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.191e-05/2.481e-05, allocations: 2.281 kB / 0.9506 GB, free: 2.309 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001822/0.001847, allocations: 0.796 MB / 0.9514 GB, free: 1.508 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.001033/0.00288, allocations: 0.9133 MB / 0.9522 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001007/0.002981, allocations: 0 / 0.9522 GB, free: 0.582 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001287/0.003109, allocations: 19.81 kB / 0.9523 GB, free: 0.5625 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 3.688e-05/0.003146, allocations: 19.8 kB / 0.9523 GB, free: 0.543 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002107/0.003357, allocations: 27.86 kB / 0.9523 GB, free: 0.5156 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001266/0.003483, allocations: 79.77 kB / 0.9524 GB, free: 448 kB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001199/0.003603, allocations: 23.97 kB / 0.9524 GB, free: 424 kB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001624/0.003766, allocations: 39.91 kB / 0.9524 GB, free: 384 kB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 7.404e-05/0.00384, allocations: 23.91 kB / 0.9525 GB, free: 360 kB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.857e-05/0.003858, allocations: 4 kB / 0.9525 GB, free: 356 kB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.399e-05/0.003902, allocations: 12 kB / 0.9525 GB, free: 344 kB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.00392, allocations: 15.92 kB / 0.9525 GB, free: 328 kB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.644e-05/0.003947, allocations: 15.92 kB / 0.9525 GB, free: 312 kB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001613/0.004108, allocations: 99.59 kB / 0.9526 GB, free: 212 kB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.004113, allocations: 0 / 0.9526 GB, free: 212 kB / 0.8542 GB Notification: Performance of FrontEnd: time 1.593e-06/0.004115, allocations: 0 / 0.9526 GB, free: 212 kB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.039e-06/0.00412, allocations: 0 / 0.9526 GB, free: 212 kB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004538/0.004573, allocations: 310 kB / 0.9529 GB, free: 15.87 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.067e-05/0.004614, allocations: 12.03 kB / 0.9529 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.106e-05/0.004675, allocations: 34.73 kB / 0.9529 GB, free: 15.82 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001479/0.004823, allocations: 20.88 kB / 0.953 GB, free: 15.8 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002333/0.005056, allocations: 137.7 kB / 0.9531 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.307e-06/0.005066, allocations: 384 / 0.9531 GB, free: 15.64 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.29e-05/0.005079, allocations: 12.36 kB / 0.9531 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001268/0.005205, allocations: 62.78 kB / 0.9532 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.553e-06/0.005212, allocations: 192 / 0.9532 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.005221, allocations: 384 / 0.9532 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.005229, allocations: 8.125 kB / 0.9532 GB, free: 15.55 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.814e-05/0.005307, allocations: 31.98 kB / 0.9532 GB, free: 15.52 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003763/0.005684, allocations: 287.7 kB / 0.9535 GB, free: 15.2 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001071/0.005791, allocations: 46.56 kB / 0.9535 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.407e-05/0.005825, allocations: 24.94 kB / 0.9536 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.654e-05/0.005841, allocations: 0 / 0.9536 GB, free: 15.11 MB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/0.005861, allocations: 30.56 kB / 0.9536 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.005862, allocations: 0 / 0.9536 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of matching and sorting (n=3): time 0.000204/0.006066, allocations: 77.66 kB / 0.9537 GB, free: 14.99 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.522e-05/0.006101, allocations: 55.41 kB / 0.9537 GB, free: 14.93 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.076e-05/0.006192, allocations: 132.6 kB / 0.9538 GB, free: 14.79 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.006207, allocations: 29.7 kB / 0.9539 GB, free: 14.75 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 6.848e-05/0.006276, allocations: 104 kB / 0.954 GB, free: 14.65 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 1.65e-05/0.006292, allocations: 7.953 kB / 0.954 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.502e-05/0.006327, allocations: 17.7 kB / 0.954 GB, free: 14.62 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 9.406e-05/0.006421, allocations: 322.8 kB / 0.9543 GB, free: 14.29 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.798e-05/0.006459, allocations: 15.98 kB / 0.9543 GB, free: 14.28 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.581e-05/0.006485, allocations: 12 kB / 0.9543 GB, free: 14.27 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.655e-05/0.006551, allocations: 44.77 kB / 0.9544 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.006554, allocations: 0 / 0.9544 GB, free: 14.22 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.828e-05/0.006652, allocations: 65.97 kB / 0.9544 GB, free: 14.15 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.593e-05/0.006668, allocations: 4 kB / 0.9544 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.006674, allocations: 0 / 0.9544 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.006691, allocations: 0 / 0.9544 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.553e-05/0.006756, allocations: 7.984 kB / 0.9544 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.121e-06/0.006763, allocations: 0 / 0.9544 GB, free: 14.14 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.807e-05/0.006801, allocations: 11.98 kB / 0.9545 GB, free: 14.12 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.065e-05/0.006811, allocations: 7.984 kB / 0.9545 GB, free: 14.12 MB / 0.8698 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 (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 prepare postOptimizeDAE: time 9.402e-05/0.006905, allocations: 117.8 kB / 0.9546 GB, free: 13.99 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.479e-05/0.00693, allocations: 7.953 kB / 0.9546 GB, free: 13.98 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.916e-05/0.006969, allocations: 12.34 kB / 0.9546 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.699e-06/0.006974, allocations: 0 / 0.9546 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.006982, allocations: 7.922 kB / 0.9546 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.006988, allocations: 0 / 0.9546 GB, free: 13.96 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001901/0.007178, allocations: 148.7 kB / 0.9547 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-06/0.00718, allocations: 0 / 0.9547 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.758e-05/0.007218, allocations: 4 kB / 0.9547 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.007221, allocations: 4 kB / 0.9547 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-06/0.00723, allocations: 0 / 0.9547 GB, free: 13.77 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.007232, allocations: 4 kB / 0.9548 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.007233, allocations: 3.938 kB / 0.9548 GB, free: 13.76 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.007398, allocations: 155.4 kB / 0.9549 GB, free: 13.59 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.284e-05/0.007421, allocations: 19.88 kB / 0.9549 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.984e-05/0.007441, allocations: 0 / 0.9549 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.196e-05/0.007493, allocations: 7.984 kB / 0.9549 GB, free: 13.56 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.218e-05/0.007555, allocations: 7.984 kB / 0.9549 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.007559, allocations: 4 kB / 0.9549 GB, free: 13.55 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.801e-05/0.007617, allocations: 103.3 kB / 0.955 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5e-08/0.007617, allocations: 3.938 kB / 0.955 GB, free: 13.45 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0001718/0.007789, allocations: 12 kB / 0.9551 GB, free: 13.43 MB / 0.8698 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 (3): * Single equations (assignments): 3 * 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.0004854/0.008274, allocations: 0.6929 MB / 0.9557 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.0001512/0.008425, allocations: 27.98 kB / 0.9558 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.008428, allocations: 0 / 0.9558 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 3.69e-05/0.008465, allocations: 23.92 kB / 0.9558 GB, free: 12.66 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002481/0.008713, allocations: 18.59 kB / 0.9558 GB, free: 12.65 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001178/0.009892, allocations: 1.376 MB / 0.9571 GB, free: 11.19 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.65e-05/0.009948, allocations: 74.41 kB / 0.9572 GB, free: 11.1 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 4.025e-05/0.009988, allocations: 11.98 kB / 0.9572 GB, free: 11.09 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.457e-05/0.01004, allocations: 32.42 kB / 0.9573 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of SimCode: time 6.52e-07/0.01004, allocations: 0 / 0.9573 GB, free: 11.05 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.016/0.02604, allocations: 2.704 MB / 0.9599 GB, free: 8.504 MB / 0.8698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.634/6.66, allocations: 3.094 kB / 0.9599 GB, free: 8.504 MB / 0.8698 GB " [Timeout remaining time 293] (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv --start-time 0 --stop-time 10 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "Error: Could not read variable les.u in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv. Warning: Get data of variable les.u from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv failed! Error: Could not read variable les.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv. Warning: Get data of variable les.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv failed! Error: Could not read variable lesHys.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv. Warning: Get data of variable lesHys.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.826546191237867]