Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Max",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.008405/0.008405, allocations: 98.52 kB / 15.73 MB, free: 5.527 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.001991/0.001991, allocations: 187.4 kB / 16.67 MB, free: 5.465 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.345/1.345, allocations: 222.9 MB / 240.4 MB, free: 4.164 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.508/2.508, allocations: 437 MB / 0.7105 GB, free: 4.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 67.89 kB / 1.018 GB, free: 15 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2801/0.2814, allocations: 151.6 MB / 1.166 GB, free: 7.266 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002044/0.2835, allocations: 0.7755 MB / 1.167 GB, free: 6.484 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.2846, allocations: 0.8701 MB / 1.168 GB, free: 5.602 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.734e-05/0.2847, allocations: 4 kB / 1.168 GB, free: 5.598 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.955e-05/0.2847, allocations: 7.875 kB / 1.168 GB, free: 5.59 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 8.775e-05/0.2848, allocations: 7.875 kB / 1.168 GB, free: 5.582 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001829/0.285, allocations: 43.95 kB / 1.168 GB, free: 5.539 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001258/0.2851, allocations: 91.75 kB / 1.168 GB, free: 5.449 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001179/0.2853, allocations: 19.98 kB / 1.168 GB, free: 5.43 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 9.497e-05/0.2854, allocations: 39.91 kB / 1.168 GB, free: 5.391 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 8.53e-05/0.2855, allocations: 47.81 kB / 1.168 GB, free: 5.344 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 2.685e-05/0.2855, allocations: 12 kB / 1.168 GB, free: 5.332 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 1.446e-05/0.2855, allocations: 8 kB / 1.168 GB, free: 5.324 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.753e-05/0.2855, allocations: 19.92 kB / 1.168 GB, free: 5.305 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 4.42e-05/0.2856, allocations: 39.77 kB / 1.168 GB, free: 5.266 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001378/0.2857, allocations: 83.95 kB / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.531e-06/0.2858, allocations: 0 / 1.168 GB, free: 5.184 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.775e-06/0.2858, allocations: 3.938 kB / 1.168 GB, free: 5.18 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2858, allocations: 7.938 kB / 1.168 GB, free: 5.172 MB / 0.92 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0006319/0.2864, allocations: 395.1 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.2865, allocations: 8.031 kB / 1.169 GB, free: 4.73 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.846e-05/0.2865, allocations: 38.73 kB / 1.169 GB, free: 4.684 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.2865, allocations: 8.891 kB / 1.169 GB, free: 4.676 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001434/0.2867, allocations: 180.3 kB / 1.169 GB, free: 4.461 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.848e-05/0.2867, allocations: 4.375 kB / 1.169 GB, free: 4.457 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.2867, allocations: 12.11 kB / 1.169 GB, free: 4.445 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003142/0.2871, allocations: 101.6 kB / 1.169 GB, free: 4.34 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.2871, allocations: 4 kB / 1.169 GB, free: 4.336 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.394e-05/0.2871, allocations: 7.938 kB / 1.169 GB, free: 4.328 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/0.2871, allocations: 7.984 kB / 1.169 GB, free: 4.32 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003791/0.2875, allocations: 91.91 kB / 1.169 GB, free: 4.23 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005467/0.2881, allocations: 344.6 kB / 1.169 GB, free: 3.844 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006672/0.2887, allocations: 130.5 kB / 1.169 GB, free: 3.707 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001997/0.2889, allocations: 48.81 kB / 1.17 GB, free: 3.656 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.222e-05/0.289, allocations: 7.938 kB / 1.17 GB, free: 3.648 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.431e-05/0.289, allocations: 34.56 kB / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 1.312e-06/0.289, allocations: 0 / 1.17 GB, free: 3.605 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.000688/0.2897, allocations: 189.4 kB / 1.17 GB, free: 3.414 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.22e-05/0.2897, allocations: 51.41 kB / 1.17 GB, free: 3.352 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.2899, allocations: 129.8 kB / 1.17 GB, free: 3.215 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.683e-05/0.2899, allocations: 25.7 kB / 1.17 GB, free: 3.184 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.482e-05/0.2899, allocations: 96.08 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.315e-05/0.29, allocations: 23.8 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.826e-05/0.29, allocations: 25.64 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.000106/0.2901, allocations: 322.8 kB / 1.17 GB, free: 2.707 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001938/0.2903, allocations: 43.95 kB / 1.17 GB, free: 2.664 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001776/0.2905, allocations: 47.95 kB / 1.17 GB, free: 2.617 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003591/0.2909, allocations: 92.78 kB / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.2909, allocations: 0 / 1.171 GB, free: 2.523 MB / 0.92 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004207/0.2913, allocations: 145.5 kB / 1.171 GB, free: 2.375 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.2914, allocations: 4 kB / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.2914, allocations: 0 / 1.171 GB, free: 2.371 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.383e-05/0.2914, allocations: 4 kB / 1.171 GB, free: 2.367 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001734/0.2916, allocations: 23.97 kB / 1.171 GB, free: 2.344 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.454e-06/0.2916, allocations: 3.938 kB / 1.171 GB, free: 2.34 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000122/0.2917, allocations: 11.98 kB / 1.171 GB, free: 2.328 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.139e-05/0.2917, allocations: 3.984 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (reaToInt1.y,reaToInt.y,max1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.48e-05/0.2918, allocations: 117.8 kB / 1.171 GB, free: 2.199 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.669e-05/0.2919, allocations: 7.953 kB / 1.171 GB, free: 2.191 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004802/0.2923, allocations: 149.9 kB / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-06/0.2924, allocations: 0 / 1.171 GB, free: 2.039 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.2924, allocations: 11.94 kB / 1.171 GB, free: 2.027 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.2924, allocations: 3.984 kB / 1.171 GB, free: 2.023 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002102/0.2926, allocations: 193.6 kB / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.2926, allocations: 0 / 1.171 GB, free: 1.785 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.2928, allocations: 23.97 kB / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.504e-06/0.2928, allocations: 0 / 1.171 GB, free: 1.762 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.238e-05/0.2928, allocations: 7.984 kB / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.2928, allocations: 0 / 1.171 GB, free: 1.754 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.2928, allocations: 7.938 kB / 1.171 GB, free: 1.746 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004576/0.2933, allocations: 240 kB / 1.171 GB, free: 1.496 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 4.445e-05/0.2933, allocations: 93 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.2933, allocations: 0 / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001476/0.2935, allocations: 11.98 kB / 1.172 GB, free: 1.375 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.457e-05/0.2936, allocations: 23.91 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.228e-06/0.2936, allocations: 8 kB / 1.172 GB, free: 1.344 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.691e-05/0.2937, allocations: 99.14 kB / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2937, allocations: 0 / 1.172 GB, free: 1.246 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002414/0.2939, allocations: 16 kB / 1.172 GB, free: 1.23 MB / 0.92 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (max1.y,reaToInt.y,reaToInt1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 7 * 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.0007779/0.2947, allocations: 0.7749 MB / 1.172 GB, free: 440 kB / 0.92 GB Notification: Performance of simCode: created initialization part: time 0.0004169/0.2951, allocations: 103.9 kB / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.2951, allocations: 0 / 1.173 GB, free: 336 kB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 0.0002136/0.2954, allocations: 67.94 kB / 1.173 GB, free: 268 kB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003157/0.2957, allocations: 18.53 kB / 1.173 GB, free: 252 kB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002024/0.2977, allocations: 1.529 MB / 1.174 GB, free: 14.63 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002383/0.298, allocations: 0.6924 MB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 6.627e-05/0.298, allocations: 8 kB / 1.175 GB, free: 13.91 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.745e-05/0.2981, allocations: 31.42 kB / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of SimCode: time 2.5e-07/0.2981, allocations: 0 / 1.175 GB, free: 13.88 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01895/0.3171, allocations: 2.701 MB / 1.178 GB, free: 11.27 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.659/7.977, allocations: 19.05 kB / 1.178 GB, free: 11.25 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches