Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.Max,fileNamePrefix="Buildings_latest_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.001279/0.001279, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001366/0.001366, allocations: 194.6 kB / 16.53 MB, free: 6.664 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.289/1.289, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.602/2.602, allocations: 469.4 MB / 0.742 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001224/0.001224, allocations: 64.67 kB / 0.9083 GB, free: 34.45 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.275/0.2763, allocations: 159.1 MB / 1.064 GB, free: 14.54 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.Max): time 0.002237/0.2785, allocations: 0.7745 MB / 1.064 GB, free: 13.75 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001045/0.2796, allocations: 0.8717 MB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.301e-05/0.2797, allocations: 0 / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.82e-05/0.2798, allocations: 7.875 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.267e-05/0.2799, allocations: 7.938 kB / 1.065 GB, free: 12.86 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.28, allocations: 43.88 kB / 1.065 GB, free: 12.81 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001191/0.2802, allocations: 79.89 kB / 1.065 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001289/0.2803, allocations: 31.92 kB / 1.065 GB, free: 12.7 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.186e-05/0.2804, allocations: 43.78 kB / 1.066 GB, free: 12.66 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 8.55e-05/0.2805, allocations: 43.83 kB / 1.066 GB, free: 12.62 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.838e-05/0.2805, allocations: 8 kB / 1.066 GB, free: 12.61 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.826e-05/0.2806, allocations: 8 kB / 1.066 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.254e-05/0.2806, allocations: 27.89 kB / 1.066 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 4.569e-05/0.2806, allocations: 35.8 kB / 1.066 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.000194/0.2808, allocations: 79.73 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.2809, allocations: 3.984 kB / 1.066 GB, free: 12.46 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.492e-06/0.2809, allocations: 4 kB / 1.066 GB, free: 12.45 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.2809, allocations: 4 kB / 1.066 GB, free: 12.45 MB / 0.8262 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.0006249/0.2815, allocations: 387.5 kB / 1.066 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.2816, allocations: 12.02 kB / 1.066 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.429e-05/0.2816, allocations: 34.75 kB / 1.066 GB, free: 11.97 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.51e-05/0.2816, allocations: 8.844 kB / 1.066 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.2818, allocations: 184.2 kB / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.725e-05/0.2818, allocations: 384 / 1.066 GB, free: 11.74 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.896e-05/0.2819, allocations: 12.38 kB / 1.066 GB, free: 11.73 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003273/0.2822, allocations: 109.5 kB / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.2822, allocations: 0 / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.362e-05/0.2822, allocations: 0 / 1.066 GB, free: 11.62 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.2822, allocations: 4 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003746/0.2826, allocations: 103.9 kB / 1.067 GB, free: 11.51 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005153/0.2831, allocations: 336.6 kB / 1.067 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006209/0.2838, allocations: 122.6 kB / 1.067 GB, free: 11 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.284, allocations: 52.81 kB / 1.067 GB, free: 10.95 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.683e-05/0.284, allocations: 7.938 kB / 1.067 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.772e-05/0.284, allocations: 30.56 kB / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=7): time 1.252e-06/0.284, allocations: 0 / 1.067 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7): time 0.0006709/0.2847, allocations: 189.4 kB / 1.067 GB, free: 10.71 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.168e-05/0.2848, allocations: 51.41 kB / 1.067 GB, free: 10.65 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.456e-05/0.2849, allocations: 129.7 kB / 1.067 GB, free: 10.51 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.793e-05/0.2849, allocations: 25.7 kB / 1.067 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.941e-05/0.285, allocations: 104 kB / 1.068 GB, free: 10.38 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.36e-05/0.285, allocations: 15.81 kB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.61e-05/0.285, allocations: 21.7 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000107/0.2851, allocations: 322.8 kB / 1.068 GB, free: 10.01 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000188/0.2853, allocations: 43.95 kB / 1.068 GB, free: 9.965 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001823/0.2855, allocations: 47.89 kB / 1.068 GB, free: 9.918 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003504/0.2859, allocations: 96.78 kB / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2859, allocations: 0 / 1.068 GB, free: 9.82 MB / 0.8262 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004416/0.2863, allocations: 141.5 kB / 1.068 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.33e-05/0.2864, allocations: 7.938 kB / 1.068 GB, free: 9.668 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.009e-06/0.2864, allocations: 4 kB / 1.068 GB, free: 9.664 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.2864, allocations: 4 kB / 1.068 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001681/0.2866, allocations: 23.97 kB / 1.068 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.2866, allocations: 3.938 kB / 1.068 GB, free: 9.633 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001178/0.2867, allocations: 23.89 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.235e-05/0.2867, allocations: 4 kB / 1.068 GB, free: 9.605 MB / 0.8262 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 9.206e-05/0.2868, allocations: 119.6 kB / 1.068 GB, free: 9.48 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.199e-05/0.2869, allocations: 7.906 kB / 1.068 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004661/0.2873, allocations: 149.9 kB / 1.069 GB, free: 9.32 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.549e-06/0.2874, allocations: 4 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.2874, allocations: 0 / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.2874, allocations: 3.938 kB / 1.069 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002057/0.2876, allocations: 197.5 kB / 1.069 GB, free: 9.07 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.367e-06/0.2876, allocations: 7.984 kB / 1.069 GB, free: 9.062 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001556/0.2878, allocations: 27.91 kB / 1.069 GB, free: 9.035 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.359e-06/0.2878, allocations: 4 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.021e-05/0.2878, allocations: 0 / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/0.2878, allocations: 0 / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2878, allocations: 3.938 kB / 1.069 GB, free: 9.027 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004858/0.2883, allocations: 239.9 kB / 1.069 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.214e-05/0.2883, allocations: 85.02 kB / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.2884, allocations: 0 / 1.069 GB, free: 8.676 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001488/0.2885, allocations: 15.97 kB / 1.069 GB, free: 8.66 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.503e-05/0.2886, allocations: 19.92 kB / 1.069 GB, free: 8.641 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.578e-06/0.2886, allocations: 4 kB / 1.069 GB, free: 8.637 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.393e-05/0.2887, allocations: 95.27 kB / 1.069 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2887, allocations: 8 kB / 1.069 GB, free: 8.535 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002337/0.2889, allocations: 12 kB / 1.069 GB, free: 8.523 MB / 0.8262 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.0009098/0.2899, allocations: 0.7831 MB / 1.07 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0004579/0.2903, allocations: 103.8 kB / 1.07 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.2903, allocations: 0 / 1.07 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0002218/0.2906, allocations: 63.94 kB / 1.07 GB, free: 7.551 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000342/0.2909, allocations: 11.94 kB / 1.07 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002224/0.2931, allocations: 1.537 MB / 1.072 GB, free: 5.922 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002689/0.2934, allocations: 0.6962 MB / 1.072 GB, free: 5.199 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 6.912e-05/0.2935, allocations: 15.98 kB / 1.072 GB, free: 5.184 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.012e-05/0.2936, allocations: 27.42 kB / 1.072 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of SimCode: time 3.41e-07/0.2936, allocations: 0 / 1.072 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01949/0.3131, allocations: 2.656 MB / 1.075 GB, free: 2.582 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.127/7.44, allocations: 13.77 kB / 1.075 GB, free: 2.57 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Controls_OBC_CDL_Integers_Validation_Max.fmu > Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_CDL_Integers_Validation_Max.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.CDL.Integers.Validation.Max.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches