Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max") translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.Max,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|max1.u1|max1.u2|max1.y",fileNamePrefix="Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001546/0.001546, allocations: 105.1 kB / 15.99 MB, free: 5.891 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.001765/0.001765, allocations: 189 kB / 16.91 MB, free: 5.746 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.381/1.381, allocations: 222.9 MB / 240.6 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.723/2.723, allocations: 469.8 MB / 0.7427 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001832/0.001832, allocations: 73.84 kB / 0.9087 GB, free: 34.53 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2958/0.2976, allocations: 159.1 MB / 1.064 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.001995/0.2996, allocations: 0.84 MB / 1.065 GB, free: 13.74 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009805/0.3006, allocations: 0.874 MB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.268e-05/0.3007, allocations: 4 kB / 1.066 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.193e-05/0.3007, allocations: 4 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.732e-05/0.3008, allocations: 3.938 kB / 1.066 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001508/0.301, allocations: 39.89 kB / 1.066 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001055/0.3011, allocations: 79.89 kB / 1.066 GB, free: 12.72 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.3012, allocations: 23.98 kB / 1.066 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 8.631e-05/0.3013, allocations: 39.84 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 9.305e-05/0.3014, allocations: 51.77 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.598e-05/0.3014, allocations: 8 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.963e-05/0.3015, allocations: 8 kB / 1.066 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.434e-05/0.3015, allocations: 27.89 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.608e-05/0.3016, allocations: 31.8 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.969e-05/0.3017, allocations: 63.86 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.3017, allocations: 4 kB / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.433e-06/0.3017, allocations: 0 / 1.066 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.14e-06/0.3017, allocations: 0 / 1.066 GB, free: 12.47 MB / 0.8262 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.0006364/0.3023, allocations: 395.5 kB / 1.067 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.387e-05/0.3024, allocations: 8.031 kB / 1.067 GB, free: 12.03 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.63e-05/0.3024, allocations: 8.844 kB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000164/0.3026, allocations: 180.2 kB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.3026, allocations: 4.375 kB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.074e-05/0.3026, allocations: 4.375 kB / 1.067 GB, free: 11.8 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003164/0.3029, allocations: 114.2 kB / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.303, allocations: 0 / 1.067 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.414e-05/0.303, allocations: 7.938 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.303, allocations: 3.984 kB / 1.067 GB, free: 11.67 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000363/0.3034, allocations: 91.91 kB / 1.067 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005697/0.3039, allocations: 352.6 kB / 1.067 GB, free: 11.18 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006218/0.3046, allocations: 118.6 kB / 1.067 GB, free: 11.06 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001839/0.3048, allocations: 52.81 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.033e-05/0.3048, allocations: 0 / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.154e-05/0.3048, allocations: 34.56 kB / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 8.52e-07/0.3048, allocations: 0 / 1.068 GB, free: 10.96 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006586/0.3055, allocations: 193.4 kB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.997e-05/0.3055, allocations: 55.41 kB / 1.068 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.3057, allocations: 117.8 kB / 1.068 GB, free: 10.57 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.991e-05/0.3057, allocations: 25.7 kB / 1.068 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.404e-05/0.3058, allocations: 99.97 kB / 1.068 GB, free: 10.44 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.3058, allocations: 19.73 kB / 1.068 GB, free: 10.42 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.336e-05/0.3058, allocations: 25.7 kB / 1.068 GB, free: 10.39 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.306, allocations: 326.8 kB / 1.068 GB, free: 10.06 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001782/0.3062, allocations: 43.95 kB / 1.068 GB, free: 10.02 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001679/0.3064, allocations: 47.95 kB / 1.068 GB, free: 9.973 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003391/0.3067, allocations: 96.78 kB / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.834e-06/0.3067, allocations: 0 / 1.069 GB, free: 9.875 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0003977/0.3071, allocations: 141.4 kB / 1.069 GB, free: 9.73 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.485e-05/0.3071, allocations: 4 kB / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3071, allocations: 0 / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/0.3072, allocations: 0 / 1.069 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.3073, allocations: 23.97 kB / 1.069 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.3073, allocations: 8 kB / 1.069 GB, free: 9.695 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001134/0.3075, allocations: 15.92 kB / 1.069 GB, free: 9.68 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.477e-05/0.3075, allocations: 7.984 kB / 1.069 GB, free: 9.672 MB / 0.8262 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,max1.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.214e-05/0.3076, allocations: 113.8 kB / 1.069 GB, free: 9.551 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.922e-05/0.3076, allocations: 3.906 kB / 1.069 GB, free: 9.547 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004645/0.3081, allocations: 162.4 kB / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.434e-06/0.3081, allocations: 0 / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3081, allocations: 0 / 1.069 GB, free: 9.383 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.514e-05/0.3081, allocations: 7.922 kB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002268/0.3084, allocations: 197.6 kB / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3084, allocations: 0 / 1.069 GB, free: 9.133 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001553/0.3085, allocations: 23.97 kB / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.983e-06/0.3085, allocations: 0 / 1.069 GB, free: 9.109 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.27e-05/0.3086, allocations: 7.984 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3086, allocations: 4 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3086, allocations: 0 / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004531/0.309, allocations: 247.2 kB / 1.069 GB, free: 8.84 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 5.467e-05/0.3091, allocations: 85.02 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.465e-05/0.3091, allocations: 8 kB / 1.07 GB, free: 8.73 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001421/0.3093, allocations: 7.984 kB / 1.07 GB, free: 8.723 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.768e-05/0.3094, allocations: 23.97 kB / 1.07 GB, free: 8.699 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.416e-05/0.3094, allocations: 11.88 kB / 1.07 GB, free: 8.688 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.669e-05/0.3094, allocations: 91.27 kB / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of sort global known variables: time 9e-08/0.3095, allocations: 0 / 1.07 GB, free: 8.598 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002278/0.3097, allocations: 16 kB / 1.07 GB, free: 8.582 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: 3 (max1.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.0001342/0.3098, allocations: 99.25 kB / 1.07 GB, free: 8.477 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004131/0.3102, allocations: 111.8 kB / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.3103, allocations: 0 / 1.07 GB, free: 8.367 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001886/0.3104, allocations: 55.95 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003182/0.3108, allocations: 13.95 kB / 1.07 GB, free: 8.301 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000451/0.3112, allocations: 225.4 kB / 1.07 GB, free: 8.047 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002997/0.3115, allocations: 0.6885 MB / 1.071 GB, free: 7.332 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.592e-05/0.3116, allocations: 27.42 kB / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.3116, allocations: 0 / 1.071 GB, free: 7.305 MB / 0.8262 GB Notification: Performance of Templates: time 0.00278/0.3144, allocations: 1.232 MB / 1.072 GB, free: 6.078 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.makefile (rm -f Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & ./Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches