Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.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: translateModel(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mulMax.y",fileNamePrefix="Buildings_latest_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_latest_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.001334/0.001334, allocations: 105.3 kB / 16.27 MB, free: 6.414 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.001216/0.001216, allocations: 189.8 kB / 17.2 MB, free: 5.953 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.358/1.358, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.588/2.588, allocations: 469.4 MB / 0.7427 GB, free: 3.652 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001412/0.001413, allocations: 68.31 kB / 0.9088 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2946/0.2961, allocations: 159.1 MB / 1.064 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.00215/0.2982, allocations: 0.6081 MB / 1.065 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.0001425/0.2984, allocations: 11.94 kB / 1.065 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.812e-05/0.2985, allocations: 4 kB / 1.065 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 8.162e-05/0.2986, allocations: 3.938 kB / 1.065 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 2.718e-05/0.2986, allocations: 0 / 1.065 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 7.602e-05/0.2987, allocations: 4 kB / 1.065 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 8.162e-05/0.2988, allocations: 19.98 kB / 1.065 GB, free: 14.35 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001487/0.299, allocations: 35.98 kB / 1.065 GB, free: 14.32 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.541e-05/0.299, allocations: 19.92 kB / 1.065 GB, free: 14.3 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.237e-05/0.2991, allocations: 23.86 kB / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.797e-05/0.2991, allocations: 0 / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 1.274e-05/0.2991, allocations: 4 kB / 1.065 GB, free: 14.27 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.964e-05/0.2991, allocations: 8 kB / 1.065 GB, free: 14.26 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.218e-05/0.2992, allocations: 19.86 kB / 1.065 GB, free: 14.24 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 9.482e-05/0.2993, allocations: 43.81 kB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.2993, allocations: 0 / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2993, allocations: 4 kB / 1.065 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.2993, allocations: 0 / 1.065 GB, free: 14.2 MB / 0.8419 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.0003328/0.2996, allocations: 347.7 kB / 1.065 GB, free: 13.8 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.2997, allocations: 16.03 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.749e-05/0.2997, allocations: 4.844 kB / 1.065 GB, free: 13.79 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001671/0.2999, allocations: 180.3 kB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.041e-05/0.2999, allocations: 4.375 kB / 1.066 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.079e-05/0.2999, allocations: 4.359 kB / 1.066 GB, free: 13.56 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.3001, allocations: 86.16 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.284e-06/0.3001, allocations: 4.125 kB / 1.066 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.3002, allocations: 3.938 kB / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3002, allocations: 0 / 1.066 GB, free: 13.46 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.569e-05/0.3002, allocations: 55.91 kB / 1.066 GB, free: 13.41 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004716/0.3007, allocations: 483.1 kB / 1.066 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 7.959e-05/0.3008, allocations: 165.1 kB / 1.066 GB, free: 12.71 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.527e-05/0.3009, allocations: 84.14 kB / 1.066 GB, free: 12.63 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.3009, allocations: 75.28 kB / 1.066 GB, free: 12.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.936e-05/0.3009, allocations: 113.8 kB / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.3009, allocations: 0 / 1.067 GB, free: 12.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.597e-05/0.301, allocations: 33.55 kB / 1.067 GB, free: 12.39 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.413e-05/0.3011, allocations: 126.7 kB / 1.067 GB, free: 12.26 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000171/0.3013, allocations: 175.5 kB / 1.067 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.168e-05/0.3013, allocations: 25.7 kB / 1.067 GB, free: 12.05 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 5.154e-05/0.3013, allocations: 96.12 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-06/0.3014, allocations: 4 kB / 1.067 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.514e-05/0.3014, allocations: 17.62 kB / 1.067 GB, free: 11.92 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001157/0.3015, allocations: 318.8 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.864e-05/0.3015, allocations: 4 kB / 1.067 GB, free: 11.6 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.551e-05/0.3016, allocations: 7.984 kB / 1.067 GB, free: 11.59 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.635e-05/0.3016, allocations: 16.86 kB / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.3016, allocations: 0 / 1.067 GB, free: 11.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.000129/0.3018, allocations: 61.67 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.3018, allocations: 5.562 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.3018, allocations: 4 kB / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.3018, allocations: 112 / 1.067 GB, free: 11.5 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.389e-05/0.3019, allocations: 3.938 kB / 1.067 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.3019, allocations: 3.938 kB / 1.067 GB, free: 11.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.933e-05/0.3019, allocations: 11.84 kB / 1.067 GB, free: 11.48 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.05e-05/0.302, allocations: 4 kB / 1.067 GB, free: 11.47 MB / 0.8419 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.0001487/0.3021, allocations: 197.1 kB / 1.068 GB, free: 11.27 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.95e-05/0.3022, allocations: 108.9 kB / 1.068 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.462e-05/0.3023, allocations: 112.8 kB / 1.068 GB, free: 11.04 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.7e-05/0.3023, allocations: 180.3 kB / 1.068 GB, free: 10.85 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.322e-05/0.3024, allocations: 184.1 kB / 1.068 GB, free: 10.66 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.984e-05/0.3025, allocations: 180.3 kB / 1.068 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002969/0.3028, allocations: 425.1 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001024/0.3029, allocations: 105 kB / 1.069 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.747e-05/0.303, allocations: 101 kB / 1.069 GB, free: 9.793 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001199/0.3031, allocations: 184.2 kB / 1.069 GB, free: 9.605 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001248/0.3032, allocations: 180.3 kB / 1.069 GB, free: 9.422 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.162e-05/0.3033, allocations: 180.2 kB / 1.069 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.578e-05/0.3034, allocations: 184.2 kB / 1.07 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001585/0.3035, allocations: 315.7 kB / 1.07 GB, free: 8.719 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 9.235e-05/0.3036, allocations: 186.3 kB / 1.07 GB, free: 8.512 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.49e-05/0.3037, allocations: 192.1 kB / 1.07 GB, free: 8.316 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.983e-05/0.3038, allocations: 105 kB / 1.07 GB, free: 8.207 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.161e-05/0.3039, allocations: 188.2 kB / 1.071 GB, free: 8.016 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/0.304, allocations: 104.9 kB / 1.071 GB, free: 7.906 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0001079/0.3041, allocations: 131.2 kB / 1.071 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.11e-07/0.3041, allocations: 0 / 1.071 GB, free: 7.777 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002713/0.3044, allocations: 4 kB / 1.071 GB, free: 7.773 MB / 0.8419 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.0001504/0.3045, allocations: 179.1 kB / 1.071 GB, free: 7.59 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 7.558e-05/0.3046, allocations: 7.984 kB / 1.071 GB, free: 7.582 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3046, allocations: 0 / 1.071 GB, free: 7.582 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.853e-06/0.3046, allocations: 0 / 1.071 GB, free: 7.582 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004652/0.3051, allocations: 465.5 kB / 1.071 GB, free: 7.125 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.3054, allocations: 230.1 kB / 1.072 GB, free: 6.867 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.3057, allocations: 0.6883 MB / 1.072 GB, free: 6.152 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.874e-05/0.3058, allocations: 11.44 kB / 1.072 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/0.3058, allocations: 0 / 1.072 GB, free: 6.141 MB / 0.8419 GB Notification: Performance of Templates: time 0.002106/0.3079, allocations: 0.7463 MB / 1.073 GB, free: 5.398 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.makefile (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.sim & ./Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches