Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001682/0.001682, allocations: 105.6 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001872/0.001872, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.465/1.465, allocations: 225.6 MB / 247.8 MB, free: 3.734 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.934/2.934, allocations: 497.2 MB / 0.7812 GB, free: 12 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002072/0.002072, allocations: 75.89 kB / 1.134 GB, free: 11.03 MB / 0.8731 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.038/1.04, allocations: 173.9 MB / 1.304 GB, free: 15.69 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.002279/1.042, allocations: 0.8299 MB / 1.305 GB, free: 15.16 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001198/1.044, allocations: 0.8738 MB / 1.306 GB, free: 14.5 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.075e-05/1.044, allocations: 2.5 kB / 1.306 GB, free: 14.5 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 0.0001357/1.044, allocations: 15.11 kB / 1.306 GB, free: 14.48 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 3.866e-05/1.044, allocations: 6.656 kB / 1.306 GB, free: 14.48 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001764/1.044, allocations: 26.48 kB / 1.306 GB, free: 14.46 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 0.0001398/1.044, allocations: 84.73 kB / 1.306 GB, free: 14.42 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001283/1.044, allocations: 18.8 kB / 1.306 GB, free: 14.41 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 8.876e-05/1.044, allocations: 34.75 kB / 1.306 GB, free: 14.39 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 8.41e-05/1.045, allocations: 28.23 kB / 1.306 GB, free: 14.38 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 2.042e-05/1.045, allocations: 6.312 kB / 1.306 GB, free: 14.38 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 1.333e-05/1.045, allocations: 5.625 kB / 1.306 GB, free: 14.38 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/1.045, allocations: 15.94 kB / 1.306 GB, free: 14.36 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 3.866e-05/1.045, allocations: 28.03 kB / 1.306 GB, free: 14.34 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0001863/1.045, allocations: 82.98 kB / 1.306 GB, free: 14.31 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/1.045, allocations: 0 / 1.306 GB, free: 14.31 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.264e-06/1.045, allocations: 1.469 kB / 1.306 GB, free: 14.31 MB / 1.014 GB Notification: Performance of Transformations before backend: time 7.193e-06/1.045, allocations: 7.938 kB / 1.306 GB, free: 14.3 MB / 1.014 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.0006632/1.046, allocations: 387.4 kB / 1.306 GB, free: 13.91 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.466e-05/1.046, allocations: 9.812 kB / 1.306 GB, free: 13.91 MB / 1.014 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.719e-05/1.046, allocations: 37.14 kB / 1.306 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.407e-05/1.046, allocations: 9.672 kB / 1.306 GB, free: 13.87 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003151/1.046, allocations: 199 kB / 1.307 GB, free: 13.66 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.399e-05/1.046, allocations: 9.625 kB / 1.307 GB, free: 13.65 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.401e-05/1.046, allocations: 3.562 kB / 1.307 GB, free: 13.65 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/1.046, allocations: 63.48 kB / 1.307 GB, free: 13.61 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.084e-05/1.046, allocations: 7.875 kB / 1.307 GB, free: 13.6 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.346e-05/1.046, allocations: 4 kB / 1.307 GB, free: 13.59 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.514e-06/1.046, allocations: 2.391 kB / 1.307 GB, free: 13.59 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001223/1.046, allocations: 35.8 kB / 1.307 GB, free: 13.58 MB / 1.014 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005433/1.047, allocations: 324.4 kB / 1.307 GB, free: 13.28 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001614/1.047, allocations: 45.89 kB / 1.307 GB, free: 13.25 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.562e-05/1.047, allocations: 19.27 kB / 1.307 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 1.897e-05/1.047, allocations: 3.984 kB / 1.307 GB, free: 13.23 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.355e-05/1.047, allocations: 36.31 kB / 1.307 GB, free: 13.19 MB / 1.014 GB Notification: Performance of pre-optimization done (n=3): time 1.062e-06/1.047, allocations: 0 / 1.307 GB, free: 13.19 MB / 1.014 GB Notification: Performance of matching and sorting (n=3): time 0.0002641/1.047, allocations: 79.62 kB / 1.307 GB, free: 13.14 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/1.047, allocations: 53.61 kB / 1.307 GB, free: 13.07 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/1.048, allocations: 132.7 kB / 1.307 GB, free: 12.96 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/1.048, allocations: 27.39 kB / 1.307 GB, free: 12.93 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 6.803e-05/1.048, allocations: 102.5 kB / 1.308 GB, free: 12.84 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 1.638e-05/1.048, allocations: 6.078 kB / 1.308 GB, free: 12.83 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/1.048, allocations: 22.94 kB / 1.308 GB, free: 12.81 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001364/1.048, allocations: 319.5 kB / 1.308 GB, free: 12.49 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.483e-05/1.048, allocations: 14.52 kB / 1.308 GB, free: 12.49 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.711e-05/1.048, allocations: 19.56 kB / 1.308 GB, free: 12.48 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.27e-05/1.048, allocations: 27.27 kB / 1.308 GB, free: 12.47 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/1.048, allocations: 3.938 kB / 1.308 GB, free: 12.46 MB / 1.014 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001416/1.048, allocations: 70.77 kB / 1.308 GB, free: 12.42 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.5e-05/1.048, allocations: 4.797 kB / 1.308 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.2e-06/1.048, allocations: 1.281 kB / 1.308 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/1.048, allocations: 0 / 1.308 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.76e-05/1.048, allocations: 5.047 kB / 1.308 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.402e-06/1.048, allocations: 1.531 kB / 1.308 GB, free: 12.42 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.299e-05/1.048, allocations: 13.25 kB / 1.308 GB, free: 12.41 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/1.048, allocations: 5.656 kB / 1.308 GB, free: 12.41 MB / 1.014 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 9.307e-05/1.048, allocations: 122.2 kB / 1.308 GB, free: 12.29 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/1.049, allocations: 7.062 kB / 1.308 GB, free: 12.28 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.125e-05/1.049, allocations: 12.02 kB / 1.308 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.552e-06/1.049, allocations: 0 / 1.308 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/1.049, allocations: 1.25 kB / 1.308 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.155e-06/1.049, allocations: 0.6562 kB / 1.308 GB, free: 12.27 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002088/1.049, allocations: 182.8 kB / 1.308 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/1.049, allocations: 0 / 1.308 GB, free: 12.07 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.177e-05/1.049, allocations: 9.016 kB / 1.308 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/1.049, allocations: 1.156 kB / 1.308 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.766e-06/1.049, allocations: 0.6094 kB / 1.308 GB, free: 12.06 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.374e-06/1.049, allocations: 9.484 kB / 1.308 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/1.049, allocations: 0 / 1.308 GB, free: 12.05 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001926/1.049, allocations: 160.2 kB / 1.309 GB, free: 11.91 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 5.388e-05/1.049, allocations: 82.84 kB / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.026e-05/1.049, allocations: 2.828 kB / 1.309 GB, free: 11.81 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001062/1.049, allocations: 20.98 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.399e-05/1.049, allocations: 11.11 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.871e-06/1.049, allocations: 2.016 kB / 1.309 GB, free: 11.8 MB / 1.014 GB Notification: Performance of sorting global known variables: time 8.521e-05/1.049, allocations: 107 kB / 1.309 GB, free: 11.71 MB / 1.014 GB Notification: Performance of sort global known variables: time 9.1e-08/1.049, allocations: 0 / 1.309 GB, free: 11.71 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.0002185/1.05, allocations: 7.625 kB / 1.309 GB, free: 11.71 MB / 1.014 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.0006035/1.05, allocations: 0.7028 MB / 1.309 GB, free: 11.03 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.0001555/1.05, allocations: 33.53 kB / 1.309 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/1.05, allocations: 0 / 1.309 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 5.522e-05/1.05, allocations: 20.3 kB / 1.309 GB, free: 11.02 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002643/1.051, allocations: 11.66 kB / 1.31 GB, free: 11.01 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/1.052, allocations: 1.391 MB / 1.311 GB, free: 9.75 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003337/1.053, allocations: 0.6897 MB / 1.312 GB, free: 9.055 MB / 1.014 GB Notification: Performance of simCode: alias equations: time 3.983e-05/1.053, allocations: 3.766 kB / 1.312 GB, free: 9.055 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.229e-05/1.053, allocations: 26.27 kB / 1.312 GB, free: 9.035 MB / 1.014 GB Notification: Performance of SimCode: time 3.01e-07/1.053, allocations: 0 / 1.312 GB, free: 9.035 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02539/1.078, allocations: 2.017 MB / 1.314 GB, free: 8.566 MB / 1.014 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.124/9.202, allocations: 9.078 kB / 1.314 GB, free: 8.562 MB / 1.014 GB " [Timeout remaining time 291] (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Reals_Validation_LessThreshold.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Buildings_latest_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: 15.510977416299284]