Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.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.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001563/0.001563, allocations: 105 kB / 15.98 MB, free: 6.77 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.001521/0.001521, allocations: 194.2 kB / 16.91 MB, free: 6.551 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.462/1.462, allocations: 222.9 MB / 240.6 MB, free: 4.504 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.881/2.881, allocations: 469.8 MB / 0.7427 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001932, allocations: 68.25 kB / 0.9087 GB, free: 34.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2878/0.2898, allocations: 159.2 MB / 1.064 GB, free: 14.57 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.002195/0.292, allocations: 0.6735 MB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0001333/0.2922, allocations: 4 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.082e-05/0.2922, allocations: 3.938 kB / 1.065 GB, free: 13.89 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 8.602e-05/0.2923, allocations: 4 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 2.986e-05/0.2924, allocations: 3.938 kB / 1.065 GB, free: 13.88 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 7.373e-05/0.2924, allocations: 7.984 kB / 1.065 GB, free: 13.87 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.76e-05/0.2925, allocations: 24 kB / 1.065 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001302/0.2927, allocations: 27.98 kB / 1.065 GB, free: 13.82 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 3.443e-05/0.2927, allocations: 27.91 kB / 1.065 GB, free: 13.79 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.006e-05/0.2927, allocations: 11.94 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.611e-05/0.2928, allocations: 0 / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.208e-05/0.2928, allocations: 4 kB / 1.065 GB, free: 13.78 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.427e-05/0.2928, allocations: 11.98 kB / 1.065 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.2929, allocations: 15.88 kB / 1.065 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.913e-05/0.293, allocations: 35.94 kB / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.293, allocations: 0 / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.346e-06/0.293, allocations: 0 / 1.065 GB, free: 13.71 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.293, allocations: 3.938 kB / 1.065 GB, free: 13.71 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0004126/0.2934, allocations: 353.8 kB / 1.065 GB, free: 13.32 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.544e-05/0.2934, allocations: 8.031 kB / 1.065 GB, free: 13.31 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.093e-05/0.2935, allocations: 8.844 kB / 1.065 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000197/0.2937, allocations: 180.2 kB / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.061e-06/0.2937, allocations: 384 / 1.066 GB, free: 13.09 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.785e-05/0.2937, allocations: 8.375 kB / 1.066 GB, free: 13.08 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.2939, allocations: 74.22 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.2939, allocations: 4.125 kB / 1.066 GB, free: 13 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.242e-05/0.2939, allocations: 11.92 kB / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.2939, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.396e-05/0.294, allocations: 51.97 kB / 1.066 GB, free: 12.93 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005571/0.2946, allocations: 487.1 kB / 1.066 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.2947, allocations: 177.2 kB / 1.066 GB, free: 12.22 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.929e-05/0.2948, allocations: 85.92 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 4.096e-05/0.2948, allocations: 79.28 kB / 1.066 GB, free: 12.06 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.562e-05/0.2949, allocations: 105.8 kB / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.2949, allocations: 0 / 1.067 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.785e-05/0.295, allocations: 33.61 kB / 1.067 GB, free: 11.91 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.016e-05/0.2951, allocations: 134.6 kB / 1.067 GB, free: 11.76 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000187/0.2953, allocations: 171.3 kB / 1.067 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.312e-05/0.2953, allocations: 25.7 kB / 1.067 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.331e-05/0.2954, allocations: 96.14 kB / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-06/0.2954, allocations: 0 / 1.067 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.725e-05/0.2954, allocations: 21.62 kB / 1.067 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.2956, allocations: 318.8 kB / 1.067 GB, free: 11.11 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.206e-05/0.2956, allocations: 8 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.456e-05/0.2956, allocations: 7.984 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.295e-05/0.2957, allocations: 12.86 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2957, allocations: 3.984 kB / 1.067 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001208/0.2958, allocations: 57.75 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.2958, allocations: 4 kB / 1.067 GB, free: 11.01 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2958, allocations: 3.938 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.2958, allocations: 0 / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.179e-05/0.2959, allocations: 4 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.496e-06/0.2959, allocations: 3.938 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.033e-05/0.2959, allocations: 11.84 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.396e-06/0.296, allocations: 0 / 1.067 GB, free: 10.98 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: 1 (mulMax.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 0.0001254/0.2961, allocations: 197.1 kB / 1.068 GB, free: 10.78 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.047e-05/0.2962, allocations: 109 kB / 1.068 GB, free: 10.67 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.642e-05/0.2962, allocations: 116.8 kB / 1.068 GB, free: 10.55 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.413e-05/0.2963, allocations: 176.3 kB / 1.068 GB, free: 10.37 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.028e-05/0.2964, allocations: 180.2 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.325e-05/0.2965, allocations: 180.2 kB / 1.068 GB, free: 10 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000291/0.2968, allocations: 425.2 kB / 1.069 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.831e-05/0.2969, allocations: 108.9 kB / 1.069 GB, free: 9.414 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.194e-05/0.2969, allocations: 101 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.108e-05/0.297, allocations: 176.3 kB / 1.069 GB, free: 9.129 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.051e-05/0.2971, allocations: 184.2 kB / 1.069 GB, free: 8.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.061e-05/0.2972, allocations: 184.3 kB / 1.069 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.388e-05/0.2973, allocations: 200 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001672/0.2975, allocations: 304 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001181/0.2976, allocations: 197.9 kB / 1.07 GB, free: 8.012 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.345e-05/0.2977, allocations: 176.3 kB / 1.07 GB, free: 7.832 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.489e-05/0.2978, allocations: 112.9 kB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.35e-05/0.2979, allocations: 180.2 kB / 1.071 GB, free: 7.531 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-05/0.2979, allocations: 105 kB / 1.071 GB, free: 7.422 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001097/0.2981, allocations: 132.9 kB / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.31e-07/0.2981, allocations: 0 / 1.071 GB, free: 7.293 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002235/0.2983, allocations: 8 kB / 1.071 GB, free: 7.285 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.0001485/0.2984, allocations: 174.5 kB / 1.071 GB, free: 7.105 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 7.701e-05/0.2985, allocations: 15.98 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/0.2985, allocations: 0 / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.794e-06/0.2985, allocations: 0 / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005166/0.2991, allocations: 459.7 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003025/0.2994, allocations: 234.1 kB / 1.072 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003466/0.2997, allocations: 0.6934 MB / 1.072 GB, free: 5.656 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.335e-05/0.2998, allocations: 11.42 kB / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of SimCode: time 2.11e-07/0.2998, allocations: 0 / 1.072 GB, free: 5.645 MB / 0.8262 GB Notification: Performance of Templates: time 0.0022/0.302, allocations: 0.7406 MB / 1.073 GB, free: 4.906 MB / 0.8262 GB make -j1 -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile (rm -f Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches