Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger",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.004174/0.004174, allocations: 97.27 kB / 15.73 MB, free: 6.047 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.001238/0.001238, allocations: 196.8 kB / 16.68 MB, free: 5.973 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.411/1.411, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.896/2.896, allocations: 482.4 MB / 0.7548 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003202/0.003202, allocations: 71.89 kB / 1.083 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2976/0.3008, allocations: 162.2 MB / 1.241 GB, free: 10.26 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger): time 0.001762/0.3026, allocations: 0.6218 MB / 1.242 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.0001216/0.3027, allocations: 7.938 kB / 1.242 GB, free: 9.629 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.664e-05/0.3028, allocations: 4 kB / 1.242 GB, free: 9.625 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 7.377e-05/0.3029, allocations: 3.938 kB / 1.242 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 2.367e-05/0.3029, allocations: 0 / 1.242 GB, free: 9.621 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 6.159e-05/0.303, allocations: 11.98 kB / 1.242 GB, free: 9.609 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 7.774e-05/0.303, allocations: 27.92 kB / 1.242 GB, free: 9.582 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.3032, allocations: 31.97 kB / 1.242 GB, free: 9.551 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.7e-05/0.3032, allocations: 15.94 kB / 1.242 GB, free: 9.535 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.02e-05/0.3032, allocations: 15.92 kB / 1.242 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 1.679e-05/0.3033, allocations: 0 / 1.242 GB, free: 9.52 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 1.356e-05/0.3033, allocations: 4 kB / 1.242 GB, free: 9.516 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.3033, allocations: 8 kB / 1.242 GB, free: 9.508 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 3.276e-05/0.3034, allocations: 15.88 kB / 1.242 GB, free: 9.492 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001063/0.3035, allocations: 51.73 kB / 1.242 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.3035, allocations: 0 / 1.242 GB, free: 9.441 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.925e-06/0.3035, allocations: 8 kB / 1.242 GB, free: 9.434 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 3.827e-06/0.3035, allocations: 3.938 kB / 1.242 GB, free: 9.43 MB / 0.9981 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.0003593/0.3039, allocations: 347.3 kB / 1.243 GB, free: 9.039 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.3039, allocations: 12.03 kB / 1.243 GB, free: 9.027 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.581e-05/0.304, allocations: 34.75 kB / 1.243 GB, free: 8.984 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.304, allocations: 8.891 kB / 1.243 GB, free: 8.977 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002057/0.3042, allocations: 180.2 kB / 1.243 GB, free: 8.762 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.055e-05/0.3042, allocations: 4.375 kB / 1.243 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.028e-05/0.3042, allocations: 4.375 kB / 1.243 GB, free: 8.754 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001506/0.3044, allocations: 78.22 kB / 1.243 GB, free: 8.672 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.367e-06/0.3044, allocations: 7.938 kB / 1.243 GB, free: 8.664 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.3044, allocations: 4 kB / 1.243 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.3044, allocations: 0 / 1.243 GB, free: 8.66 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.008e-05/0.3045, allocations: 51.91 kB / 1.243 GB, free: 8.609 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005123/0.305, allocations: 483.1 kB / 1.243 GB, free: 8.086 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 9.955e-05/0.3051, allocations: 173.1 kB / 1.244 GB, free: 7.906 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.728e-05/0.3052, allocations: 80.14 kB / 1.244 GB, free: 7.824 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.001e-05/0.3052, allocations: 79.28 kB / 1.244 GB, free: 7.746 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.747e-05/0.3053, allocations: 105.8 kB / 1.244 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.3053, allocations: 0 / 1.244 GB, free: 7.633 MB / 0.9981 GB Notification: Performance of matching and sorting (n=0): time 7.499e-05/0.3054, allocations: 41.53 kB / 1.244 GB, free: 7.586 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.083e-05/0.3055, allocations: 134.6 kB / 1.244 GB, free: 7.441 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001772/0.3057, allocations: 167.2 kB / 1.244 GB, free: 7.27 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.665e-05/0.3057, allocations: 29.7 kB / 1.244 GB, free: 7.234 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 6.034e-05/0.3057, allocations: 96.08 kB / 1.244 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 4.187e-06/0.3057, allocations: 112 / 1.244 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.463e-05/0.3058, allocations: 17.66 kB / 1.244 GB, free: 7.113 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.3059, allocations: 322.8 kB / 1.245 GB, free: 6.789 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.632e-05/0.306, allocations: 4 kB / 1.245 GB, free: 6.785 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.38e-05/0.306, allocations: 11.98 kB / 1.245 GB, free: 6.773 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.193e-05/0.306, allocations: 12.86 kB / 1.245 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.306, allocations: 0 / 1.245 GB, free: 6.758 MB / 0.9981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001168/0.3061, allocations: 57.61 kB / 1.245 GB, free: 6.695 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.252e-05/0.3062, allocations: 6.031 kB / 1.245 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.877e-06/0.3062, allocations: 0 / 1.245 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.033e-05/0.3062, allocations: 0 / 1.245 GB, free: 6.691 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.42e-05/0.3062, allocations: 7.938 kB / 1.245 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.637e-06/0.3063, allocations: 0 / 1.245 GB, free: 6.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.914e-05/0.3063, allocations: 16.05 kB / 1.245 GB, free: 6.668 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.494e-06/0.3063, allocations: 0 / 1.245 GB, free: 6.668 MB / 0.9981 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 (mulMin.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.0001271/0.3064, allocations: 197.1 kB / 1.245 GB, free: 6.465 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.734e-05/0.3065, allocations: 112.9 kB / 1.245 GB, free: 6.348 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.377e-05/0.3066, allocations: 116.8 kB / 1.245 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.117e-05/0.3067, allocations: 180.2 kB / 1.245 GB, free: 6.039 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.411e-05/0.3068, allocations: 188.2 kB / 1.245 GB, free: 5.848 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.402e-05/0.3069, allocations: 176.3 kB / 1.246 GB, free: 5.668 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.3072, allocations: 413.2 kB / 1.246 GB, free: 5.207 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.668e-05/0.3072, allocations: 116.9 kB / 1.246 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.523e-05/0.3073, allocations: 105 kB / 1.246 GB, free: 4.977 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.444e-05/0.3074, allocations: 184.2 kB / 1.246 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-05/0.3074, allocations: 176.3 kB / 1.247 GB, free: 4.609 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.138e-05/0.3075, allocations: 184.2 kB / 1.247 GB, free: 4.422 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.451e-05/0.3076, allocations: 180.4 kB / 1.247 GB, free: 4.238 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001724/0.3078, allocations: 315.8 kB / 1.247 GB, free: 3.906 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001074/0.3079, allocations: 186 kB / 1.247 GB, free: 3.699 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.945e-05/0.308, allocations: 184.2 kB / 1.248 GB, free: 3.512 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.3081, allocations: 112.9 kB / 1.248 GB, free: 3.395 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.294e-05/0.3082, allocations: 176.3 kB / 1.248 GB, free: 3.215 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.486e-05/0.3082, allocations: 104.9 kB / 1.248 GB, free: 3.105 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000121/0.3084, allocations: 139.2 kB / 1.248 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3084, allocations: 0 / 1.248 GB, free: 2.969 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0002381/0.3086, allocations: 4 kB / 1.248 GB, free: 2.965 MB / 0.9981 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.0004654/0.3091, allocations: 0.8203 MB / 1.249 GB, free: 2.117 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 5.991e-05/0.3092, allocations: 11.94 kB / 1.249 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.3092, allocations: 0 / 1.249 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.653e-06/0.3092, allocations: 0 / 1.249 GB, free: 2.105 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004361/0.3096, allocations: 467.6 kB / 1.249 GB, free: 1.645 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.3109, allocations: 1.492 MB / 1.251 GB, free: 76 kB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.462/0.7729, allocations: 0.6797 MB / 1.251 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 3.601e-05/0.773, allocations: 6.578 kB / 1.251 GB, free: 14.68 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.7731, allocations: 14.53 kB / 1.252 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of SimCode: time 1.212e-06/0.7731, allocations: 0.625 kB / 1.252 GB, free: 14.67 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02161/0.7947, allocations: 1.573 MB / 1.253 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.406/8.201, allocations: 16.66 kB / 1.253 GB, free: 14.38 MB / 0.9981 GB (rm -f Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; mkfifo Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe >> ../files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMinInteger.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMinInteger.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches