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.000804/0.000804, allocations: 80.44 kB / 19.17 MB, free: 0.7461 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.0007783/0.0007783, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8699/0.8699, allocations: 177.1 MB / 202.8 MB, free: 5.738 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.662/1.662, 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.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: Performance of FrontEnd - loaded program: time 2.595e-06/2.595e-06, allocations: 0 / 0.9506 GB, free: 3.398 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.178e-05/2.438e-05, allocations: 2.281 kB / 0.9506 GB, free: 3.395 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001705/0.00173, allocations: 0.8436 MB / 0.9514 GB, free: 2.543 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.001101/0.002831, allocations: 0.9216 MB / 0.9523 GB, free: 1.609 MB / 0.9011 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001333/0.002964, allocations: 7.938 kB / 0.9523 GB, free: 1.602 MB / 0.9011 GB Notification: Performance of NFTyping.typeComponents: time 0.0001495/0.003114, allocations: 7.875 kB / 0.9523 GB, free: 1.594 MB / 0.9011 GB Notification: Performance of NFTyping.typeBindings: time 4.646e-05/0.00316, allocations: 19.86 kB / 0.9523 GB, free: 1.574 MB / 0.9011 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.00345, allocations: 39.83 kB / 0.9524 GB, free: 1.535 MB / 0.9011 GB Notification: Performance of NFFlatten.flatten: time 0.0001495/0.003599, allocations: 103.7 kB / 0.9525 GB, free: 1.434 MB / 0.9011 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001544/0.003754, allocations: 39.86 kB / 0.9525 GB, free: 1.395 MB / 0.9011 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002266/0.00398, allocations: 59.83 kB / 0.9526 GB, free: 1.336 MB / 0.9011 GB Notification: Performance of NFSimplifyModel.simplify: time 8.258e-05/0.004063, allocations: 35.89 kB / 0.9526 GB, free: 1.301 MB / 0.9011 GB Notification: Performance of NFPackage.collectConstants: time 2.515e-05/0.004088, allocations: 8 kB / 0.9526 GB, free: 1.293 MB / 0.9011 GB Notification: Performance of NFFlatten.collectFunctions: time 5.877e-05/0.004147, allocations: 11.94 kB / 0.9526 GB, free: 1.281 MB / 0.9011 GB Notification: Performance of NFScalarize.scalarize: time 2.136e-05/0.004168, allocations: 19.97 kB / 0.9526 GB, free: 1.262 MB / 0.9011 GB Notification: Performance of NFVerifyModel.verify: time 3.171e-05/0.0042, allocations: 19.94 kB / 0.9526 GB, free: 1.242 MB / 0.9011 GB Notification: Performance of NFConvertDAE.convert: time 0.0001919/0.004392, allocations: 111.6 kB / 0.9527 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.004394, allocations: 0 / 0.9527 GB, free: 1.133 MB / 0.9011 GB Notification: Performance of FrontEnd: time 1.082e-06/0.004395, allocations: 4 kB / 0.9528 GB, free: 1.129 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.0044, allocations: 0 / 0.9528 GB, free: 1.129 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0004734/0.004874, allocations: 341.9 kB / 0.9531 GB, free: 0.7617 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.308e-05/0.004917, allocations: 12.03 kB / 0.9531 GB, free: 0.75 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.252e-05/0.004949, allocations: 34.75 kB / 0.9531 GB, free: 0.707 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001186/0.005068, allocations: 20.88 kB / 0.9531 GB, free: 0.6875 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.005302, allocations: 156 kB / 0.9533 GB, free: 0.5117 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.238e-05/0.005315, allocations: 4.375 kB / 0.9533 GB, free: 0.5078 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.274e-05/0.005327, allocations: 4.375 kB / 0.9533 GB, free: 0.5039 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001801/0.005507, allocations: 86.2 kB / 0.9534 GB, free: 424 kB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.944e-06/0.005515, allocations: 192 / 0.9534 GB, free: 424 kB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.005528, allocations: 8.375 kB / 0.9534 GB, free: 416 kB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.961e-06/0.005534, allocations: 4.125 kB / 0.9534 GB, free: 412 kB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001304/0.005664, allocations: 67.94 kB / 0.9535 GB, free: 344 kB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005128/0.006177, allocations: 307.7 kB / 0.9538 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001567/0.006334, allocations: 62.55 kB / 0.9538 GB, free: 15.92 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.539e-05/0.006399, allocations: 36.86 kB / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 1.726e-05/0.006416, allocations: 0 / 0.9538 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.125e-05/0.006438, allocations: 30.56 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=4): time 1.031e-06/0.006439, allocations: 4 kB / 0.9539 GB, free: 15.84 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4): time 0.000294/0.006733, allocations: 121.6 kB / 0.954 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.006764, allocations: 51.41 kB / 0.954 GB, free: 15.65 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.307e-05/0.006857, allocations: 137.8 kB / 0.9542 GB, free: 15.51 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 1.368e-05/0.006871, allocations: 25.7 kB / 0.9542 GB, free: 15.48 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 5.953e-05/0.00693, allocations: 104.1 kB / 0.9543 GB, free: 15.37 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 1.759e-05/0.006948, allocations: 11.89 kB / 0.9543 GB, free: 15.36 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.375e-05/0.006982, allocations: 25.7 kB / 0.9543 GB, free: 15.33 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 8.855e-05/0.00707, allocations: 322.8 kB / 0.9546 GB, free: 15 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.729e-05/0.007138, allocations: 35.86 kB / 0.9547 GB, free: 14.97 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001211/0.007259, allocations: 31.97 kB / 0.9547 GB, free: 14.94 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001301/0.007389, allocations: 56.94 kB / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.007392, allocations: 0 / 0.9548 GB, free: 14.88 MB / 0.9167 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001676/0.00756, allocations: 101.6 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.007575, allocations: 4 kB / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.007581, allocations: 0 / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.007595, allocations: 0 / 0.9549 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.069e-05/0.007676, allocations: 15.98 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.32e-06/0.007681, allocations: 3.938 kB / 0.9549 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.697e-05/0.007738, allocations: 27.92 kB / 0.9549 GB, free: 14.72 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.576e-06/0.007747, allocations: 3.938 kB / 0.9549 GB, free: 14.72 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 (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 7.028e-05/0.007817, allocations: 113.8 kB / 0.955 GB, free: 14.6 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.518e-05/0.007832, allocations: 4 kB / 0.955 GB, free: 14.59 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.868e-05/0.007861, allocations: 12.52 kB / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.367e-06/0.007864, allocations: 7.984 kB / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/0.007869, allocations: 0 / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.007872, allocations: 0 / 0.955 GB, free: 14.57 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001393/0.008012, allocations: 156.6 kB / 0.9552 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.008013, allocations: 0 / 0.9552 GB, free: 14.37 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.511e-05/0.008048, allocations: 19.92 kB / 0.9552 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.00805, allocations: 0 / 0.9552 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.595e-06/0.008057, allocations: 0 / 0.9552 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.91e-07/0.008058, allocations: 0 / 0.9552 GB, free: 14.35 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.00806, allocations: 7.984 kB / 0.9552 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.00825, allocations: 191.3 kB / 0.9554 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 1.308e-05/0.008264, allocations: 4 kB / 0.9554 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.591e-05/0.008279, allocations: 0 / 0.9554 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.387e-05/0.008343, allocations: 28.03 kB / 0.9554 GB, free: 14.11 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.088e-05/0.008394, allocations: 7.984 kB / 0.9554 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.008398, allocations: 0 / 0.9554 GB, free: 14.1 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.907e-05/0.008447, allocations: 105.3 kB / 0.9555 GB, free: 14 MB / 0.9167 GB Notification: Performance of sort global known variables: time 8e-08/0.008447, allocations: 0 / 0.9555 GB, free: 14 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0001574/0.008605, allocations: 23.83 kB / 0.9556 GB, free: 13.98 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 (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.0004433/0.009048, allocations: 0.7163 MB / 0.9563 GB, free: 13.23 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0001882/0.009236, allocations: 67.88 kB / 0.9563 GB, free: 13.17 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.009238, allocations: 7.938 kB / 0.9563 GB, free: 13.16 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 6.092e-05/0.009299, allocations: 31.97 kB / 0.9564 GB, free: 13.13 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002348/0.009534, allocations: 8 kB / 0.9564 GB, free: 13.12 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001246/0.01078, allocations: 1.484 MB / 0.9578 GB, free: 11.55 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.796e-05/0.01084, allocations: 75.33 kB / 0.9579 GB, free: 11.46 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 3.764e-05/0.01088, allocations: 11.98 kB / 0.9579 GB, free: 11.45 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.795e-05/0.01093, allocations: 28.48 kB / 0.9579 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of SimCode: time 7.41e-07/0.01093, allocations: 0 / 0.9579 GB, free: 11.42 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0176/0.02854, allocations: 2.921 MB / 0.9608 GB, free: 8.656 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.771/6.8, allocations: 5.094 kB / 0.9608 GB, free: 8.656 MB / 0.9167 GB " [Timeout remaining time 293] (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 & python3 -m fmpy simulate --output-file Buildings_11_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_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.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins/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] "Error: Could not read variable les.u1 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable les.u1 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! Error: Could not read variable les.u2 in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable les.u2 from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! Error: Could not read variable les.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable les.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! Error: Could not read variable lesHys.y in file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable lesHys.y from file Buildings_11_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 10.935467408038676]