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.001495/0.001495, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001644/0.001644, allocations: 210.2 kB / 22.24 MB, free: 5.262 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.5/1.5, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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 3.447/3.447, allocations: 0.5107 GB / 0.8158 GB, free: 17.89 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: 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.002365/0.002365, allocations: 67.48 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4276/0.43, allocations: 181.9 MB / 1.363 GB, free: 14.12 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002397/0.4324, allocations: 0.8347 MB / 1.364 GB, free: 13.29 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001339/0.4337, allocations: 0.9249 MB / 1.365 GB, free: 12.35 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001116/0.4338, allocations: 7.938 kB / 1.365 GB, free: 12.34 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001363/0.434, allocations: 15.8 kB / 1.365 GB, free: 12.32 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 4.984e-05/0.434, allocations: 11.88 kB / 1.365 GB, free: 12.31 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002238/0.4343, allocations: 39.89 kB / 1.365 GB, free: 12.27 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0001665/0.4344, allocations: 107.8 kB / 1.365 GB, free: 12.17 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.4345, allocations: 23.98 kB / 1.365 GB, free: 12.14 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001795/0.4347, allocations: 47.84 kB / 1.365 GB, free: 12.1 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.141e-05/0.4348, allocations: 39.77 kB / 1.365 GB, free: 12.06 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.4348, allocations: 8 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.436e-05/0.4349, allocations: 8 kB / 1.365 GB, free: 12.04 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.831e-05/0.4349, allocations: 23.92 kB / 1.365 GB, free: 12.02 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 4.096e-05/0.4349, allocations: 27.81 kB / 1.366 GB, free: 11.99 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001927/0.4351, allocations: 115.7 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 3.757e-06/0.4351, allocations: 0 / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.112e-06/0.4351, allocations: 4 kB / 1.366 GB, free: 11.88 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.282e-06/0.4351, allocations: 0 / 1.366 GB, free: 11.88 MB / 1.061 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.0006522/0.4358, allocations: 337.9 kB / 1.366 GB, free: 11.51 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.096e-05/0.4358, allocations: 8.031 kB / 1.366 GB, free: 11.5 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.896e-05/0.4359, allocations: 38.75 kB / 1.366 GB, free: 11.46 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001563/0.436, allocations: 16.88 kB / 1.366 GB, free: 11.44 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.4363, allocations: 154.3 kB / 1.366 GB, free: 11.27 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.556e-05/0.4363, allocations: 8.375 kB / 1.366 GB, free: 11.26 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.458e-05/0.4363, allocations: 4.375 kB / 1.366 GB, free: 11.25 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002588/0.4366, allocations: 94.14 kB / 1.366 GB, free: 11.16 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.08e-05/0.4366, allocations: 3.938 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.4366, allocations: 0 / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4366, allocations: 0 / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002566/0.4369, allocations: 75.94 kB / 1.366 GB, free: 11.08 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005679/0.4375, allocations: 303.7 kB / 1.367 GB, free: 10.74 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002493/0.4377, allocations: 62.53 kB / 1.367 GB, free: 10.67 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000125/0.4378, allocations: 36.92 kB / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.737e-05/0.4378, allocations: 0 / 1.367 GB, free: 10.63 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.4379, allocations: 34.56 kB / 1.367 GB, free: 10.59 MB / 1.061 GB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.4379, allocations: 4 kB / 1.367 GB, free: 10.58 MB / 1.061 GB Notification: Performance of matching and sorting (n=4): time 0.0004665/0.4383, allocations: 125.5 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.39e-05/0.4384, allocations: 51.41 kB / 1.367 GB, free: 10.39 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.4385, allocations: 140.2 kB / 1.367 GB, free: 10.25 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.367e-05/0.4385, allocations: 29.7 kB / 1.367 GB, free: 10.21 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 7.594e-05/0.4386, allocations: 108 kB / 1.367 GB, free: 10.1 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.224e-05/0.4386, allocations: 11.89 kB / 1.367 GB, free: 10.09 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-05/0.4387, allocations: 21.72 kB / 1.367 GB, free: 10.06 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.4388, allocations: 322.8 kB / 1.368 GB, free: 9.738 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001284/0.439, allocations: 31.91 kB / 1.368 GB, free: 9.707 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001148/0.4391, allocations: 35.97 kB / 1.368 GB, free: 9.672 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002316/0.4393, allocations: 56.75 kB / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.4393, allocations: 0 / 1.368 GB, free: 9.613 MB / 1.061 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002867/0.4396, allocations: 101.6 kB / 1.368 GB, free: 9.508 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.4396, allocations: 4 kB / 1.368 GB, free: 9.504 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.4396, allocations: 4 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.4396, allocations: 0 / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.4397, allocations: 11.98 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.494e-06/0.4397, allocations: 3.938 kB / 1.368 GB, free: 9.484 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001106/0.4398, allocations: 15.98 kB / 1.368 GB, free: 9.469 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.4399, allocations: 7.984 kB / 1.368 GB, free: 9.461 MB / 1.061 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.0001056/0.44, allocations: 117.8 kB / 1.368 GB, free: 9.336 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.07e-05/0.44, allocations: 7.891 kB / 1.368 GB, free: 9.328 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.599e-05/0.44, allocations: 12.34 kB / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.44, allocations: 192 / 1.368 GB, free: 9.305 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.725e-06/0.44, allocations: 11.88 kB / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.44, allocations: 0 / 1.368 GB, free: 9.293 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002033/0.4402, allocations: 156.7 kB / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.4402, allocations: 0 / 1.368 GB, free: 9.098 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.671e-05/0.4403, allocations: 15.98 kB / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.4403, allocations: 0 / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.4403, allocations: 0 / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.4403, allocations: 0 / 1.368 GB, free: 9.082 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.627e-06/0.4403, allocations: 3.938 kB / 1.368 GB, free: 9.078 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003399/0.4407, allocations: 187.5 kB / 1.368 GB, free: 8.879 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 1.592e-05/0.4407, allocations: 3.953 kB / 1.368 GB, free: 8.875 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.576e-05/0.4407, allocations: 7.984 kB / 1.368 GB, free: 8.867 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/0.4409, allocations: 15.98 kB / 1.368 GB, free: 8.852 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.205e-05/0.4409, allocations: 23.84 kB / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.731e-06/0.4409, allocations: 0 / 1.368 GB, free: 8.828 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.317e-05/0.441, allocations: 101.3 kB / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of sort global known variables: time 8e-08/0.441, allocations: 0 / 1.368 GB, free: 8.73 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.000243/0.4412, allocations: 15.94 kB / 1.368 GB, free: 8.715 MB / 1.061 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.000664/0.4419, allocations: 0.7202 MB / 1.369 GB, free: 7.969 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002852/0.4422, allocations: 67.88 kB / 1.369 GB, free: 7.902 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.4422, allocations: 3.938 kB / 1.369 GB, free: 7.898 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.4423, allocations: 31.98 kB / 1.369 GB, free: 7.867 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002772/0.4426, allocations: 11.92 kB / 1.369 GB, free: 7.855 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001989/0.4446, allocations: 1.478 MB / 1.371 GB, free: 6.297 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.38e-05/0.4447, allocations: 83.31 kB / 1.371 GB, free: 6.195 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.17e-05/0.4447, allocations: 7.984 kB / 1.371 GB, free: 6.188 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.98e-05/0.4448, allocations: 27.42 kB / 1.371 GB, free: 6.16 MB / 1.061 GB Notification: Performance of SimCode: time 3.7e-07/0.4448, allocations: 0 / 1.371 GB, free: 6.16 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0299/0.4747, allocations: 2.799 MB / 1.374 GB, free: 3.512 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.53/12.01, allocations: 4.109 kB / 1.374 GB, free: 3.512 MB / 1.061 GB " [Timeout remaining time 288] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 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.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/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] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 19.07695809705183]