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: "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger,fileNamePrefix="Buildings_11_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.008227/0.008227, allocations: 98.27 kB / 15.73 MB, free: 6.043 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.002237/0.002237, allocations: 200.5 kB / 16.68 MB, free: 5.965 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.459/1.459, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.866/2.866, allocations: 469.8 MB / 0.7425 GB, free: 7.293 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001886/0.001886, allocations: 59.91 kB / 1.065 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2907/0.2926, allocations: 159.1 MB / 1.22 GB, free: 14.33 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger): time 0.001633/0.2943, allocations: 0.6184 MB / 1.221 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001221/0.2944, allocations: 11.92 kB / 1.221 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.26e-05/0.2945, allocations: 4 kB / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 8.516e-05/0.2945, allocations: 0 / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 2.95e-05/0.2946, allocations: 3.938 kB / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.882e-05/0.2947, allocations: 0 / 1.221 GB, free: 13.69 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.782e-05/0.2948, allocations: 27.92 kB / 1.221 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001229/0.2949, allocations: 27.98 kB / 1.221 GB, free: 13.63 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.877e-05/0.2949, allocations: 19.92 kB / 1.221 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.938e-05/0.295, allocations: 15.94 kB / 1.221 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.69e-05/0.295, allocations: 0 / 1.221 GB, free: 13.6 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.172e-05/0.295, allocations: 4 kB / 1.221 GB, free: 13.59 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 3.205e-05/0.295, allocations: 15.92 kB / 1.221 GB, free: 13.58 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 4.032e-05/0.2951, allocations: 23.86 kB / 1.221 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 9.787e-05/0.2952, allocations: 47.69 kB / 1.221 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.2952, allocations: 8 kB / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.192e-06/0.2952, allocations: 0 / 1.221 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 3.887e-06/0.2952, allocations: 0 / 1.221 GB, free: 13.5 MB / 0.9825 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.0003688/0.2956, allocations: 339.4 kB / 1.221 GB, free: 13.12 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.567e-05/0.2956, allocations: 16.03 kB / 1.221 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.149e-05/0.2957, allocations: 38.73 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.429e-05/0.2957, allocations: 8.891 kB / 1.221 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000196/0.2959, allocations: 180.3 kB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.807e-06/0.2959, allocations: 384 / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.2959, allocations: 4.375 kB / 1.222 GB, free: 12.83 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001503/0.2961, allocations: 86.11 kB / 1.222 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2961, allocations: 3.938 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/0.2961, allocations: 3.984 kB / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2961, allocations: 0 / 1.222 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.452e-05/0.2962, allocations: 51.97 kB / 1.222 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000512/0.2967, allocations: 487.1 kB / 1.222 GB, free: 12.15 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001013/0.2969, allocations: 169.1 kB / 1.222 GB, free: 11.98 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.883e-05/0.2969, allocations: 80.14 kB / 1.222 GB, free: 11.89 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.557e-05/0.2969, allocations: 79.28 kB / 1.222 GB, free: 11.82 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.696e-05/0.297, allocations: 109.8 kB / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.297, allocations: 0 / 1.223 GB, free: 11.7 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.494e-05/0.2971, allocations: 33.64 kB / 1.223 GB, free: 11.66 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.128e-05/0.2972, allocations: 130.6 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.2974, allocations: 171.5 kB / 1.223 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.469e-05/0.2974, allocations: 25.7 kB / 1.223 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 6.457e-05/0.2975, allocations: 100.1 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 6.202e-06/0.2975, allocations: 7.984 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.324e-05/0.2975, allocations: 9.719 kB / 1.223 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001442/0.2977, allocations: 318.8 kB / 1.223 GB, free: 10.87 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.035e-05/0.2977, allocations: 7.984 kB / 1.223 GB, free: 10.86 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.72e-05/0.2977, allocations: 12.11 kB / 1.223 GB, free: 10.85 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.355e-05/0.2978, allocations: 16.78 kB / 1.223 GB, free: 10.83 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.2978, allocations: 8 kB / 1.223 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001137/0.2979, allocations: 49.69 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.313e-05/0.2979, allocations: 4 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.527e-06/0.2979, allocations: 0 / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.224e-05/0.2979, allocations: 3.984 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.415e-05/0.298, allocations: 7.938 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.298, allocations: 3.938 kB / 1.223 GB, free: 10.75 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.779e-05/0.298, allocations: 7.953 kB / 1.223 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.689e-06/0.2981, allocations: 4 kB / 1.223 GB, free: 10.73 MB / 0.9825 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.2982, allocations: 197.7 kB / 1.224 GB, free: 10.53 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.478e-05/0.2983, allocations: 112.9 kB / 1.224 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.619e-05/0.2983, allocations: 112.9 kB / 1.224 GB, free: 10.3 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.731e-05/0.2984, allocations: 184.2 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.999e-05/0.2985, allocations: 180.2 kB / 1.224 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001115/0.2986, allocations: 184.2 kB / 1.224 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.2989, allocations: 425.1 kB / 1.225 GB, free: 9.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.345e-05/0.299, allocations: 101 kB / 1.225 GB, free: 9.16 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.055e-05/0.299, allocations: 105 kB / 1.225 GB, free: 9.051 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.005e-05/0.2991, allocations: 184.2 kB / 1.225 GB, free: 8.863 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.483e-05/0.2992, allocations: 180.3 kB / 1.225 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.296e-05/0.2993, allocations: 188.1 kB / 1.225 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.018e-05/0.2994, allocations: 180.5 kB / 1.226 GB, free: 8.305 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00016/0.2995, allocations: 307.8 kB / 1.226 GB, free: 7.98 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001014/0.2996, allocations: 190 kB / 1.226 GB, free: 7.77 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.554e-05/0.2997, allocations: 188.2 kB / 1.226 GB, free: 7.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.502e-05/0.2998, allocations: 108.9 kB / 1.226 GB, free: 7.465 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.321e-05/0.2999, allocations: 176.3 kB / 1.227 GB, free: 7.285 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.237e-05/0.3, allocations: 108.9 kB / 1.227 GB, free: 7.172 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001113/0.3001, allocations: 137 kB / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3001, allocations: 0 / 1.227 GB, free: 7.039 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002263/0.3003, allocations: 4 kB / 1.227 GB, free: 7.035 MB / 0.9825 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.0004744/0.3008, allocations: 0.8087 MB / 1.228 GB, free: 6.199 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 6.338e-05/0.3009, allocations: 11.92 kB / 1.228 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.3009, allocations: 0 / 1.228 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.939e-06/0.3009, allocations: 0 / 1.228 GB, free: 6.188 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004342/0.3013, allocations: 472.8 kB / 1.228 GB, free: 5.723 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0013/0.3026, allocations: 1.491 MB / 1.23 GB, free: 4.152 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.303, allocations: 0.6846 MB / 1.23 GB, free: 3.441 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.532e-05/0.303, allocations: 8 kB / 1.23 GB, free: 3.434 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.3031, allocations: 15.42 kB / 1.23 GB, free: 3.418 MB / 0.9825 GB Notification: Performance of SimCode: time 3.01e-07/0.3031, allocations: 4.031 kB / 1.23 GB, free: 3.414 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02329/0.3264, allocations: 1.594 MB / 1.232 GB, free: 1.969 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.919/8.245, allocations: 0 / 1.232 GB, free: 1.969 MB / 0.9825 GB (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 & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Templates_Plants_Controls_Utilities_Validation_MultiMaxInteger.fmu > Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Templates.Plants.Controls.Utilities.Validation.MultiMaxInteger_res.csv","/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