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.001428/0.001428, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001677/0.001677, allocations: 218.2 kB / 22.25 MB, free: 5.125 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.988 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.287/3.287, allocations: 0.505 GB / 0.8101 GB, free: 22.04 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.002054/0.002054, allocations: 71.66 kB / 1.177 GB, free: 17.09 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4361/0.4381, allocations: 180.2 MB / 1.353 GB, free: 8.438 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.002138/0.4403, allocations: 0.8761 MB / 1.354 GB, free: 7.566 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001186/0.4415, allocations: 0.9289 MB / 1.355 GB, free: 6.625 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.129e-05/0.4415, allocations: 3.938 kB / 1.355 GB, free: 6.621 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001183/0.4417, allocations: 15.86 kB / 1.355 GB, free: 6.605 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 4.439e-05/0.4417, allocations: 15.81 kB / 1.355 GB, free: 6.59 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002125/0.4419, allocations: 43.88 kB / 1.355 GB, free: 6.547 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0001443/0.4421, allocations: 103.7 kB / 1.355 GB, free: 6.445 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001263/0.4422, allocations: 27.98 kB / 1.355 GB, free: 6.418 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001563/0.4423, allocations: 55.77 kB / 1.355 GB, free: 6.363 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.809e-05/0.4424, allocations: 35.84 kB / 1.355 GB, free: 6.328 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.4424, allocations: 8 kB / 1.355 GB, free: 6.32 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.313e-05/0.4425, allocations: 12 kB / 1.355 GB, free: 6.309 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 2.418e-05/0.4425, allocations: 19.92 kB / 1.355 GB, free: 6.289 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.4426, allocations: 39.73 kB / 1.355 GB, free: 6.25 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001704/0.4427, allocations: 107.8 kB / 1.355 GB, free: 6.145 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.4427, allocations: 4 kB / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.373e-06/0.4427, allocations: 0 / 1.355 GB, free: 6.141 MB / 1.045 GB Notification: Performance of Transformations before backend: time 1.827e-05/0.4427, allocations: 0 / 1.355 GB, free: 6.141 MB / 1.045 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.000643/0.4434, allocations: 349.8 kB / 1.355 GB, free: 5.766 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.734e-05/0.4434, allocations: 8.031 kB / 1.355 GB, free: 5.758 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.156e-05/0.4435, allocations: 34.73 kB / 1.356 GB, free: 5.715 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001468/0.4436, allocations: 24.88 kB / 1.356 GB, free: 5.691 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002445/0.4439, allocations: 144.4 kB / 1.356 GB, free: 5.527 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.424e-05/0.4439, allocations: 8.375 kB / 1.356 GB, free: 5.52 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.607e-05/0.4439, allocations: 4.375 kB / 1.356 GB, free: 5.516 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002361/0.4441, allocations: 86.2 kB / 1.356 GB, free: 5.426 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.4441, allocations: 7.938 kB / 1.356 GB, free: 5.418 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.283e-05/0.4441, allocations: 7.938 kB / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.4442, allocations: 0 / 1.356 GB, free: 5.41 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002385/0.4444, allocations: 71.94 kB / 1.356 GB, free: 5.34 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005071/0.4449, allocations: 315.7 kB / 1.356 GB, free: 4.988 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002387/0.4451, allocations: 74.53 kB / 1.356 GB, free: 4.906 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000116/0.4453, allocations: 36.86 kB / 1.356 GB, free: 4.867 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 2.184e-05/0.4453, allocations: 0 / 1.356 GB, free: 4.867 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.024e-05/0.4453, allocations: 30.56 kB / 1.356 GB, free: 4.828 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.4453, allocations: 4 kB / 1.356 GB, free: 4.824 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0004437/0.4457, allocations: 125.7 kB / 1.356 GB, free: 4.695 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.633e-05/0.4458, allocations: 55.34 kB / 1.356 GB, free: 4.629 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.4459, allocations: 137.7 kB / 1.357 GB, free: 4.484 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/0.4459, allocations: 29.7 kB / 1.357 GB, free: 4.449 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 7.035e-05/0.446, allocations: 108 kB / 1.357 GB, free: 4.34 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.446, allocations: 7.953 kB / 1.357 GB, free: 4.332 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.188e-05/0.4461, allocations: 17.72 kB / 1.357 GB, free: 4.309 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001449/0.4462, allocations: 322.8 kB / 1.357 GB, free: 3.984 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.4463, allocations: 31.97 kB / 1.357 GB, free: 3.953 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.4464, allocations: 27.97 kB / 1.357 GB, free: 3.926 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002078/0.4466, allocations: 56.81 kB / 1.357 GB, free: 3.867 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4466, allocations: 4 kB / 1.357 GB, free: 3.863 MB / 1.045 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002992/0.4469, allocations: 105.7 kB / 1.357 GB, free: 3.754 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.4469, allocations: 8 kB / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.497e-06/0.447, allocations: 0 / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.16e-05/0.447, allocations: 0 / 1.357 GB, free: 3.746 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.743e-05/0.4471, allocations: 11.98 kB / 1.357 GB, free: 3.734 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.637e-06/0.4471, allocations: 3.938 kB / 1.357 GB, free: 3.73 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001028/0.4472, allocations: 19.98 kB / 1.357 GB, free: 3.711 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.898e-06/0.4472, allocations: 4 kB / 1.357 GB, free: 3.707 MB / 1.045 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 9.368e-05/0.4473, allocations: 121.8 kB / 1.357 GB, free: 3.578 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.4473, allocations: 7.953 kB / 1.357 GB, free: 3.57 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.899e-05/0.4473, allocations: 8.344 kB / 1.357 GB, free: 3.559 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.4473, allocations: 0 / 1.357 GB, free: 3.559 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4473, allocations: 3.938 kB / 1.357 GB, free: 3.555 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.4473, allocations: 4 kB / 1.357 GB, free: 3.551 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.4475, allocations: 164.7 kB / 1.358 GB, free: 3.348 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.4475, allocations: 4 kB / 1.358 GB, free: 3.344 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.057e-05/0.4476, allocations: 15.92 kB / 1.358 GB, free: 3.328 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.4476, allocations: 0 / 1.358 GB, free: 3.328 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.894e-06/0.4476, allocations: 0 / 1.358 GB, free: 3.328 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.4476, allocations: 0 / 1.358 GB, free: 3.328 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.4476, allocations: 3.938 kB / 1.358 GB, free: 3.324 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003032/0.4479, allocations: 191.5 kB / 1.358 GB, free: 3.121 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.286e-05/0.448, allocations: 3.953 kB / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.809e-05/0.448, allocations: 0 / 1.358 GB, free: 3.117 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000127/0.4481, allocations: 15.98 kB / 1.358 GB, free: 3.102 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.004e-05/0.4482, allocations: 23.84 kB / 1.358 GB, free: 3.078 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.06e-06/0.4482, allocations: 3.938 kB / 1.358 GB, free: 3.074 MB / 1.045 GB Notification: Performance of sorting global known variables: time 8.288e-05/0.4482, allocations: 101 kB / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of sort global known variables: time 1.11e-07/0.4482, allocations: 0 / 1.358 GB, free: 2.977 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002312/0.4485, allocations: 23.89 kB / 1.358 GB, free: 2.953 MB / 1.045 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.0006336/0.4491, allocations: 0.7163 MB / 1.359 GB, free: 2.211 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0002711/0.4494, allocations: 67.94 kB / 1.359 GB, free: 2.145 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.4494, allocations: 0 / 1.359 GB, free: 2.145 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0001273/0.4495, allocations: 35.91 kB / 1.359 GB, free: 2.109 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002658/0.4498, allocations: 19.02 kB / 1.359 GB, free: 2.094 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001988/0.4518, allocations: 1.484 MB / 1.36 GB, free: 0.5195 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003858/0.4522, allocations: 0.6885 MB / 1.361 GB, free: 15.8 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 5.134e-05/0.4522, allocations: 12.17 kB / 1.361 GB, free: 15.79 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.018e-05/0.4523, allocations: 27.42 kB / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of SimCode: time 3.8e-07/0.4523, allocations: 0 / 1.361 GB, free: 15.77 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02983/0.4821, allocations: 2.324 MB / 1.363 GB, free: 13.57 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.19/11.67, allocations: 13.92 kB / 1.363 GB, free: 13.57 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: 18.62415141495876]