Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Integers.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Min,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min",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.008633/0.008633, allocations: 99 kB / 15.73 MB, free: 6.035 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.001975/0.001975, allocations: 200.5 kB / 16.67 MB, free: 5.973 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.437/1.437, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.799/2.799, allocations: 461.9 MB / 0.7348 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001321/0.001321, allocations: 64.05 kB / 1.054 GB, free: 7.617 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.298/0.2994, allocations: 157.4 MB / 1.207 GB, free: 10.11 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.001951/0.3014, allocations: 0.777 MB / 1.208 GB, free: 9.336 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.3025, allocations: 0.8546 MB / 1.209 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.035e-05/0.3025, allocations: 0 / 1.209 GB, free: 8.469 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 3.742e-05/0.3026, allocations: 11.81 kB / 1.209 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 8.676e-05/0.3027, allocations: 11.88 kB / 1.209 GB, free: 8.445 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001913/0.3029, allocations: 43.94 kB / 1.209 GB, free: 8.402 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.303, allocations: 79.83 kB / 1.209 GB, free: 8.324 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001187/0.3032, allocations: 35.95 kB / 1.209 GB, free: 8.289 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 9.051e-05/0.3033, allocations: 39.84 kB / 1.209 GB, free: 8.25 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 9.036e-05/0.3033, allocations: 51.81 kB / 1.209 GB, free: 8.199 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.3034, allocations: 4 kB / 1.209 GB, free: 8.195 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.388e-05/0.3034, allocations: 8 kB / 1.209 GB, free: 8.188 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.78e-05/0.3034, allocations: 19.92 kB / 1.209 GB, free: 8.168 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 4.679e-05/0.3035, allocations: 39.8 kB / 1.209 GB, free: 8.129 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.3036, allocations: 95.64 kB / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.3036, allocations: 0 / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.502e-06/0.3036, allocations: 0 / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.496e-06/0.3037, allocations: 0 / 1.209 GB, free: 8.035 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.000599/0.3043, allocations: 391.4 kB / 1.21 GB, free: 7.605 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3043, allocations: 8.625 kB / 1.21 GB, free: 7.598 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.844e-05/0.3044, allocations: 38.75 kB / 1.21 GB, free: 7.551 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.843e-05/0.3044, allocations: 12.84 kB / 1.21 GB, free: 7.539 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.3045, allocations: 180.2 kB / 1.21 GB, free: 7.324 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.911e-05/0.3046, allocations: 8.375 kB / 1.21 GB, free: 7.316 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.624e-05/0.3046, allocations: 8.125 kB / 1.21 GB, free: 7.309 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002936/0.3049, allocations: 109.5 kB / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.3049, allocations: 0 / 1.21 GB, free: 7.195 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.417e-05/0.3049, allocations: 4 kB / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.3049, allocations: 0 / 1.21 GB, free: 7.191 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003515/0.3053, allocations: 103.9 kB / 1.21 GB, free: 7.09 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005231/0.3058, allocations: 336.6 kB / 1.21 GB, free: 6.711 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006075/0.3064, allocations: 122.5 kB / 1.211 GB, free: 6.582 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001826/0.3066, allocations: 60.86 kB / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 2.481e-05/0.3067, allocations: 0 / 1.211 GB, free: 6.52 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.3067, allocations: 42.55 kB / 1.211 GB, free: 6.469 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 9.11e-07/0.3067, allocations: 3.938 kB / 1.211 GB, free: 6.465 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7): time 0.0006323/0.3073, allocations: 177.5 kB / 1.211 GB, free: 6.285 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.093e-05/0.3074, allocations: 59.41 kB / 1.211 GB, free: 6.215 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001065/0.3075, allocations: 129.8 kB / 1.211 GB, free: 6.078 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.3075, allocations: 25.7 kB / 1.211 GB, free: 6.047 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 4.73e-05/0.3076, allocations: 95.94 kB / 1.211 GB, free: 5.949 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.623e-05/0.3076, allocations: 27.7 kB / 1.211 GB, free: 5.922 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/0.3077, allocations: 25.7 kB / 1.211 GB, free: 5.891 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 9.643e-05/0.3078, allocations: 314.8 kB / 1.211 GB, free: 5.574 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000174/0.308, allocations: 43.95 kB / 1.212 GB, free: 5.531 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001582/0.3081, allocations: 47.94 kB / 1.212 GB, free: 5.484 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000334/0.3085, allocations: 104.8 kB / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.355e-06/0.3085, allocations: 0 / 1.212 GB, free: 5.379 MB / 0.9669 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003814/0.3089, allocations: 133.5 kB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.749e-05/0.3089, allocations: 8 kB / 1.212 GB, free: 5.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3089, allocations: 4 kB / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.3089, allocations: 0 / 1.212 GB, free: 5.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001764/0.3091, allocations: 23.97 kB / 1.212 GB, free: 5.207 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.035e-06/0.3091, allocations: 3.938 kB / 1.212 GB, free: 5.203 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.3092, allocations: 15.89 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.342e-05/0.3093, allocations: 4 kB / 1.212 GB, free: 5.184 MB / 0.9669 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 (reaToInt1.y,reaToInt.y,min1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.103e-05/0.3094, allocations: 117.8 kB / 1.212 GB, free: 5.059 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.043e-05/0.3094, allocations: 4 kB / 1.212 GB, free: 5.055 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005028/0.3099, allocations: 154.3 kB / 1.212 GB, free: 4.895 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.3099, allocations: 3.938 kB / 1.212 GB, free: 4.891 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.592e-06/0.3099, allocations: 3.938 kB / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.3099, allocations: 0 / 1.212 GB, free: 4.887 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002028/0.3102, allocations: 205.5 kB / 1.212 GB, free: 4.637 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.542e-06/0.3102, allocations: 4 kB / 1.212 GB, free: 4.633 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.3103, allocations: 27.97 kB / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.3103, allocations: 0 / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.171e-05/0.3104, allocations: 0 / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.3104, allocations: 0 / 1.212 GB, free: 4.605 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.3104, allocations: 7.938 kB / 1.212 GB, free: 4.598 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004378/0.3108, allocations: 239.4 kB / 1.213 GB, free: 4.348 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.157e-05/0.3109, allocations: 81.09 kB / 1.213 GB, free: 4.25 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.301e-05/0.3109, allocations: 4 kB / 1.213 GB, free: 4.246 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001387/0.311, allocations: 11.98 kB / 1.213 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-05/0.3111, allocations: 27.91 kB / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.3111, allocations: 0 / 1.213 GB, free: 4.207 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.417e-05/0.3112, allocations: 95.27 kB / 1.213 GB, free: 4.113 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3112, allocations: 4 kB / 1.213 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002406/0.3115, allocations: 23.84 kB / 1.213 GB, free: 4.086 MB / 0.9669 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (min1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0007399/0.3122, allocations: 0.767 MB / 1.214 GB, free: 3.293 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.0004127/0.3126, allocations: 103.9 kB / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.3126, allocations: 0 / 1.214 GB, free: 3.191 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001958/0.3128, allocations: 63.89 kB / 1.214 GB, free: 3.129 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000373/0.3132, allocations: 25.64 kB / 1.214 GB, free: 3.105 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002008/0.3152, allocations: 1.529 MB / 1.215 GB, free: 1.496 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002384/0.3155, allocations: 0.6969 MB / 1.216 GB, free: 0.7734 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 6.956e-05/0.3156, allocations: 15.98 kB / 1.216 GB, free: 0.7578 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.533e-05/0.3157, allocations: 27.42 kB / 1.216 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of SimCode: time 4.2e-07/0.3157, allocations: 0 / 1.216 GB, free: 0.7305 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01936/0.335, allocations: 2.745 MB / 1.219 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.526/7.861, allocations: 19.33 kB / 1.219 GB, free: 14.07 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat --tempDir=temp_Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Min.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Min.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Min.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,min1.u1,min1.u2,min1.y Variables in the result:min1.u1,min1.u2,min1.y,ramp1.duration,ramp1.height,ramp1.offset,ramp1.startTime,ramp1.y,ramp2.duration,ramp2.height,ramp2.offset,ramp2.startTime,ramp2.y,reaToInt.u,reaToInt.y,reaToInt1.u,reaToInt1.y,round1.n,round1.u,round1.y,round2.n,round2.u,round2.y,time