Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_9_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.005899/0.005899, allocations: 102 kB / 15.73 MB, free: 6.477 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.00248/0.00248, allocations: 195.6 kB / 16.67 MB, free: 6.391 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.403/1.403, allocations: 222.9 MB / 240.4 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.45/2.45, allocations: 390.3 MB / 0.6648 GB, free: 236 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 68.31 kB / 0.9504 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2866/0.2879, allocations: 140.4 MB / 1.087 GB, free: 2.02 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002094/0.29, allocations: 0.7736 MB / 1.088 GB, free: 1.246 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001149/0.2912, allocations: 0.8701 MB / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.661e-05/0.2913, allocations: 0 / 1.089 GB, free: 372 kB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 4.113e-05/0.2913, allocations: 3.938 kB / 1.089 GB, free: 368 kB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.971e-05/0.2914, allocations: 11.88 kB / 1.089 GB, free: 356 kB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.00022/0.2917, allocations: 47.88 kB / 1.089 GB, free: 308 kB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001563/0.2918, allocations: 79.89 kB / 1.089 GB, free: 228 kB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001469/0.292, allocations: 27.97 kB / 1.089 GB, free: 200 kB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001092/0.2921, allocations: 39.84 kB / 1.089 GB, free: 160 kB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 9.402e-05/0.2922, allocations: 51.75 kB / 1.089 GB, free: 108 kB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.676e-05/0.2922, allocations: 12 kB / 1.089 GB, free: 96 kB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 2.047e-05/0.2923, allocations: 8 kB / 1.089 GB, free: 88 kB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.023e-05/0.2923, allocations: 19.92 kB / 1.089 GB, free: 68 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 5.866e-05/0.2924, allocations: 35.8 kB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001638/0.2925, allocations: 87.8 kB / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2926, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2926, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.247e-05/0.2926, allocations: 0 / 1.089 GB, free: 15.94 MB / 0.8575 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.0007047/0.2933, allocations: 390.9 kB / 1.09 GB, free: 15.52 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.729e-05/0.2933, allocations: 8.031 kB / 1.09 GB, free: 15.51 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.813e-05/0.2934, allocations: 42.73 kB / 1.09 GB, free: 15.46 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.136e-05/0.2934, allocations: 12.84 kB / 1.09 GB, free: 15.45 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.2936, allocations: 188.1 kB / 1.09 GB, free: 15.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.2936, allocations: 4.375 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.173e-05/0.2937, allocations: 8.125 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003601/0.294, allocations: 101.6 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.528e-06/0.2941, allocations: 4 kB / 1.09 GB, free: 15.11 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.67e-05/0.2941, allocations: 4 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.2941, allocations: 3.938 kB / 1.09 GB, free: 15.1 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000382/0.2945, allocations: 95.89 kB / 1.09 GB, free: 15 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005528/0.295, allocations: 344.6 kB / 1.091 GB, free: 14.62 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006334/0.2957, allocations: 122.6 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002065/0.2959, allocations: 60.69 kB / 1.091 GB, free: 14.43 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.413e-05/0.2959, allocations: 3.984 kB / 1.091 GB, free: 14.42 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.272e-05/0.296, allocations: 38.56 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=7): time 1.503e-06/0.296, allocations: 0 / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.0007101/0.2967, allocations: 173.5 kB / 1.091 GB, free: 14.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.2967, allocations: 59.39 kB / 1.091 GB, free: 14.13 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001092/0.2969, allocations: 121.8 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.731e-05/0.2969, allocations: 29.7 kB / 1.091 GB, free: 13.96 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.113e-05/0.297, allocations: 99.97 kB / 1.091 GB, free: 13.86 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.94e-05/0.297, allocations: 15.81 kB / 1.091 GB, free: 13.85 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.662e-05/0.2971, allocations: 25.7 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001337/0.2972, allocations: 314.8 kB / 1.092 GB, free: 13.5 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002074/0.2974, allocations: 51.88 kB / 1.092 GB, free: 13.45 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000182/0.2976, allocations: 47.95 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.298, allocations: 101.2 kB / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.298, allocations: 0 / 1.092 GB, free: 13.3 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004404/0.2984, allocations: 141.5 kB / 1.092 GB, free: 13.16 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.14e-05/0.2985, allocations: 8 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.2985, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.612e-05/0.2985, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.2987, allocations: 27.91 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.034e-05/0.2987, allocations: 3.938 kB / 1.092 GB, free: 13.12 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001246/0.2988, allocations: 15.92 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.2989, allocations: 3.984 kB / 1.092 GB, free: 13.1 MB / 0.8575 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 0.00011/0.299, allocations: 117.8 kB / 1.092 GB, free: 12.97 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.598e-05/0.299, allocations: 11.84 kB / 1.092 GB, free: 12.96 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004899/0.2995, allocations: 150 kB / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.187e-06/0.2995, allocations: 0 / 1.092 GB, free: 12.81 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.2995, allocations: 3.938 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2996, allocations: 4 kB / 1.092 GB, free: 12.8 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.2998, allocations: 201.6 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.2998, allocations: 0 / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001659/0.2999, allocations: 27.91 kB / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/0.3, allocations: 0 / 1.093 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.3, allocations: 3.984 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.386e-06/0.3, allocations: 4 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.494e-06/0.3, allocations: 3.938 kB / 1.093 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004715/0.3005, allocations: 236.8 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 4.253e-05/0.3005, allocations: 85.02 kB / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.81e-05/0.3005, allocations: 0 / 1.093 GB, free: 12.17 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001457/0.3007, allocations: 11.98 kB / 1.093 GB, free: 12.16 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.833e-05/0.3008, allocations: 27.91 kB / 1.093 GB, free: 12.13 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-06/0.3008, allocations: 7.938 kB / 1.093 GB, free: 12.12 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.484e-05/0.3009, allocations: 95.27 kB / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3009, allocations: 0 / 1.093 GB, free: 12.03 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002362/0.3011, allocations: 16 kB / 1.093 GB, free: 12.01 MB / 0.8575 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.0007774/0.3019, allocations: 0.7747 MB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0004675/0.3024, allocations: 107.8 kB / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3024, allocations: 0 / 1.094 GB, free: 11.11 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0002118/0.3026, allocations: 59.95 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.3029, allocations: 17.48 kB / 1.094 GB, free: 11.03 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002149/0.3051, allocations: 1.534 MB / 1.095 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00025/0.3054, allocations: 0.6962 MB / 1.096 GB, free: 8.691 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.344e-05/0.3054, allocations: 11.75 kB / 1.096 GB, free: 8.68 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.289e-05/0.3055, allocations: 31.42 kB / 1.096 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of SimCode: time 1.833e-06/0.3055, allocations: 0 / 1.096 GB, free: 8.648 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0197/0.3252, allocations: 2.696 MB / 1.099 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.954/8.279, allocations: 4.062 kB / 1.099 GB, free: 6.043 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches