Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Reals.Validation.Less,fileNamePrefix="Buildings_10_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.005/0.005, allocations: 99.77 kB / 15.73 MB, free: 6.012 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.001664/0.001664, allocations: 193.6 kB / 16.67 MB, free: 5.93 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.352/2.352, allocations: 437.1 MB / 0.7106 GB, free: 4.352 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001818/0.001818, allocations: 68.12 kB / 1.018 GB, free: 9.852 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6617/0.6635, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Reals.Validation.Less): time 0.001717/0.6653, allocations: 0.8737 MB / 1.167 GB, free: 2.887 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0009313/0.6662, allocations: 0.8935 MB / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.546e-05/0.6663, allocations: 0 / 1.168 GB, free: 1.98 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000113/0.6664, allocations: 19.8 kB / 1.168 GB, free: 1.961 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 3.265e-05/0.6665, allocations: 7.875 kB / 1.168 GB, free: 1.953 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001499/0.6666, allocations: 43.89 kB / 1.168 GB, free: 1.91 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.6668, allocations: 95.77 kB / 1.168 GB, free: 1.816 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.6669, allocations: 51.95 kB / 1.168 GB, free: 1.766 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 9.346e-05/0.667, allocations: 43.8 kB / 1.168 GB, free: 1.723 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 6.772e-05/0.6671, allocations: 31.84 kB / 1.168 GB, free: 1.691 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.944e-05/0.6671, allocations: 8 kB / 1.168 GB, free: 1.684 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 1.635e-05/0.6671, allocations: 8 kB / 1.168 GB, free: 1.676 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 2.759e-05/0.6671, allocations: 23.91 kB / 1.168 GB, free: 1.652 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 4.464e-05/0.6672, allocations: 39.73 kB / 1.168 GB, free: 1.613 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001309/0.6673, allocations: 99.3 kB / 1.168 GB, free: 1.52 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.915e-06/0.6673, allocations: 3.938 kB / 1.168 GB, free: 1.516 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.042e-06/0.6673, allocations: 4 kB / 1.168 GB, free: 1.512 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 3.757e-06/0.6673, allocations: 0 / 1.168 GB, free: 1.512 MB / 0.8887 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.0005661/0.6679, allocations: 415 kB / 1.169 GB, free: 1.055 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.668, allocations: 12.03 kB / 1.169 GB, free: 1.043 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.195e-05/0.668, allocations: 34.75 kB / 1.169 GB, free: 1 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.557e-05/0.668, allocations: 8.891 kB / 1.169 GB, free: 0.9922 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002328/0.6683, allocations: 212.1 kB / 1.169 GB, free: 0.7461 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-06/0.6683, allocations: 4.375 kB / 1.169 GB, free: 0.7422 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.52e-05/0.6683, allocations: 8.375 kB / 1.169 GB, free: 0.7344 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.6685, allocations: 94.14 kB / 1.169 GB, free: 0.6367 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/0.6685, allocations: 3.938 kB / 1.169 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/0.6685, allocations: 0 / 1.169 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.827e-06/0.6686, allocations: 0 / 1.169 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002287/0.6688, allocations: 73.31 kB / 1.169 GB, free: 0.5625 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004643/0.6693, allocations: 352.6 kB / 1.17 GB, free: 172 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002095/0.6695, allocations: 62.55 kB / 1.17 GB, free: 100 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001144/0.6696, allocations: 44.91 kB / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 1.249e-05/0.6696, allocations: 0 / 1.17 GB, free: 52 kB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.6697, allocations: 30.56 kB / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.6697, allocations: 0 / 1.17 GB, free: 12 kB / 0.8887 GB Notification: Performance of matching and sorting (n=4): time 0.000435/0.6701, allocations: 125.5 kB / 1.17 GB, free: 15.88 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.125e-05/0.6701, allocations: 51.41 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.6702, allocations: 144.2 kB / 1.17 GB, free: 15.67 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.6703, allocations: 25.7 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 6.226e-05/0.6703, allocations: 108 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.378e-05/0.6704, allocations: 3.953 kB / 1.17 GB, free: 15.53 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.91e-05/0.6704, allocations: 21.7 kB / 1.17 GB, free: 15.5 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001182/0.6705, allocations: 318.8 kB / 1.17 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001137/0.6706, allocations: 35.91 kB / 1.171 GB, free: 15.14 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001095/0.6708, allocations: 35.97 kB / 1.171 GB, free: 15.11 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001988/0.671, allocations: 52.81 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.15e-06/0.671, allocations: 4 kB / 1.171 GB, free: 15.05 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0002513/0.6712, allocations: 101.5 kB / 1.171 GB, free: 14.95 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.6713, allocations: 8 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.6713, allocations: 0 / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.6713, allocations: 0 / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.268e-05/0.6714, allocations: 11.98 kB / 1.171 GB, free: 14.93 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.563e-06/0.6714, allocations: 3.938 kB / 1.171 GB, free: 14.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.601e-05/0.6715, allocations: 19.92 kB / 1.171 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-06/0.6715, allocations: 8 kB / 1.171 GB, free: 14.89 MB / 0.9044 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 8.425e-05/0.6716, allocations: 117.8 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.6716, allocations: 4 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.115e-05/0.6717, allocations: 12.23 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.132e-06/0.6717, allocations: 0 / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6717, allocations: 3.938 kB / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.844e-06/0.6717, allocations: 0 / 1.171 GB, free: 14.74 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001831/0.6719, allocations: 189.6 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.6719, allocations: 7.938 kB / 1.171 GB, free: 14.5 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.2e-05/0.6719, allocations: 11.98 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.919e-06/0.672, allocations: 4 kB / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.665e-06/0.672, allocations: 0 / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.672, allocations: 192 / 1.171 GB, free: 14.48 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.672, allocations: 7.938 kB / 1.171 GB, free: 14.47 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002923/0.6723, allocations: 187.5 kB / 1.171 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.38e-05/0.6723, allocations: 85.05 kB / 1.171 GB, free: 14.17 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.6724, allocations: 7.984 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000121/0.6725, allocations: 15.92 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.852e-05/0.6725, allocations: 11.92 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.314e-06/0.6726, allocations: 4 kB / 1.171 GB, free: 14.13 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 6.52e-05/0.6726, allocations: 103.2 kB / 1.171 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.6726, allocations: 0 / 1.171 GB, free: 14.03 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002058/0.6728, allocations: 15.95 kB / 1.172 GB, free: 14.02 MB / 0.9044 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.0005778/0.6734, allocations: 0.7241 MB / 1.172 GB, free: 13.27 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002612/0.6737, allocations: 72.34 kB / 1.172 GB, free: 13.2 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.016e-06/0.6737, allocations: 3.938 kB / 1.172 GB, free: 13.19 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.6738, allocations: 35.91 kB / 1.172 GB, free: 13.16 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002354/0.6741, allocations: 15.92 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.6757, allocations: 1.477 MB / 1.174 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002722/0.676, allocations: 0.6924 MB / 1.174 GB, free: 10.86 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 4.216e-05/0.676, allocations: 11.98 kB / 1.174 GB, free: 10.85 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.678e-05/0.6761, allocations: 27.42 kB / 1.174 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of SimCode: time 2.3e-07/0.6761, allocations: 3.938 kB / 1.175 GB, free: 10.82 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2495/0.9256, allocations: 2.17 MB / 1.177 GB, free: 8.738 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.11/13.04, allocations: 10.78 kB / 1.177 GB, free: 8.734 MB / 0.9044 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat --tempDir=temp_Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less_fmu --startTime=0 --stopTime=10 --timeout=400 --tolerance=1e-06 Buildings_10_Buildings_Controls_OBC_CDL_Reals_Validation_Less.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Reals_Validation_Less.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Reals.Validation.Less.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches