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 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.MultiMaxInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_latest_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",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.005077/0.005077, allocations: 105.1 kB / 15.74 MB, free: 6.02 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.00152/0.00152, allocations: 192 kB / 16.68 MB, free: 5.938 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.797/2.797, allocations: 482.4 MB / 0.7548 GB, free: 6.906 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001953/0.001953, allocations: 68.81 kB / 1.083 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2745/0.2764, allocations: 162.2 MB / 1.241 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001736/0.2782, allocations: 0.6162 MB / 1.242 GB, free: 8.719 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.0001324/0.2784, allocations: 11.92 kB / 1.242 GB, free: 8.707 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.661e-05/0.2784, allocations: 4 kB / 1.242 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.269e-05/0.2785, allocations: 0 / 1.242 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 2.386e-05/0.2785, allocations: 0 / 1.242 GB, free: 8.703 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 6.27e-05/0.2786, allocations: 8 kB / 1.242 GB, free: 8.695 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.342e-05/0.2787, allocations: 27.86 kB / 1.242 GB, free: 8.668 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.2788, allocations: 35.97 kB / 1.242 GB, free: 8.633 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.488e-05/0.2789, allocations: 12 kB / 1.242 GB, free: 8.621 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.432e-05/0.2789, allocations: 19.86 kB / 1.242 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.393e-05/0.2789, allocations: 0 / 1.242 GB, free: 8.602 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 1.171e-05/0.2789, allocations: 4 kB / 1.242 GB, free: 8.598 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 2.812e-05/0.279, allocations: 11.94 kB / 1.242 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.725e-05/0.279, allocations: 19.86 kB / 1.242 GB, free: 8.566 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 9.967e-05/0.2791, allocations: 48.03 kB / 1.242 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 1.052e-05/0.2791, allocations: 0 / 1.242 GB, free: 8.52 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.162e-06/0.2791, allocations: 4 kB / 1.242 GB, free: 8.516 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.548e-06/0.2792, allocations: 4 kB / 1.242 GB, free: 8.512 MB / 0.9669 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.0003743/0.2795, allocations: 351.3 kB / 1.243 GB, free: 8.117 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.57e-05/0.2796, allocations: 15.97 kB / 1.243 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.733e-05/0.2796, allocations: 34.75 kB / 1.243 GB, free: 8.059 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.466e-05/0.2797, allocations: 8.891 kB / 1.243 GB, free: 8.051 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002087/0.2799, allocations: 172.4 kB / 1.243 GB, free: 7.844 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.088e-05/0.2799, allocations: 4.375 kB / 1.243 GB, free: 7.84 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.32e-05/0.2799, allocations: 4.375 kB / 1.243 GB, free: 7.836 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001636/0.2801, allocations: 82.16 kB / 1.243 GB, free: 7.75 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.768e-06/0.2801, allocations: 7.938 kB / 1.243 GB, free: 7.742 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.908e-06/0.2801, allocations: 4 kB / 1.243 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.2801, allocations: 0 / 1.243 GB, free: 7.738 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.182e-05/0.2802, allocations: 51.91 kB / 1.243 GB, free: 7.688 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005038/0.2807, allocations: 483.2 kB / 1.243 GB, free: 7.164 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.2808, allocations: 177.4 kB / 1.244 GB, free: 6.98 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.098e-05/0.2809, allocations: 84.17 kB / 1.244 GB, free: 6.895 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.203e-05/0.2809, allocations: 75.28 kB / 1.244 GB, free: 6.82 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.142e-05/0.281, allocations: 105.8 kB / 1.244 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=0): time 1.042e-06/0.281, allocations: 0 / 1.244 GB, free: 6.707 MB / 0.9669 GB Notification: Performance of matching and sorting (n=0): time 8.022e-05/0.2811, allocations: 45.58 kB / 1.244 GB, free: 6.656 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.613e-05/0.2811, allocations: 138.6 kB / 1.244 GB, free: 6.508 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001833/0.2813, allocations: 167.7 kB / 1.244 GB, free: 6.336 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.545e-05/0.2814, allocations: 29.7 kB / 1.244 GB, free: 6.301 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 5.644e-05/0.2814, allocations: 88.09 kB / 1.244 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.2814, allocations: 0 / 1.244 GB, free: 6.211 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.608e-05/0.2815, allocations: 17.72 kB / 1.244 GB, free: 6.188 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001405/0.2816, allocations: 318.8 kB / 1.245 GB, free: 5.867 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.691e-05/0.2816, allocations: 11.98 kB / 1.245 GB, free: 5.855 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.466e-05/0.2817, allocations: 8 kB / 1.245 GB, free: 5.848 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.832e-05/0.2817, allocations: 16.84 kB / 1.245 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.2817, allocations: 0 / 1.245 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001122/0.2818, allocations: 53.62 kB / 1.245 GB, free: 5.77 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.2819, allocations: 4 kB / 1.245 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.777e-06/0.2819, allocations: 0 / 1.245 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.061e-05/0.2819, allocations: 0 / 1.245 GB, free: 5.766 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.444e-05/0.2819, allocations: 8.047 kB / 1.245 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.328e-06/0.2819, allocations: 7.875 kB / 1.245 GB, free: 5.75 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.956e-05/0.282, allocations: 16.03 kB / 1.245 GB, free: 5.734 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/0.282, allocations: 0 / 1.245 GB, free: 5.734 MB / 0.9669 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.0001224/0.2821, allocations: 196.6 kB / 1.245 GB, free: 5.535 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.692e-05/0.2822, allocations: 112.9 kB / 1.245 GB, free: 5.418 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.49e-05/0.2823, allocations: 112.8 kB / 1.245 GB, free: 5.301 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.272e-05/0.2824, allocations: 180.2 kB / 1.245 GB, free: 5.117 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.734e-05/0.2824, allocations: 185.7 kB / 1.245 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.418e-05/0.2825, allocations: 184.2 kB / 1.246 GB, free: 4.742 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.2828, allocations: 413.2 kB / 1.246 GB, free: 4.281 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.24e-05/0.2829, allocations: 108.9 kB / 1.246 GB, free: 4.168 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.2829, allocations: 101 kB / 1.246 GB, free: 4.062 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.541e-05/0.283, allocations: 184.2 kB / 1.246 GB, free: 3.875 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.705e-05/0.2831, allocations: 184.2 kB / 1.247 GB, free: 3.688 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.21e-05/0.2832, allocations: 184.2 kB / 1.247 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.133e-05/0.2833, allocations: 180.2 kB / 1.247 GB, free: 3.316 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001646/0.2835, allocations: 307.8 kB / 1.247 GB, free: 2.992 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001049/0.2836, allocations: 194.3 kB / 1.247 GB, free: 2.777 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.238e-05/0.2837, allocations: 180.3 kB / 1.248 GB, free: 2.594 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001013/0.2838, allocations: 108.9 kB / 1.248 GB, free: 2.48 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.1e-05/0.2839, allocations: 184.3 kB / 1.248 GB, free: 2.293 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.536e-05/0.2839, allocations: 112.9 kB / 1.248 GB, free: 2.176 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001088/0.284, allocations: 128.8 kB / 1.248 GB, free: 2.051 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2841, allocations: 4 kB / 1.248 GB, free: 2.047 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002288/0.2843, allocations: 4 kB / 1.248 GB, free: 2.043 MB / 0.9669 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.0004745/0.2848, allocations: 0.8126 MB / 1.249 GB, free: 1.203 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 6.638e-05/0.2848, allocations: 15.92 kB / 1.249 GB, free: 1.188 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2848, allocations: 4.062 kB / 1.249 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.482e-06/0.2849, allocations: 0 / 1.249 GB, free: 1.184 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004463/0.2853, allocations: 467.6 kB / 1.249 GB, free: 0.7227 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001305/0.2866, allocations: 1.483 MB / 1.251 GB, free: 15.16 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003342/0.287, allocations: 0.6962 MB / 1.251 GB, free: 14.44 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.302e-05/0.287, allocations: 8 kB / 1.251 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.54e-05/0.287, allocations: 11.44 kB / 1.252 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of SimCode: time 2.5e-07/0.287, allocations: 0 / 1.252 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02173/0.3088, allocations: 1.578 MB / 1.253 GB, free: 12.99 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.42/7.729, allocations: 14.02 kB / 1.253 GB, free: 12.98 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_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_MultiMaxInteger.fmu > Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.csv","/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