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.001385/0.001385, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001505/0.001505, allocations: 193.8 kB / 16.53 MB, free: 6.391 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.413/1.413, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.787/2.787, allocations: 461.9 MB / 0.7346 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002104/0.002104, allocations: 68.19 kB / 0.8992 GB, free: 36.91 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2997/0.3018, allocations: 157.4 MB / 1.053 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Min): time 0.002091/0.3039, allocations: 0.7866 MB / 1.054 GB, free: 7.453 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0009558/0.3049, allocations: 0.8662 MB / 1.055 GB, free: 6.574 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.032e-05/0.305, allocations: 4 kB / 1.055 GB, free: 6.57 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 3.884e-05/0.305, allocations: 7.922 kB / 1.055 GB, free: 6.562 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 8.073e-05/0.3051, allocations: 7.875 kB / 1.055 GB, free: 6.555 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001593/0.3053, allocations: 43.94 kB / 1.055 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001032/0.3054, allocations: 83.83 kB / 1.055 GB, free: 6.43 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001042/0.3055, allocations: 27.92 kB / 1.055 GB, free: 6.402 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 7.613e-05/0.3056, allocations: 39.86 kB / 1.055 GB, free: 6.363 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 8.268e-05/0.3057, allocations: 47.81 kB / 1.055 GB, free: 6.316 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 2.335e-05/0.3057, allocations: 11.94 kB / 1.055 GB, free: 6.305 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 1.652e-05/0.3057, allocations: 8 kB / 1.055 GB, free: 6.297 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.733e-05/0.3057, allocations: 27.84 kB / 1.055 GB, free: 6.27 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 4.841e-05/0.3058, allocations: 39.78 kB / 1.055 GB, free: 6.23 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.3059, allocations: 83.73 kB / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.3059, allocations: 0 / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3059, allocations: 0 / 1.055 GB, free: 6.148 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 6.833e-06/0.3059, allocations: 0 / 1.055 GB, free: 6.148 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.0006248/0.3066, allocations: 387.5 kB / 1.055 GB, free: 5.723 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.622e-05/0.3066, allocations: 12.62 kB / 1.055 GB, free: 5.711 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.442e-05/0.3067, allocations: 38.73 kB / 1.055 GB, free: 5.664 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.546e-05/0.3067, allocations: 12.84 kB / 1.055 GB, free: 5.652 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001796/0.3069, allocations: 180.2 kB / 1.056 GB, free: 5.438 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.064e-05/0.3069, allocations: 4.375 kB / 1.056 GB, free: 5.434 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.842e-05/0.3069, allocations: 4.375 kB / 1.056 GB, free: 5.43 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003398/0.3073, allocations: 120.6 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.401e-05/0.3073, allocations: 3.984 kB / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.415e-05/0.3073, allocations: 0 / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.3073, allocations: 0 / 1.056 GB, free: 5.305 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003688/0.3077, allocations: 95.91 kB / 1.056 GB, free: 5.211 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006225/0.3083, allocations: 352.6 kB / 1.056 GB, free: 4.816 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006328/0.309, allocations: 122.6 kB / 1.056 GB, free: 4.688 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000188/0.3092, allocations: 48.81 kB / 1.056 GB, free: 4.637 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 2.567e-05/0.3092, allocations: 4 kB / 1.056 GB, free: 4.633 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.829e-05/0.3093, allocations: 38.56 kB / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=7): time 1.323e-06/0.3093, allocations: 0 / 1.056 GB, free: 4.586 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7): time 0.0006798/0.3099, allocations: 185.4 kB / 1.056 GB, free: 4.398 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.453e-05/0.31, allocations: 55.41 kB / 1.057 GB, free: 4.332 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001306/0.3101, allocations: 129.7 kB / 1.057 GB, free: 4.195 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.815e-05/0.3102, allocations: 25.7 kB / 1.057 GB, free: 4.164 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 6.458e-05/0.3102, allocations: 99.97 kB / 1.057 GB, free: 4.062 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.554e-05/0.3103, allocations: 11.81 kB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.378e-05/0.3103, allocations: 25.7 kB / 1.057 GB, free: 4.02 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001489/0.3105, allocations: 318.8 kB / 1.057 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001866/0.3107, allocations: 43.95 kB / 1.057 GB, free: 3.656 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000175/0.3109, allocations: 51.95 kB / 1.057 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003468/0.3112, allocations: 93.25 kB / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.3112, allocations: 0 / 1.057 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000402/0.3116, allocations: 149.4 kB / 1.057 GB, free: 3.359 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.3117, allocations: 4 kB / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.558e-06/0.3117, allocations: 0 / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.112e-05/0.3117, allocations: 0 / 1.057 GB, free: 3.355 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001941/0.3119, allocations: 27.91 kB / 1.057 GB, free: 3.328 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.3119, allocations: 4 kB / 1.057 GB, free: 3.324 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001175/0.312, allocations: 19.91 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.312, allocations: 4 kB / 1.057 GB, free: 3.301 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 8.03e-05/0.3121, allocations: 117.8 kB / 1.058 GB, free: 3.176 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.3122, allocations: 3.906 kB / 1.058 GB, free: 3.172 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004551/0.3126, allocations: 157.9 kB / 1.058 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.948e-06/0.3126, allocations: 3.984 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.248e-06/0.3126, allocations: 4 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.3126, allocations: 3.938 kB / 1.058 GB, free: 3 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001956/0.3128, allocations: 197.6 kB / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.3129, allocations: 0 / 1.058 GB, free: 2.758 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001504/0.313, allocations: 23.97 kB / 1.058 GB, free: 2.734 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.313, allocations: 3.984 kB / 1.058 GB, free: 2.73 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.188e-05/0.313, allocations: 4 kB / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.313, allocations: 0 / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.313, allocations: 0 / 1.058 GB, free: 2.727 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004649/0.3135, allocations: 243.2 kB / 1.058 GB, free: 2.473 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 5.573e-05/0.3136, allocations: 88.95 kB / 1.058 GB, free: 2.367 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.587e-05/0.3136, allocations: 4 kB / 1.058 GB, free: 2.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00014/0.3138, allocations: 7.984 kB / 1.058 GB, free: 2.355 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.287e-05/0.3139, allocations: 31.91 kB / 1.058 GB, free: 2.324 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.3139, allocations: 4 kB / 1.058 GB, free: 2.32 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 5.622e-05/0.3139, allocations: 91.27 kB / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.91e-07/0.3139, allocations: 0 / 1.058 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0002458/0.3142, allocations: 16 kB / 1.058 GB, free: 2.215 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.0008259/0.315, allocations: 0.7748 MB / 1.059 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0004102/0.3155, allocations: 107.9 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.3155, allocations: 0 / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.3157, allocations: 67.88 kB / 1.059 GB, free: 1.242 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003149/0.316, allocations: 13.66 kB / 1.059 GB, free: 1.23 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002038/0.318, allocations: 1.521 MB / 1.061 GB, free: 15.63 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002721/0.3183, allocations: 0.6885 MB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.829e-05/0.3184, allocations: 16.17 kB / 1.062 GB, free: 14.9 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.797e-05/0.3185, allocations: 27.42 kB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.3185, allocations: 3.938 kB / 1.062 GB, free: 14.87 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01847/0.337, allocations: 2.67 MB / 1.064 GB, free: 12.28 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.264/7.601, allocations: 12.62 kB / 1.064 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