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.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.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.001214/0.001214, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001001/0.001001, allocations: 192.9 kB / 16.14 MB, free: 6.711 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.31/1.31, allocations: 222.9 MB / 239.8 MB, free: 4.598 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.521/2.521, allocations: 461.9 MB / 0.7342 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001199/0.001199, allocations: 71.38 kB / 0.8985 GB, free: 36.93 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2709/0.2721, allocations: 157.4 MB / 1.052 GB, free: 8.16 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.00191/0.2741, allocations: 0.8303 MB / 1.053 GB, free: 7.324 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0008815/0.275, allocations: 0.8741 MB / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.253e-05/0.275, allocations: 0 / 1.054 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.881e-05/0.2751, allocations: 3.938 kB / 1.054 GB, free: 6.434 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 7.617e-05/0.2752, allocations: 11.92 kB / 1.054 GB, free: 6.422 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001473/0.2753, allocations: 39.95 kB / 1.054 GB, free: 6.383 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 8.828e-05/0.2754, allocations: 79.78 kB / 1.054 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 9.947e-05/0.2755, allocations: 23.97 kB / 1.054 GB, free: 6.281 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 6.643e-05/0.2756, allocations: 31.91 kB / 1.054 GB, free: 6.25 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 7.305e-05/0.2757, allocations: 51.81 kB / 1.054 GB, free: 6.199 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.09e-05/0.2757, allocations: 4 kB / 1.054 GB, free: 6.195 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.662e-05/0.2757, allocations: 4 kB / 1.054 GB, free: 6.191 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.444e-05/0.2758, allocations: 19.92 kB / 1.054 GB, free: 6.172 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.507e-05/0.2758, allocations: 31.8 kB / 1.054 GB, free: 6.141 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 9.964e-05/0.2759, allocations: 75.72 kB / 1.054 GB, free: 6.066 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.897e-06/0.2759, allocations: 3.938 kB / 1.054 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of FrontEnd: time 7.11e-07/0.2759, allocations: 0 / 1.054 GB, free: 6.062 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.667e-06/0.2759, allocations: 4 kB / 1.054 GB, free: 6.059 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005626/0.2765, allocations: 395.5 kB / 1.055 GB, free: 5.625 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.642e-05/0.2765, allocations: 15.97 kB / 1.055 GB, free: 5.609 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.589e-05/0.2766, allocations: 38.73 kB / 1.055 GB, free: 5.562 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.2766, allocations: 16.78 kB / 1.055 GB, free: 5.547 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.2768, allocations: 176.2 kB / 1.055 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.161e-05/0.2768, allocations: 4.375 kB / 1.055 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.752e-05/0.2768, allocations: 8.375 kB / 1.055 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002856/0.2771, allocations: 109.5 kB / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.893e-06/0.2771, allocations: 0 / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.2771, allocations: 0 / 1.055 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.641e-06/0.2771, allocations: 4 kB / 1.055 GB, free: 5.207 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000345/0.2775, allocations: 99.83 kB / 1.055 GB, free: 5.109 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004648/0.2779, allocations: 340.7 kB / 1.055 GB, free: 4.727 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005952/0.2786, allocations: 122.5 kB / 1.056 GB, free: 4.598 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001798/0.2787, allocations: 60.75 kB / 1.056 GB, free: 4.535 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.297e-05/0.2788, allocations: 7.984 kB / 1.056 GB, free: 4.527 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.2788, allocations: 30.56 kB / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.052e-06/0.2788, allocations: 0 / 1.056 GB, free: 4.488 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006/0.2794, allocations: 181.5 kB / 1.056 GB, free: 4.305 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.337e-05/0.2794, allocations: 55.39 kB / 1.056 GB, free: 4.238 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.412e-05/0.2795, allocations: 126 kB / 1.056 GB, free: 4.105 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.2796, allocations: 25.7 kB / 1.056 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 4.715e-05/0.2796, allocations: 104 kB / 1.056 GB, free: 3.969 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.208e-05/0.2796, allocations: 11.81 kB / 1.056 GB, free: 3.957 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.271e-05/0.2797, allocations: 21.7 kB / 1.056 GB, free: 3.93 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 9.738e-05/0.2798, allocations: 326.8 kB / 1.056 GB, free: 3.602 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001739/0.28, allocations: 43.95 kB / 1.056 GB, free: 3.559 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001543/0.2801, allocations: 43.95 kB / 1.057 GB, free: 3.516 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003246/0.2805, allocations: 101.2 kB / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.2805, allocations: 0 / 1.057 GB, free: 3.414 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003748/0.2808, allocations: 141.5 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.2809, allocations: 4 kB / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.2809, allocations: 0 / 1.057 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.2809, allocations: 4 kB / 1.057 GB, free: 3.262 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001618/0.2811, allocations: 27.91 kB / 1.057 GB, free: 3.234 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.698e-06/0.2811, allocations: 4 kB / 1.057 GB, free: 3.23 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.2812, allocations: 15.92 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.2812, allocations: 7.984 kB / 1.057 GB, free: 3.207 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 (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 7.737e-05/0.2813, allocations: 113.8 kB / 1.057 GB, free: 3.086 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.031e-05/0.2813, allocations: 11.84 kB / 1.057 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004306/0.2818, allocations: 153.9 kB / 1.057 GB, free: 2.918 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.366e-06/0.2818, allocations: 4 kB / 1.057 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.119e-06/0.2818, allocations: 0 / 1.057 GB, free: 2.914 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2818, allocations: 11.86 kB / 1.057 GB, free: 2.902 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001811/0.282, allocations: 197.5 kB / 1.057 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.282, allocations: 0 / 1.057 GB, free: 2.66 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001557/0.2821, allocations: 23.97 kB / 1.057 GB, free: 2.637 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.2822, allocations: 4 kB / 1.057 GB, free: 2.633 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.2822, allocations: 7.984 kB / 1.057 GB, free: 2.625 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.2822, allocations: 4 kB / 1.057 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.91e-07/0.2822, allocations: 0 / 1.057 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004294/0.2826, allocations: 235.3 kB / 1.058 GB, free: 2.375 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.2827, allocations: 85.02 kB / 1.058 GB, free: 2.273 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.82e-05/0.2827, allocations: 4 kB / 1.058 GB, free: 2.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001417/0.2828, allocations: 11.98 kB / 1.058 GB, free: 2.258 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.562e-05/0.2829, allocations: 27.84 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.2829, allocations: 4 kB / 1.058 GB, free: 2.227 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 4.916e-05/0.283, allocations: 95.31 kB / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.283, allocations: 0 / 1.058 GB, free: 2.133 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002207/0.2832, allocations: 16 kB / 1.058 GB, free: 2.117 MB / 0.8106 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.0006842/0.2839, allocations: 0.7748 MB / 1.059 GB, free: 1.316 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0003738/0.2843, allocations: 103.8 kB / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.2843, allocations: 0 / 1.059 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0001891/0.2845, allocations: 63.94 kB / 1.059 GB, free: 1.152 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000303/0.2848, allocations: 12.88 kB / 1.059 GB, free: 1.141 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.2867, allocations: 1.553 MB / 1.06 GB, free: 15.51 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002103/0.2869, allocations: 0.6927 MB / 1.061 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 7.091e-05/0.287, allocations: 15.98 kB / 1.061 GB, free: 14.77 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.6e-05/0.2871, allocations: 23.42 kB / 1.061 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2871, allocations: 0 / 1.061 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1209/0.408, allocations: 2.327 MB / 1.063 GB, free: 12.53 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001669/0.4082, allocations: 206.6 kB / 1.063 GB, free: 12.27 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/1.992, allocations: 0 / 1.063 GB, free: 12.27 MB / 0.8262 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) Reference file matches