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.000854/0.000854, allocations: 72.45 kB / 19.17 MB, free: 0.7344 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.001039/0.001039, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.9009/0.9009, allocations: 177.1 MB / 202.8 MB, free: 5.723 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.626/1.626, allocations: 359 MB / 0.6037 GB, free: 11.07 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 3.026e-06/3.026e-06, allocations: 0 / 0.9506 GB, free: 3.41 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.229e-05/2.532e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.406 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.001587/0.001613, allocations: 0.8058 MB / 0.9514 GB, free: 2.598 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001011/0.002623, allocations: 0.9093 MB / 0.9522 GB, free: 1.676 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.241e-05/0.002706, allocations: 3.938 kB / 0.9522 GB, free: 1.672 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.002827, allocations: 15.88 kB / 0.9523 GB, free: 1.656 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 3.224e-05/0.002859, allocations: 11.88 kB / 0.9523 GB, free: 1.645 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001853/0.003045, allocations: 31.89 kB / 0.9523 GB, free: 1.613 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 9.909e-05/0.003144, allocations: 83.7 kB / 0.9524 GB, free: 1.531 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 9.956e-05/0.003243, allocations: 16 kB / 0.9524 GB, free: 1.516 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001212/0.003365, allocations: 51.81 kB / 0.9524 GB, free: 1.465 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 5.778e-05/0.003422, allocations: 19.92 kB / 0.9525 GB, free: 1.445 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 1.579e-05/0.003438, allocations: 4 kB / 0.9525 GB, free: 1.441 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 3.548e-05/0.003474, allocations: 12 kB / 0.9525 GB, free: 1.43 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 1.546e-05/0.003489, allocations: 19.91 kB / 0.9525 GB, free: 1.41 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.00351, allocations: 8 kB / 0.9525 GB, free: 1.402 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001281/0.003638, allocations: 87.73 kB / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 1.793e-06/0.00364, allocations: 0 / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of FrontEnd: time 8.42e-07/0.003641, allocations: 0 / 0.9526 GB, free: 1.316 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.003646, allocations: 3.984 kB / 0.9526 GB, free: 1.312 MB / 0.9011 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.0003789/0.004025, allocations: 321.8 kB / 0.9529 GB, free: 0.9648 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.004066, allocations: 12.03 kB / 0.9529 GB, free: 0.9531 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.828e-05/0.004095, allocations: 38.67 kB / 0.9529 GB, free: 0.9062 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.836e-05/0.004193, allocations: 12.89 kB / 0.953 GB, free: 0.8945 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001912/0.004384, allocations: 157.5 kB / 0.9531 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.287e-06/0.004393, allocations: 384 / 0.9531 GB, free: 0.7148 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.095e-05/0.004404, allocations: 8.375 kB / 0.9531 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.004519, allocations: 62.83 kB / 0.9532 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.004526, allocations: 192 / 0.9532 GB, free: 0.6406 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.004535, allocations: 4.312 kB / 0.9532 GB, free: 0.6367 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/0.004543, allocations: 8.125 kB / 0.9532 GB, free: 0.6289 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.404e-05/0.004617, allocations: 31.98 kB / 0.9532 GB, free: 0.5977 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003626/0.004979, allocations: 275.8 kB / 0.9535 GB, free: 292 kB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001065/0.005086, allocations: 50.55 kB / 0.9535 GB, free: 232 kB / 0.9011 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.441e-05/0.00512, allocations: 21 kB / 0.9536 GB, free: 208 kB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.005136, allocations: 0 / 0.9536 GB, free: 208 kB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.165e-05/0.005158, allocations: 30.56 kB / 0.9536 GB, free: 168 kB / 0.9011 GB Notification: Performance of pre-optimization done (n=3): time 8.01e-07/0.005158, allocations: 0 / 0.9536 GB, free: 168 kB / 0.9011 GB Notification: Performance of matching and sorting (n=3): time 0.0001758/0.005334, allocations: 73.7 kB / 0.9537 GB, free: 88 kB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.123e-05/0.005365, allocations: 55.41 kB / 0.9537 GB, free: 20 kB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.494e-05/0.00546, allocations: 136.3 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.005474, allocations: 29.7 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.576e-05/0.00553, allocations: 96.12 kB / 0.954 GB, free: 15.75 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.005546, allocations: 7.953 kB / 0.954 GB, free: 15.74 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.005576, allocations: 13.72 kB / 0.954 GB, free: 15.72 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.939e-05/0.005666, allocations: 326.8 kB / 0.9543 GB, free: 15.39 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.244e-05/0.005698, allocations: 15.98 kB / 0.9543 GB, free: 15.38 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.642e-05/0.005725, allocations: 16 kB / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.492e-05/0.00578, allocations: 37.11 kB / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.165e-06/0.005782, allocations: 0 / 0.9544 GB, free: 15.32 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.603e-05/0.005868, allocations: 73.56 kB / 0.9544 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.005883, allocations: 4 kB / 0.9544 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.005888, allocations: 0 / 0.9544 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.005901, allocations: 0 / 0.9544 GB, free: 15.24 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.355e-05/0.005954, allocations: 7.984 kB / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.00596, allocations: 0 / 0.9544 GB, free: 15.23 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.738e-05/0.005997, allocations: 19.86 kB / 0.9545 GB, free: 15.21 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/0.006003, allocations: 4 kB / 0.9545 GB, free: 15.21 MB / 0.9167 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 7.205e-05/0.006075, allocations: 121.7 kB / 0.9546 GB, free: 15.08 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.563e-05/0.006091, allocations: 7.953 kB / 0.9546 GB, free: 15.07 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.621e-05/0.006117, allocations: 12.34 kB / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.00612, allocations: 0 / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.006124, allocations: 0 / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.006127, allocations: 0 / 0.9546 GB, free: 15.05 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001127/0.00624, allocations: 152.7 kB / 0.9547 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.006242, allocations: 3.984 kB / 0.9547 GB, free: 14.86 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.581e-05/0.006258, allocations: 4 kB / 0.9547 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.12e-07/0.006259, allocations: 4 kB / 0.9547 GB, free: 14.85 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.711e-06/0.006264, allocations: 3.938 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.885e-06/0.006267, allocations: 4 kB / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.006268, allocations: 0 / 0.9548 GB, free: 14.84 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.362e-05/0.006361, allocations: 155.4 kB / 0.9549 GB, free: 14.67 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.039e-05/0.006372, allocations: 11.95 kB / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.006385, allocations: 3.984 kB / 0.9549 GB, free: 14.66 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.367e-05/0.006429, allocations: 4 kB / 0.9549 GB, free: 14.65 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.628e-05/0.006475, allocations: 11.97 kB / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.655e-06/0.006478, allocations: 4 kB / 0.9549 GB, free: 14.64 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.559e-05/0.006524, allocations: 105.8 kB / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of sort global known variables: time 7e-08/0.006524, allocations: 0 / 0.955 GB, free: 14.54 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001413/0.006665, allocations: 12 kB / 0.9551 GB, free: 14.52 MB / 0.9167 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.0002724/0.006937, allocations: 0.6928 MB / 0.9557 GB, free: 13.8 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 9.15e-05/0.007029, allocations: 31.97 kB / 0.9558 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.443e-06/0.00703, allocations: 0 / 0.9558 GB, free: 13.77 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 3.053e-05/0.007061, allocations: 23.92 kB / 0.9558 GB, free: 13.75 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001829/0.007244, allocations: 12 kB / 0.9558 GB, free: 13.74 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009789/0.008223, allocations: 1.38 MB / 0.9571 GB, free: 12.28 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.238e-05/0.008275, allocations: 72.7 kB / 0.9572 GB, free: 12.19 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.146e-05/0.008307, allocations: 8 kB / 0.9572 GB, free: 12.18 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.008359, allocations: 28.48 kB / 0.9572 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of SimCode: time 6.11e-07/0.00836, allocations: 0 / 0.9572 GB, free: 12.15 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0159/0.02426, allocations: 2.707 MB / 0.9599 GB, free: 9.605 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.62/6.644, allocations: 4.594 kB / 0.9599 GB, free: 9.602 MB / 0.9167 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 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.mat","/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.657697358168662]