Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008266/0.0008266, 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.000834/0.000834, 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.8879/0.8879, allocations: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.801/1.801, allocations: 389 MB / 0.633 GB, free: 12.68 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.9997 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.699e-05/1.913e-05, allocations: 2.281 kB / 0.9997 GB, free: 13.41 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001324/0.001343, allocations: 0.835 MB / 1.001 GB, free: 12.57 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.0008425/0.002185, allocations: 0.9218 MB / 1.001 GB, free: 11.64 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.025e-05/0.002265, allocations: 4 kB / 1.001 GB, free: 11.63 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 0.000112/0.002377, allocations: 15.8 kB / 1.001 GB, free: 11.62 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 3.355e-05/0.002411, allocations: 11.88 kB / 1.001 GB, free: 11.61 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001889/0.0026, allocations: 55.7 kB / 1.002 GB, free: 11.55 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 0.0001053/0.002705, allocations: 107.7 kB / 1.002 GB, free: 11.45 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001127/0.002818, allocations: 23.98 kB / 1.002 GB, free: 11.42 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001562/0.002974, allocations: 63.88 kB / 1.002 GB, free: 11.36 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 5.498e-05/0.003029, allocations: 23.91 kB / 1.002 GB, free: 11.34 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.716e-05/0.003046, allocations: 8 kB / 1.002 GB, free: 11.33 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 3.884e-05/0.003085, allocations: 12 kB / 1.002 GB, free: 11.32 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.617e-05/0.003101, allocations: 23.91 kB / 1.002 GB, free: 11.29 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.703e-05/0.003128, allocations: 23.92 kB / 1.002 GB, free: 11.27 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0001394/0.003268, allocations: 111.5 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.114e-06/0.00327, allocations: 4 kB / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of FrontEnd: time 1.012e-06/0.003271, allocations: 0 / 1.002 GB, free: 11.16 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.003276, allocations: 4 kB / 1.002 GB, free: 11.15 MB / 0.9636 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.0004389/0.003714, allocations: 332 kB / 1.002 GB, free: 10.8 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.003752, allocations: 8.75 kB / 1.002 GB, free: 10.79 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.845e-05/0.00379, allocations: 38.73 kB / 1.002 GB, free: 10.74 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.003894, allocations: 20.84 kB / 1.002 GB, free: 10.72 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002458/0.004139, allocations: 147.5 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.00415, allocations: 8.375 kB / 1.002 GB, free: 10.55 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/0.004162, allocations: 4.375 kB / 1.002 GB, free: 10.54 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001597/0.004321, allocations: 98.14 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.703e-06/0.004328, allocations: 192 / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.678e-06/0.004338, allocations: 384 / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/0.004343, allocations: 4.125 kB / 1.003 GB, free: 10.44 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001295/0.004473, allocations: 79.92 kB / 1.003 GB, free: 10.36 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/0.00483, allocations: 303.7 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.00497, allocations: 62.53 kB / 1.003 GB, free: 9.949 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.973e-05/0.005029, allocations: 36.92 kB / 1.003 GB, free: 9.91 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.005042, allocations: 4 kB / 1.003 GB, free: 9.906 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.72e-05/0.00506, allocations: 38.5 kB / 1.003 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 9.01e-07/0.00506, allocations: 0 / 1.003 GB, free: 9.859 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.0002533/0.005314, allocations: 117.5 kB / 1.003 GB, free: 9.738 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.053e-05/0.005404, allocations: 55.41 kB / 1.003 GB, free: 9.672 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.352e-05/0.005478, allocations: 133.7 kB / 1.003 GB, free: 9.531 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.005491, allocations: 25.7 kB / 1.003 GB, free: 9.5 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 4.859e-05/0.005539, allocations: 108.1 kB / 1.003 GB, free: 9.391 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 1.664e-05/0.005556, allocations: 15.84 kB / 1.003 GB, free: 9.375 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.942e-05/0.005585, allocations: 17.72 kB / 1.004 GB, free: 9.352 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 7.981e-05/0.005665, allocations: 326.8 kB / 1.004 GB, free: 9.023 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.52e-05/0.00573, allocations: 27.97 kB / 1.004 GB, free: 8.996 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.485e-05/0.005785, allocations: 31.97 kB / 1.004 GB, free: 8.965 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001061/0.005891, allocations: 68.81 kB / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.005893, allocations: 0 / 1.004 GB, free: 8.895 MB / 0.9636 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00014/0.006033, allocations: 97.59 kB / 1.004 GB, free: 8.793 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.29e-05/0.006046, allocations: 6.344 kB / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.006051, allocations: 0 / 1.004 GB, free: 8.789 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.006062, allocations: 4 kB / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.37e-05/0.006126, allocations: 7.984 kB / 1.004 GB, free: 8.777 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.006131, allocations: 4 kB / 1.004 GB, free: 8.773 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.706e-05/0.006178, allocations: 19.97 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.803e-06/0.006185, allocations: 3.938 kB / 1.004 GB, free: 8.75 MB / 0.9636 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 6.341e-05/0.006249, allocations: 117.8 kB / 1.004 GB, free: 8.625 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.608e-05/0.006265, allocations: 7.953 kB / 1.004 GB, free: 8.617 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.006288, allocations: 16.28 kB / 1.004 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-06/0.006289, allocations: 0 / 1.004 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.228e-06/0.006294, allocations: 0 / 1.004 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.404e-06/0.006296, allocations: 0 / 1.004 GB, free: 8.594 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001167/0.006413, allocations: 156.7 kB / 1.004 GB, free: 8.398 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.006414, allocations: 4 kB / 1.004 GB, free: 8.395 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.413e-05/0.006448, allocations: 11.98 kB / 1.004 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.122e-06/0.006449, allocations: 0 / 1.004 GB, free: 8.383 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.682e-06/0.006455, allocations: 4 kB / 1.004 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.006456, allocations: 0 / 1.004 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.006457, allocations: 0 / 1.004 GB, free: 8.379 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001615/0.006619, allocations: 187.4 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 1.414e-05/0.006633, allocations: 15.88 kB / 1.005 GB, free: 8.164 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.372e-05/0.006646, allocations: 4.062 kB / 1.005 GB, free: 8.16 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.977e-05/0.006706, allocations: 19.98 kB / 1.005 GB, free: 8.141 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.336e-05/0.00675, allocations: 11.97 kB / 1.005 GB, free: 8.129 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.006753, allocations: 7.938 kB / 1.005 GB, free: 8.121 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 4.15e-05/0.006795, allocations: 99.27 kB / 1.005 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.006795, allocations: 0 / 1.005 GB, free: 8.023 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001518/0.006947, allocations: 19.88 kB / 1.005 GB, free: 8.004 MB / 0.9636 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.0004606/0.007407, allocations: 0.7204 MB / 1.005 GB, free: 7.258 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001596/0.007567, allocations: 67.88 kB / 1.006 GB, free: 7.191 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.202e-06/0.007568, allocations: 4 kB / 1.006 GB, free: 7.188 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 6.025e-05/0.007628, allocations: 27.97 kB / 1.006 GB, free: 7.16 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002017/0.00783, allocations: 19.98 kB / 1.006 GB, free: 7.141 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001143/0.008973, allocations: 1.48 MB / 1.007 GB, free: 5.57 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.28e-05/0.009026, allocations: 79.33 kB / 1.007 GB, free: 5.473 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.684e-05/0.009063, allocations: 7.938 kB / 1.007 GB, free: 5.465 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.992e-05/0.009113, allocations: 28.48 kB / 1.007 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of SimCode: time 5.01e-07/0.009114, allocations: 0 / 1.007 GB, free: 5.438 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01438/0.0235, allocations: 2.926 MB / 1.01 GB, free: 2.648 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.781/6.804, allocations: 2.812 kB / 1.01 GB, free: 2.648 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv --start-time 0 --stop-time 10 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.004 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable les.u1 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! Error: Could not read variable les.u2 in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable les.u2 from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! Error: Could not read variable les.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable les.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! Error: Could not read variable lesHys.y in file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv. Warning: Get data of variable lesHys.y from file Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.csv failed! " [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 11.05367797613144]