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.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.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.008435/0.008435, allocations: 172.8 kB / 16.26 MB, free: 6.613 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.271/1.271, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.462/2.462, allocations: 462.6 MB / 0.7364 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003188/0.0003189, allocations: 12.44 kB / 0.9029 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2573/0.2576, allocations: 159.6 MB / 1.059 GB, free: 4.848 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.0008686/0.2585, allocations: 0.5856 MB / 1.059 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008658/0.2594, allocations: 0.8936 MB / 1.06 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.826e-05/0.2595, allocations: 4 kB / 1.06 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 8.299e-05/0.2596, allocations: 7.875 kB / 1.06 GB, free: 3.348 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 3.756e-05/0.2596, allocations: 11.92 kB / 1.06 GB, free: 3.336 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001298/0.2597, allocations: 27.97 kB / 1.06 GB, free: 3.309 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001107/0.2599, allocations: 95.7 kB / 1.06 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001132/0.26, allocations: 43.97 kB / 1.06 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.479e-05/0.2601, allocations: 43.7 kB / 1.06 GB, free: 3.129 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.323e-05/0.2602, allocations: 23.86 kB / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.513e-05/0.2602, allocations: 0 / 1.06 GB, free: 3.105 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.106e-05/0.2602, allocations: 4 kB / 1.06 GB, free: 3.102 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.952e-05/0.2602, allocations: 19.92 kB / 1.061 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.446e-05/0.2603, allocations: 57.44 kB / 1.061 GB, free: 3.02 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.856e-05/0.2604, allocations: 83.97 kB / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2604, allocations: 0 / 1.061 GB, free: 2.938 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.252e-06/0.2604, allocations: 4 kB / 1.061 GB, free: 2.934 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.378e-06/0.2604, allocations: 0 / 1.061 GB, free: 2.934 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.0005084/0.2609, allocations: 415.2 kB / 1.061 GB, free: 2.477 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.2609, allocations: 11.97 kB / 1.061 GB, free: 2.465 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.216e-05/0.261, allocations: 38.75 kB / 1.061 GB, free: 2.418 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.269e-05/0.261, allocations: 16.75 kB / 1.061 GB, free: 2.402 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.2612, allocations: 201.8 kB / 1.061 GB, free: 2.168 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.2612, allocations: 8.375 kB / 1.061 GB, free: 2.16 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.2612, allocations: 4.375 kB / 1.061 GB, free: 2.156 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000261/0.2615, allocations: 98.2 kB / 1.061 GB, free: 2.055 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.2615, allocations: 3.938 kB / 1.061 GB, free: 2.051 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.136e-05/0.2615, allocations: 4 kB / 1.061 GB, free: 2.047 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.2615, allocations: 4 kB / 1.061 GB, free: 2.043 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002469/0.2618, allocations: 82.81 kB / 1.061 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004619/0.2623, allocations: 364.5 kB / 1.062 GB, free: 1.559 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002426/0.2625, allocations: 78.53 kB / 1.062 GB, free: 1.473 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001232/0.2627, allocations: 44.86 kB / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.434e-05/0.2627, allocations: 0 / 1.062 GB, free: 1.426 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.2627, allocations: 38.56 kB / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=4): time 8.02e-07/0.2627, allocations: 0 / 1.062 GB, free: 1.379 MB / 0.8106 GB Notification: Performance of matching and sorting (n=4): time 0.0004428/0.2632, allocations: 137.6 kB / 1.062 GB, free: 1.238 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.2632, allocations: 55.41 kB / 1.062 GB, free: 1.172 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.929e-05/0.2633, allocations: 139.1 kB / 1.062 GB, free: 1.027 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.867e-05/0.2633, allocations: 25.7 kB / 1.062 GB, free: 0.9961 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.2634, allocations: 104 kB / 1.062 GB, free: 0.8906 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.042e-05/0.2634, allocations: 15.84 kB / 1.062 GB, free: 0.875 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.461e-05/0.2634, allocations: 13.7 kB / 1.062 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.355e-05/0.2635, allocations: 318.8 kB / 1.063 GB, free: 0.5352 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001223/0.2636, allocations: 47.91 kB / 1.063 GB, free: 500 kB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001112/0.2638, allocations: 31.97 kB / 1.063 GB, free: 468 kB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002171/0.264, allocations: 72.81 kB / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.264, allocations: 0 / 1.063 GB, free: 392 kB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000277/0.2643, allocations: 113.5 kB / 1.063 GB, free: 272 kB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.2643, allocations: 8 kB / 1.063 GB, free: 264 kB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.957e-06/0.2643, allocations: 3.938 kB / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.187e-06/0.2643, allocations: 0 / 1.063 GB, free: 260 kB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.849e-05/0.2644, allocations: 23.92 kB / 1.063 GB, free: 236 kB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.184e-06/0.2644, allocations: 7.938 kB / 1.063 GB, free: 228 kB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001096/0.2646, allocations: 27.91 kB / 1.063 GB, free: 200 kB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.2646, allocations: 0 / 1.063 GB, free: 200 kB / 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 (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 7.103e-05/0.2646, allocations: 113.8 kB / 1.063 GB, free: 76 kB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.115e-05/0.2647, allocations: 7.906 kB / 1.063 GB, free: 68 kB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.528e-05/0.2647, allocations: 12.25 kB / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.2647, allocations: 192 / 1.063 GB, free: 52 kB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.2647, allocations: 7.938 kB / 1.063 GB, free: 44 kB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2647, allocations: 3.984 kB / 1.063 GB, free: 40 kB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001756/0.2649, allocations: 189.8 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.2649, allocations: 4 kB / 1.063 GB, free: 15.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.214e-05/0.265, allocations: 15.98 kB / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.265, allocations: 0 / 1.063 GB, free: 15.79 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.225e-06/0.265, allocations: 3.984 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.143e-06/0.265, allocations: 4 kB / 1.063 GB, free: 15.78 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/0.265, allocations: 3.938 kB / 1.063 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002991/0.2653, allocations: 207.3 kB / 1.064 GB, free: 15.55 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.361e-05/0.2654, allocations: 81.02 kB / 1.064 GB, free: 15.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.765e-05/0.2654, allocations: 4 kB / 1.064 GB, free: 15.45 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001356/0.2656, allocations: 19.97 kB / 1.064 GB, free: 15.43 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.863e-05/0.2656, allocations: 15.92 kB / 1.064 GB, free: 15.42 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.582e-06/0.2656, allocations: 4 kB / 1.064 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.72e-05/0.2657, allocations: 105 kB / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2657, allocations: 0 / 1.064 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002191/0.2659, allocations: 23.84 kB / 1.064 GB, free: 15.29 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 (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.000575/0.2665, allocations: 0.7242 MB / 1.065 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002675/0.2668, allocations: 87.88 kB / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2668, allocations: 0 / 1.065 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001268/0.2669, allocations: 39.97 kB / 1.065 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.2672, allocations: 15.94 kB / 1.065 GB, free: 14.4 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001559/0.2688, allocations: 1.543 MB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002039/0.269, allocations: 0.6975 MB / 1.067 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 4.205e-05/0.269, allocations: 7.938 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.283e-05/0.2691, allocations: 27.42 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of SimCode: time 2.51e-07/0.2691, allocations: 0 / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.033/1.302, allocations: 1.822 MB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001917/1.302, allocations: 203.5 kB / 1.069 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.486/2.789, allocations: 0 / 1.069 GB, free: 10.07 MB / 0.8262 GB (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 --timeout=50 --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) 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) Reference file matches