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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008706/0.0008707, allocations: 98.11 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.005386/0.005386, allocations: 169.5 kB / 16.27 MB, free: 6.652 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.253/1.253, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.482/2.482, allocations: 462.6 MB / 0.7364 GB, free: 15.56 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003161/0.0003161, allocations: 12.66 kB / 0.9029 GB, free: 36.41 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2638, allocations: 159.6 MB / 1.059 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold): time 0.0009637/0.2648, allocations: 0.539 MB / 1.059 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008751/0.2657, allocations: 0.878 MB / 1.06 GB, free: 3.441 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.72e-05/0.2658, allocations: 7.938 kB / 1.06 GB, free: 3.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.2659, allocations: 3.938 kB / 1.06 GB, free: 3.43 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.48e-05/0.266, allocations: 7.922 kB / 1.06 GB, free: 3.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001354/0.2661, allocations: 23.92 kB / 1.06 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 9.542e-05/0.2662, allocations: 71.78 kB / 1.06 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.2663, allocations: 31.97 kB / 1.06 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.73e-05/0.2664, allocations: 15.94 kB / 1.06 GB, free: 3.281 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.281e-05/0.2665, allocations: 27.78 kB / 1.06 GB, free: 3.254 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.383e-05/0.2665, allocations: 3.938 kB / 1.06 GB, free: 3.25 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 9.919e-06/0.2665, allocations: 4 kB / 1.06 GB, free: 3.246 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.646e-05/0.2665, allocations: 7.938 kB / 1.06 GB, free: 3.238 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.293e-05/0.2666, allocations: 57.48 kB / 1.06 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.289e-05/0.2667, allocations: 71.97 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.316e-06/0.2667, allocations: 0 / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.412e-06/0.2667, allocations: 0 / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.2667, allocations: 0 / 1.06 GB, free: 3.105 MB / 0.8106 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.0004384/0.2671, allocations: 379.3 kB / 1.061 GB, free: 2.684 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.972e-05/0.2672, allocations: 19.97 kB / 1.061 GB, free: 2.664 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.129e-05/0.2672, allocations: 34.75 kB / 1.061 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.405e-05/0.2673, allocations: 8.844 kB / 1.061 GB, free: 2.613 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001719/0.2674, allocations: 196.1 kB / 1.061 GB, free: 2.383 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.065e-05/0.2674, allocations: 8.312 kB / 1.061 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.391e-05/0.2675, allocations: 8.312 kB / 1.061 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.2676, allocations: 62.23 kB / 1.061 GB, free: 2.301 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.748e-06/0.2676, allocations: 7.938 kB / 1.061 GB, free: 2.293 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.2676, allocations: 4 kB / 1.061 GB, free: 2.289 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.139e-06/0.2676, allocations: 7.984 kB / 1.061 GB, free: 2.281 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001029/0.2678, allocations: 31.98 kB / 1.061 GB, free: 2.25 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004248/0.2682, allocations: 324.6 kB / 1.062 GB, free: 1.883 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001518/0.2684, allocations: 54.55 kB / 1.062 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.528e-05/0.2684, allocations: 29.03 kB / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.528e-05/0.2684, allocations: 0 / 1.062 GB, free: 1.789 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.002e-05/0.2685, allocations: 34.56 kB / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 7.72e-07/0.2685, allocations: 0 / 1.062 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0002377/0.2687, allocations: 73.67 kB / 1.062 GB, free: 1.668 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.043e-05/0.2688, allocations: 51.41 kB / 1.062 GB, free: 1.605 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.677e-05/0.2689, allocations: 135 kB / 1.062 GB, free: 1.465 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.835e-05/0.2689, allocations: 37.7 kB / 1.062 GB, free: 1.422 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.098e-05/0.2689, allocations: 100.1 kB / 1.062 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 1.617e-05/0.269, allocations: 7.891 kB / 1.062 GB, free: 1.312 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.339e-05/0.269, allocations: 13.72 kB / 1.062 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.439e-05/0.2691, allocations: 322.8 kB / 1.062 GB, free: 0.9688 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.441e-05/0.2691, allocations: 19.92 kB / 1.062 GB, free: 0.9492 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.156e-05/0.2692, allocations: 16 kB / 1.062 GB, free: 0.9336 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.507e-05/0.2693, allocations: 40.78 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2693, allocations: 0 / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001338/0.2694, allocations: 73.86 kB / 1.063 GB, free: 0.8125 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.2695, allocations: 5.875 kB / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.597e-06/0.2695, allocations: 0 / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.277e-06/0.2695, allocations: 0 / 1.063 GB, free: 0.8086 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.879e-05/0.2695, allocations: 11.98 kB / 1.063 GB, free: 0.7969 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.2696, allocations: 7.938 kB / 1.063 GB, free: 0.7891 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.543e-05/0.2696, allocations: 12.03 kB / 1.063 GB, free: 0.7773 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.716e-06/0.2697, allocations: 7.922 kB / 1.063 GB, free: 0.7695 MB / 0.8106 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 8.172e-05/0.2697, allocations: 113.8 kB / 1.063 GB, free: 0.6484 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.688e-05/0.2698, allocations: 7.906 kB / 1.063 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.877e-05/0.2698, allocations: 16.25 kB / 1.063 GB, free: 0.6211 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.283e-06/0.2698, allocations: 3.938 kB / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.2698, allocations: 0 / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.784e-06/0.2698, allocations: 0 / 1.063 GB, free: 0.6172 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001515/0.27, allocations: 181.6 kB / 1.063 GB, free: 400 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.27, allocations: 3.984 kB / 1.063 GB, free: 396 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.759e-05/0.27, allocations: 4 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.27, allocations: 4 kB / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.232e-06/0.2701, allocations: 0 / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.2701, allocations: 0 / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2701, allocations: 0 / 1.063 GB, free: 388 kB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001572/0.2702, allocations: 171.3 kB / 1.063 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.35e-05/0.2703, allocations: 81.02 kB / 1.063 GB, free: 100 kB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.2703, allocations: 7.984 kB / 1.063 GB, free: 92 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001023/0.2704, allocations: 12 kB / 1.063 GB, free: 80 kB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.2705, allocations: 15.97 kB / 1.063 GB, free: 64 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.989e-06/0.2705, allocations: 4 kB / 1.063 GB, free: 60 kB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.481e-05/0.2705, allocations: 107.2 kB / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2705, allocations: 0 / 1.063 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002088/0.2708, allocations: 11.94 kB / 1.063 GB, free: 15.94 MB / 0.8262 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.0004046/0.2712, allocations: 0.6929 MB / 1.064 GB, free: 15.22 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001344/0.2713, allocations: 47.91 kB / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.2713, allocations: 0 / 1.064 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 5.237e-05/0.2714, allocations: 12 kB / 1.064 GB, free: 15.16 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002619/0.2716, allocations: 23.86 kB / 1.064 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001175/0.2728, allocations: 1.41 MB / 1.065 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001946/0.273, allocations: 0.6926 MB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.566e-05/0.2731, allocations: 12.3 kB / 1.066 GB, free: 12.92 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.874e-05/0.2731, allocations: 23.44 kB / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of SimCode: time 2.61e-07/0.2731, allocations: 0 / 1.066 GB, free: 12.89 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.084/1.357, allocations: 1.662 MB / 1.068 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002347/1.358, allocations: 209.2 kB / 1.068 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.504/2.861, allocations: 0 / 1.068 GB, free: 11.13 MB / 0.8262 GB (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 --timeout=50 --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) 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/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Reals.Validation.LessThreshold.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches